mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 13:51:00 +08:00
jvspec.c (lang_specific_spec_functions): remove
* gcc/java/jvspec.c (lang_specific_spec_functions): remove * gcc/cppspec.c (lang_specific_spec_functions): remove * gcc/gcc.c (lookup_spec_function): use static_spec_functions directelly * gcc/gcc.h (lang_specific_spec_functions): remove * gcc/gccspec.c (lang_specific_spec_functions): remove * gcc/cp/g++spec.c (lang_specific_spec_functions): remove * gcc/fortran/gfortranspec.c (lang_specific_spec_functions): remove * gcc/treelang/spec.c (lang_specific_spec_functions): remove From-SVN: r109761
This commit is contained in:
parent
0efa4029c4
commit
4c360e1f8b
@ -1,3 +1,10 @@
|
||||
2006-01-16 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
|
||||
|
||||
* cppspec.c (lang_specific_spec_functions): remove
|
||||
* gcc.c (lookup_spec_function): use static_spec_functions directelly
|
||||
* gcc.h (lang_specific_spec_functions): remove
|
||||
* gccspec.c (lang_specific_spec_functions): remove
|
||||
|
||||
2005-01-16 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* combine.c (record_value_for_reg): Invalidate registers
|
||||
|
@ -1,3 +1,7 @@
|
||||
2006-01-16 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
|
||||
|
||||
* g++spec.c (lang_specific_spec_functions): remove
|
||||
|
||||
2006-01-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
||||
|
||||
* decl.c (check_initializer): Fix thinko.
|
||||
|
@ -343,9 +343,3 @@ int lang_specific_pre_link (void) /* Not used for C++. */
|
||||
|
||||
/* Number of extra output files that lang_specific_pre_link may generate. */
|
||||
int lang_specific_extra_outfiles = 0; /* Not used for C++. */
|
||||
|
||||
/* Table of language-specific spec functions. */
|
||||
const struct spec_function lang_specific_spec_functions[] =
|
||||
{
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
@ -208,9 +208,3 @@ int lang_specific_pre_link (void)
|
||||
|
||||
/* Number of extra output files that lang_specific_pre_link may generate. */
|
||||
int lang_specific_extra_outfiles = 0; /* Not used for cpp. */
|
||||
|
||||
/* Table of language-specific spec functions. */
|
||||
const struct spec_function lang_specific_spec_functions[] =
|
||||
{
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
@ -1,3 +1,7 @@
|
||||
2006-01-16 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
|
||||
|
||||
* gfortranspec.c (lang_specific_spec_functions): remove
|
||||
|
||||
2006-01-16 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* trans-stmt.c (gfc_trans_if_1): Use fold_buildN and build_int_cst.
|
||||
|
@ -100,8 +100,6 @@ static void append_arg (const char *);
|
||||
static int g77_newargc;
|
||||
static const char **g77_newargv;
|
||||
|
||||
const struct spec_function lang_specific_spec_functions[] = {{0,0}};
|
||||
|
||||
/* --- This comes from gcc.c (2.8.1) verbatim: */
|
||||
|
||||
/* This defines which switch letters take arguments. */
|
||||
|
15
gcc/gcc.c
15
gcc/gcc.c
@ -5353,20 +5353,11 @@ do_spec_1 (const char *spec, int inswitch, const char *soft_matched_part)
|
||||
static const struct spec_function *
|
||||
lookup_spec_function (const char *name)
|
||||
{
|
||||
static const struct spec_function * const spec_function_tables[] =
|
||||
{
|
||||
static_spec_functions,
|
||||
lang_specific_spec_functions,
|
||||
};
|
||||
const struct spec_function *sf;
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE (spec_function_tables); i++)
|
||||
{
|
||||
for (sf = spec_function_tables[i]; sf->name != NULL; sf++)
|
||||
if (strcmp (sf->name, name) == 0)
|
||||
return sf;
|
||||
}
|
||||
for (sf = static_spec_functions; sf->name != NULL; sf++)
|
||||
if (strcmp (sf->name, name) == 0)
|
||||
return sf;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
@ -75,9 +75,6 @@ extern int n_infiles;
|
||||
/* Number of extra output files that lang_specific_pre_link may generate. */
|
||||
extern int lang_specific_extra_outfiles;
|
||||
|
||||
/* Table of language-specific spec functions. */
|
||||
extern const struct spec_function lang_specific_spec_functions[];
|
||||
|
||||
/* A vector of corresponding output files is made up later. */
|
||||
|
||||
extern const char **outfiles;
|
||||
|
@ -102,9 +102,3 @@ lang_specific_pre_link (void)
|
||||
|
||||
/* Number of extra output files that lang_specific_pre_link may generate. */
|
||||
int lang_specific_extra_outfiles = 0; /* Not used for C. */
|
||||
|
||||
/* Table of language-specific spec functions. */
|
||||
const struct spec_function lang_specific_spec_functions[] =
|
||||
{
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
@ -1,3 +1,7 @@
|
||||
2006-01-16 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
|
||||
|
||||
* jvspec.c (lang_specific_spec_functions): remove
|
||||
|
||||
2006-01-06 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gcj.texi (Arrays): Added more documentation for
|
||||
|
@ -635,9 +635,3 @@ lang_specific_pre_link (void)
|
||||
}
|
||||
return err;
|
||||
}
|
||||
|
||||
/* Table of language-specific spec functions. */
|
||||
const struct spec_function lang_specific_spec_functions[] =
|
||||
{
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
@ -1,3 +1,7 @@
|
||||
2006-01-16 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
|
||||
|
||||
* spec.c (lang_specific_spec_functions): remove
|
||||
|
||||
2005-12-28 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
|
||||
|
||||
* Make-lang.in (treelang.distdir): Remove.
|
||||
|
@ -25,8 +25,6 @@ Boston, MA 02110-1301, USA. */
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
|
||||
const struct spec_function lang_specific_spec_functions[] = {{0,0}};
|
||||
|
||||
void
|
||||
lang_specific_driver (int *in_argc, const char *const **in_argv,
|
||||
int *in_added_libraries ATTRIBUTE_UNUSED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user