------- Comment #12 from hjl at gcc dot gnu dot org 2006-05-16 17:06 ------- Subject: Bug 26885
Author: hjl Date: Tue May 16 17:06:05 2006 New Revision: 113828 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113828 Log: gcc/ 2006-05-16 H.J. Lu <[EMAIL PROTECTED]> PR driver/26885 * Makefile.in (GCC_OBJS): New. (OBJS-common): Add opts-common.o. (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS). (cpp$(exeext)): Likewise. (gcc.o): Also depend on opts.h. (opts-common.o): New. * common.opt (gcoff): Add Negative(gdwarf-2). (gdwarf-2): Add Negative(gstabs). (gstabs): Add Negative(gstabs+). (gstabs+): Add Negative(gvms). (gvms): Add Negative(gxcoff). (gxcoff): Add Negative(gxcoff+). (gxcoff+): Add Negative(gcoff). * config/i386/i386.opt (m32): Add Negative(m64). (m64): Add Negative(m32). * doc/options.texi: Document the Negative option. * gcc.c: Include "opts.h". (main): Call prune_options after expandargv. * optc-gen.awk: Generate common declarations for all flag variables in options.c. Output the neg_index field. * opts.c (find_opt): Moved to ... * opts-common.c: Here. New file. * opts.h (cl_option): Add a neg_index field. (find_opt): New. (prune_options): Likewise. gcc/cp/ 2006-05-16 H.J. Lu <[EMAIL PROTECTED]> PR driver/26885 * Make-lang.in (GXX_OBJS): Replace gcc.o with $(GCC_OBJS). gcc/fortran/ 2006-05-16 H.J. Lu <[EMAIL PROTECTED]> PR driver/26885 * Make-lang.in (GFORTRAN_D_OBJS): Replace gcc.o with $(GCC_OBJS). gcc/java/ 2006-05-16 H.J. Lu <[EMAIL PROTECTED]> PR driver/26885 * Make-lang.in ($(GCJ)$(exeext)): Replace gcc.o with $(GCC_OBJS). gcc/treelang/ 2006-05-16 H.J. Lu <[EMAIL PROTECTED]> PR driver/26885 * Make-lang.in (gtreelang$(exeext)): Replace gcc.o with $(GCC_OBJS). Added: branches/gcc-4_1-branch/gcc/opts-common.c Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/Makefile.in branches/gcc-4_1-branch/gcc/common.opt branches/gcc-4_1-branch/gcc/config/i386/i386.opt branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/Make-lang.in branches/gcc-4_1-branch/gcc/doc/options.texi branches/gcc-4_1-branch/gcc/fortran/ChangeLog branches/gcc-4_1-branch/gcc/fortran/Make-lang.in branches/gcc-4_1-branch/gcc/gcc.c branches/gcc-4_1-branch/gcc/java/ChangeLog branches/gcc-4_1-branch/gcc/java/Make-lang.in branches/gcc-4_1-branch/gcc/optc-gen.awk branches/gcc-4_1-branch/gcc/opts.c branches/gcc-4_1-branch/gcc/opts.h branches/gcc-4_1-branch/gcc/treelang/ChangeLog branches/gcc-4_1-branch/gcc/treelang/Make-lang.in -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26885