mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 15:11:08 +08:00
Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
gcc/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o. (gcc-options.o): New rule. * optc-gen.awk: Protect variables for gcc-options.o with #ifdef GCC_DRIVER/#endif. gcc/java/ 2006-05-16 H.J. Lu <hongjiu.lu@intel.com> * lang.opt (femit-class-file): Remove VarExists. From-SVN: r113841
This commit is contained in:
parent
2ed4b0ce33
commit
8dc3f290fe
@ -1,3 +1,11 @@
|
||||
2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
|
||||
(gcc-options.o): New rule.
|
||||
|
||||
* optc-gen.awk: Protect variables for gcc-options.o with
|
||||
#ifdef GCC_DRIVER/#endif.
|
||||
|
||||
2006-05-16 Daniel Berlin <dberlin@dberlin.org>
|
||||
|
||||
Fix PR tree-optimization/27373
|
||||
|
@ -948,7 +948,7 @@ C_TARGET_OBJS=@c_target_objs@
|
||||
CXX_TARGET_OBJS=@cxx_target_objs@
|
||||
|
||||
# Object files for gcc driver.
|
||||
GCC_OBJS = gcc.o opts-common.o options.o
|
||||
GCC_OBJS = gcc.o opts-common.o gcc-options.o
|
||||
|
||||
# Language-specific object files for C and Objective C.
|
||||
C_AND_OBJC_OBJS = attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
|
||||
@ -1754,6 +1754,9 @@ s-options-h: optionlist $(srcdir)/opt-functions.awk $(srcdir)/opth-gen.awk
|
||||
|
||||
options.o: options.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) opts.h intl.h
|
||||
|
||||
gcc-options.o: options.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) opts.h intl.h
|
||||
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(OUTPUT_OPTION) -DGCC_DRIVER options.c
|
||||
|
||||
dumpvers: dumpvers.c
|
||||
|
||||
version.o: version.c version.h $(DATESTAMP) $(BASEVER) $(DEVPHASE)
|
||||
|
@ -1,3 +1,7 @@
|
||||
2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* lang.opt (femit-class-file): Remove VarExists.
|
||||
|
||||
2006-05-16 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* verify-impl.c (verify_instructions_0) <op_return>: Special case
|
||||
|
@ -119,7 +119,7 @@ fcompile-resource=
|
||||
Java Joined RejectNegative
|
||||
|
||||
femit-class-file
|
||||
Java Var(flag_emit_class_files) VarExists
|
||||
Java Var(flag_emit_class_files)
|
||||
Output a class file
|
||||
|
||||
femit-class-files
|
||||
|
@ -62,7 +62,9 @@ for (i = 1; i <= n_headers; i++)
|
||||
print "#include " quote "opts.h" quote
|
||||
print "#include " quote "intl.h" quote
|
||||
print ""
|
||||
print "#ifdef GCC_DRIVER"
|
||||
print "int target_flags;"
|
||||
print "#endif /* GCC_DRIVER */"
|
||||
print ""
|
||||
|
||||
for (i = 0; i < n_opts; i++) {
|
||||
@ -75,6 +77,7 @@ for (i = 0; i < n_opts; i++) {
|
||||
if (name in var_seen)
|
||||
continue;
|
||||
init = ""
|
||||
gcc_driver = 1
|
||||
}
|
||||
else {
|
||||
init = opt_args("Init", flags[i])
|
||||
@ -82,11 +85,16 @@ for (i = 0; i < n_opts; i++) {
|
||||
init = " = " init;
|
||||
else if (name in var_seen)
|
||||
continue;
|
||||
gcc_driver = 0
|
||||
}
|
||||
|
||||
if (gcc_driver == 1)
|
||||
print "#ifdef GCC_DRIVER"
|
||||
print "/* Set by -" opts[i] "."
|
||||
print " " help[i] " */"
|
||||
print var_type(flags[i]) name init ";"
|
||||
if (gcc_driver == 1)
|
||||
print "#endif /* GCC_DRIVER */"
|
||||
print ""
|
||||
|
||||
var_seen[name] = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user