1. 22 Aug, 2010 1 commit
    • Makefile.in (gccspec.o, cppspec.o): Update dependencies. · d9d16a19
      	* Makefile.in (gccspec.o, cppspec.o): Update dependencies.
      	* common.opt (L, nodefaultlibs, nostdlib, pg, static): New
      	options.
      	* config/avr/avr.h (LIBSTDCXX): Remove initial "-l".
      	* config/freebsd.h (MATH_LIBRARY_PROFILE): Remove initial "-l".
      	* config/i386/djgpp.h (LIBSTDCXX): Remove initial "-l".
      	* config/rs6000/aix.h (LIBSTDCXX_STATIC): Remove initial "-l".
      	* config/s390/tpf.h (MATH_LIBRARY, LIBSTDCXX): Remove initial
      	"-l".
      	* cppspec.c: Include opts.h.
      	(lang_specific_driver): Use cl_decoded_option structures.
      	* doc/tm.texi.in (MATH_LIBRARY): Update documentation.
      	* doc/tm.texi: Regenerate.
      	* gcc.c (translate_options): Translate -d to -foutput-class-dir=.
      	(driver_handle_option): Allow driver options needing no special
      	processing.
      	(process_command): Decode options before call to
      	lang_specific_driver.  Pass decoded options to
      	lang_specific_driver.
      	* gcc.h (lang_specific_driver): Update prototype.
      	* gccspec.c: Include opts.h.
      	(lang_specific_driver): Use cl_decoded_option structures.
      	* opts-common.c (option_ok_for_language, generate_option,
      	generate_option_input_file): New.
      	(decode_cmdline_option): Use option_ok_for_language.
      	(decode_cmdline_options_to_array): Use generate_option_input_file.
      	(handle_generated_option): Use generate_option.
      	* opts.h (generate_option, generate_option_input_file): Declare.
      
      cp:
      	* Make-lang.in (g++spec.o): Update dependencies.
      	* g++spec.c: Include opts.h
      	(MATH_LIBRARY, LIBSTDCXX): Remove initial "-l".
      	(lang_specific_driver): Use cl_decoded_option structures.
      
      fortran:
      	* Make-lang.in (gfortranspec.o): Update dependencies.
      	* gfortranspec.c: Include coretypes.h before gcc.h.  Include
      	opts.h.
      	(MATH_LIBRARY, FORTRAN_LIBRARY): Remove initial "-l".
      	(ADD_ARG_LIBGFORTRAN, Option, lookup_option): Remove.
      	(g77_xargc): Make unsigned.
      	(g77_xargv): Change to g77_x_decoded_options.
      	(g77_newargc): Make unsigned.
      	(g77_newargv): Change to g77_new_decoded_options.
      	(strings_same, options_same): New.
      	(append_arg): Use cl_decoded_option structures.
      	(append_option): New.
      	(add_arg_libgfortran): New.
      	(lang_specific_driver): Use cl_decoded_option structures.
      
      java:
      	* Make-lang.in (jvspec.o): Update dependencies.
      	* jvspec.c: Include opts.h.
      	(PARAM_ARG): Remove.
      	(find_spec_file): Do not add leading -specs=.
      	(lang_specific_driver): Use cl_decoded_option structures.
      	* lang.opt (C, CLASSPATH, D, bootclasspath, classpath, encoding,
      	extdirs, fmain=, s-bc-abi): New options.
      
      From-SVN: r163459
      Joseph Myers committed
  2. 28 Jul, 2010 1 commit
    • darwin-driver.c (SWITCH_TAKES_ARG, [...]): Remove. · eea13ead
      	* config/darwin-driver.c (SWITCH_TAKES_ARG,
      	WORD_SWITCH_TAKES_ARG): Remove.
      	* cppspec.c (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG): Remove.
      	* defaults.h (DEFAULT_SWITCH_TAKES_ARG,
      	DEFAULT_WORD_SWITCH_TAKES_ARG): Move from gcc.h.
      	(SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG): Move default
      	definitions from gcc.c.
      	* gcc.c (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG): Move to
      	defaults.h.
      	* gcc.h (DEFAULT_SWITCH_TAKES_ARG, DEFAULT_WORD_SWITCH_TAKES_ARG):
      	Move to defaults.h.
      	* opts-common.c: Include tm.h.
      	(decode_cmdline_option): Use SWITCH_TAKES_ARG and
      	WORD_SWITCH_TAKES_ARG to count arguments to unknown options.
      	Handle more than one argument.  Set canonical_option_num_elements.
      	(decode_cmdline_options_to_array): Set
      	canonical_option_num_elements and trailing elements of
      	canonical_option.
      	* opts.h (struct cl_decoded_option): Allow four elements in
      	canonical_option.  Add field canonical_option_num_elements.
      	* Makefile.in (opts-common.o): Update dependencies.
      
      ada:
      	* gcc-interface/misc.c (gnat_init_options): Ignore erroneous
      	options.  Check canonical_option_num_elements on options copied.
      
      fortran:
      	* gfortranspec.c (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG):
      	Remove.
      
      From-SVN: r162620
      Joseph Myers committed
  3. 28 May, 2010 2 commits
    • gcc.c: Include diagnostic.h. · 6afbc885
      	* gcc.c: Include diagnostic.h.
      	(error_count): Remove.  All users changed to use errorcount.
      	(programname): Remove.  All users changed to use progname.
      	(fancy_abort, internal_error, fatal_error, error, warning, inform,
      	fnotice): Remove.
      	(execute): Don't include "Internal error" and bug reporting
      	information in argument of internal_error call.
      	(process_command): Don't increment error_count after calling
      	perror_with_name.
      	(input_filename): Rename to gcc_input_filename.  All users
      	changed.
      	(main): Call diagnostic_initialize.  Register delete_temp_files
      	with atexit.  Use seen_error to test for errors.
      	* gcc.h: Include diagnostic-core.h.
      	(fatal_error, error, warning): Remove.
      	* Makefile.in (GCC_H): Add $(DIAGNOSTIC_CORE_H).
      	(GCC_OBJS): Add diagnostic.o, pretty-print.o and input.o.
      	(gcc.o): Update dependencies.
      
      From-SVN: r160004
      Joseph Myers committed
    • re PR driver/15303 (When gcc sees an unrecognized option, the exit status indicates success) · 2dec80c7
      	PR driver/15303
      	* gcc.c (inform, warning, inform): New functions.
      	(fatal_ice): Rename to internal_error; change cmsgid parameter to
      	gmsgid.  All callers changed.
      	(notice): Rename to fnotice; add parameter fp.  All callers
      	changed.
      	(fatal_error): Rename to fatal_signal.  All users changed.
      	(fatal): Rename to fatal_error; change cmsgid parameter to
      	gmsgid.  All callers changed.
      	(process_command): Use warning instead of error for warnings.
      	(end_going_arg): Don't use _() around argument of error.
      	(do_spec_1): Use inform for message from %n specs.  Use warning
      	instead of error for warnings.
      	(main): Use inform for comparison messages.  Use warning for
      	message about unused linker input.
      	(error): Increment error_count.  Print "error: ".
      	* gcc.h (fatal): Change to fatal_error.
      	(warning): Declare.
      	* config/darwin-driver.c (darwin_default_min_version): Use warning
      	instead of fprintf for warnings.
      	* cppspec.c (lang_specific_driver): Use fatal_error instead of
      	fatal.
      
      cp:
      	* g++spec.c (lang_specific_driver): Use fatal_error instead of
      	fatal.
      
      fortran:
      	* gfortranspec.c (append_arg, lang_specific_driver): Use
      	fatal_error instead of fatal.  Use warning instead of fprintf for
      	warnings.
      
      java:
      	* jvspec.c (lang_specific_driver): Use fatal_error instead of
      	fatal.  Use warning instead of error for warnings.
      
      From-SVN: r159986
      Joseph Myers committed
  4. 08 Apr, 2010 1 commit
    • re PR driver/42485 (-V switch broken) · 1401cf37
      2010-04-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR 42485
      	* doc/invoke.texi (-b,-V): Delete.
      	* doc/tm.texi: Do not mention -b.
      	* gcc.c (display_help): Delete -b and -V.
      	(process_command): Delete -b and -V.
      	* gcc.h (DEFAULT_SWITCH_TAKES_ARG): Delete -b and -V.
      
      From-SVN: r158134
      Manuel López-Ibáñez committed
  5. 03 Jan, 2010 1 commit
    • Pass -dumpbase and -dumpdir to gcc for LTO · d7fb0a6d
      gcc/
      
      2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR lto/41564
      	* common.opt: Add dumpdir.
      
      	* gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
      	isn't specified.
      	(option_map): Add --dumpdir.
      
      	* gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
      
      	* lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
      
      	* opts.c (decode_options): Try dump_dir_name first if
      	dump_base_name isn't an absolute path.
      	(common_handle_option): Handle OPT_dumpdir.
      
      	* toplev.c (dump_dir_name): New.
      	(print_switch_values): Also ignore -dumpdir.
      
      	* toplev.h (dump_dir_name): New.
      
      gcc/lto/
      
      2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR lto/41564
      	* lto.c (DUMPBASE_SUFFIX): New.
      	(lto_execute_ltrans): Append a sequence number to -dumpbase
      	for LTRANS.
      
      From-SVN: r155591
      H.J. Lu committed
  6. 20 Feb, 2009 1 commit
  7. 30 Oct, 2008 1 commit
  8. 21 Apr, 2008 1 commit
    • re PR fortran/35019 (Gfortran does not support "-J <dir>" only "-J<dir>") · 3d4cb550
      gcc:
      2008-04-21  Daniel Franke  <franke.daniel@gmail.com>
      
              PR fortran/35019
              * gcc.h: Added fortran options that take arguments to
              DEFAULT_SWITCH_TAKES_ARG and DEFAULT_WORD_SWITCH_TAKES_ARG
              macros.
      
      gcc/fortran:
      2008-04-21  Daniel Franke  <franke.daniel@gmail.com>
      
              PR fortran/35019
              * gfortranspec.c (lookup_option): Properly handle separated arguments
              in -J option, print missing argument message when necessary.
      
      From-SVN: r134518
      Daniel Franke committed
  9. 26 Jul, 2007 1 commit
  10. 16 Jan, 2006 1 commit
    • jvspec.c (lang_specific_spec_functions): remove · 4c360e1f
      * 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
      Rafael Espindola committed
  11. 25 Jun, 2005 1 commit
  12. 24 Nov, 2004 1 commit
    • gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add isysroot. · 479ec1d1
              PR/18555
              * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add isysroot.
              * config/darwin-c.c (darwin_register_frameworks): Use sysroot.
      
              testsuite
              * gcc.dg/cpp/isysroot-1.c: New test.
              * gcc.dg/cpp/usr/include/stdio.h: New file.
              * gcc.dg/cpp/isysroot-2.c: New test.
              * gcc.dg/cpp/System/Library/Framework/Carbon.framework/Headers/Carbon.h:
              New file.
      
      From-SVN: r91178
      Devang Patel committed
  13. 15 Oct, 2004 1 commit
    • bitmap.c, [...]: Update copyright. · f30278e8
      	* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,
      	collect2.h, conflict.c, coretypes.h, coverage.h, errors.h,
      	gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c,
      	genconstants.c, gengenrtl.c, genmodes.c, genpeep.c,
      	gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c,
      	gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c,
      	lists.c, machmode.def, mips-tdump.c, opts.h, params.c,
      	predict.def, predict.h, protoize.c, reload.h, resource.h,
      	rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c,
      	tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c,
      	unwind-sjlj.c, value-prof.h: Update copyright.
      
      From-SVN: r89097
      Kazu Hirata committed
  14. 23 Aug, 2004 1 commit
    • Makefile.in (BUILD_ERRORS): Set to build-errors. · b3d1f5b4
      	* Makefile.in (BUILD_ERRORS): Set to build-errors.
      	(errors.o): New target for host.
      	(build-errors.o): New target for build.
      	(genobjs): Replace errors.o with build-errors.
      	(gengenrtl$(buildexeext)): Add $(BUILD_ERRORS).
      	(GCOV_OBJS, GCOV_DUMP_OBJS): Add errors.o.
      	(fix-headers$(build_exeext)): Add $(BUILD_ERRORS).
      	(fix-header.o): Add errors.h
      	* collect2.c (fancy_abort): Add parameters.
      	* collect2.h (fancy_abort): Don't declare.
      	* errors.h (fancy_abort): Don't declare.
      	* errors.c: Include either bconfig.h or config.h.
      	(fancy_abort): Trim filename.
      	* fix-header.c (v_fatal, fatal): Remove.
      	(progname): Remove definition.
      	(main): Set progname here.
      	* gcc.c (fancy_abort): Add parameters.
      	* gcc.h (fancy_abort): Remove declaration.
      	* gcov.c (fancy_abort): Remove.
      	* rtl.h (fancy_abort): Don't declare.
      	(abort): Don't define.
      	* tree.h (fancy_abort): Don't declare.
      	(abort): Don't define.
      	* system.h (fancy_abort): Declare.
      	(abort): Define to fancy_abort.
      	* fixinc/Makefile.in (ALLOBJ): Add ../build-errors.o
      	* java/jv-scan.c (fancy_abort): Add.
      
      From-SVN: r86424
      Nathan Sidwell committed
  15. 05 May, 2004 1 commit
    • invoke.texi (Directory Options): Document -iquote. · 4bed3787
      	* doc/invoke.texi (Directory Options): Document -iquote.
      	* doc/cpp.texi: Likewise.
      	* doc/cppopts.texi: Likewise.
      	* c-opts.c (c_common_missing_argument): Add -iquote processing.
      	(c_common_handle_option): Likewise.
      	* c.opt (iquote): Add.
      	* gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -iquote.
      	* c-incpath.c (merge_include_chains): Update comment to use -iquote.
      
      	* c-opts.c (case OPT_I): Deprecate -I- support.
      	* doc/invoke.texi: Likewise.
      	* doc/cpp.texi: Likewise.
      	* doc/cppopts.texi: Likewise.
      
      From-SVN: r81521
      Mike Stump committed
  16. 06 Jul, 2003 1 commit
    • gcc.c: Convert prototypes to ISO C90. · 1d088dee
      	* gcc.c: Convert prototypes to ISO C90.
      	* gcc.h: Likewise.
      	* gcov-dump.c: Likewise.
      	* gcov-iov.c: Likewise.
      	* gcse.c: Likewise.
      	* genattrtab.h: Likewise.
      	* ggc.h: Likewise.
      	* global.c: Likewise.
      	* graph.c: Likewise.
      	* graph.h: Likewise.
      	* hosthooks.h: Likewise.
      	* hooks.h: Likewise.
      	* hooks.c: Likewise.
      	* hashtable.h: Likewise.
      	* hashtable.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* integrate.h: Likewise.
      	* integrate.c: Likewise.
      	* input.h: Likewise.
      	* ifcvt.c: Likewise.
      
      From-SVN: r68995
      Andreas Jaeger committed
  17. 02 May, 2003 1 commit
    • Makefile.in (TREE_H): Replace location.h with input.h. · 6060edcb
      	* Makefile.in (TREE_H): Replace location.h with input.h.
      	(GTFILES) Remove location.h
      	(gt-lists.h): Replace gt-location.h with gt-input.h
      	* input.h (input_filename, input_line): Remove variables.
      	(location_s, location_t): Move from location.h.
      	(input_location): New.
      	(input_filename, input_line): New #defines.
      	* location.h: Remove.
      	* tree.h: Replace location.h with input.h.
      	(input_filename, input_line): Remove.
      	* diagnostic.h: Replace location.h with input.h.
      	* gcc.h (input_filename, input_filename_length): Remove declarations.
      	* toplev.c (input_filename, input_line): Remove.
      	(input_location): Define.
      	(push_srcloc, pop_srcloc): Adjust.
      	* diagnostic.c (diagnostic_report_current_module): Adjust.
      f:
      	* lex.c (ffelex_file_pop_): Adjust file_stack member use.
      	(ffelex_file_push_): Likewise.
      	(ffelex_hash_): Likewise.
      java:
      	* lex.h (input_lineno): Remove declaration.
      	* parse-scan.y: #include input.h.
      	(input_filename): Remove declaration.
      	(input_location): Add definition.
      	(input_line): Remove definition.
      
      From-SVN: r66378
      Nathan Sidwell committed
  18. 10 Mar, 2003 1 commit
    • gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove. · 87d7d780
      PR/9394
              * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
              (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
              * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
              (DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
              * cppspec.c (DEFAULT_SWTICH_TAKES_ARG): Remove.
              (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
      
      cp
              * g++spec.c (lang_specific_driver): Use DEFAULT_WORD_SWITCH_TAKES_ARG.
      
      testsuite
      
              * g++.dg/cpp/c++_cmd_1.C: New test.
              * g++.dg/cpp/c++_cmd_1.h: New file.
      
      From-SVN: r64144
      Devang Patel committed
  19. 19 Nov, 2002 1 commit
    • gcc.c (The Specs Language): Document spec functions. · f3226a90
      * gcc.c (The Specs Language): Document spec functions.
      (static_spec_functions, lookup_spec_function)
      (eval_spec_function, handle_spec_function)
      (if_exists_spec_function, alloc_args): New.
      (execute): Abort if processing_spec_function is true.
      (do_spec_1): Hand off spec to handle_spec_function if %:
      is encountered.  If processing_spec_function is true,
      end any pending argument when the end of the string is reached.
      (main): Use alloc_args to allocate the initial argument vector.
      * gcc.h (struct spec_function): New.
      (lang_specific_spec_functions): New extern.
      
      * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
      (ENDFILE_SPEC): Add if-exists(crtn%O%s).
      * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
      
      * doc/invoke.texi: Document spec functions.
      
      * cppspec.c (lang_specific_spec_functions): New.
      * gccspec.c: Likewise.
      
      * g++spec.c (lang_specific_spec_functions): New.
      
      * g77spec.c (lang_specific_spec_functions): New.
      
      * jvspec.c (lang_specific_spec_functions): New.
      
      From-SVN: r59241
      Jason Thorpe committed
  20. 28 Nov, 2001 1 commit
  21. 09 Oct, 2001 1 commit
    • c-common.h: Fix comment formatting. · 2ba84f36
      	* c-common.h: Fix comment formatting.
      	* c-dump.c: Likewise.
      	* cfg.c: Likewise.
      	* diagnostic.h: Likewise.
      	* except.c: Likewise.
      	* gcc.h: Likewise.
      	* gcov-io.h: Likewise.
      	* genattrtab.c: Likewise.
      	* output.h: Likewise.
      	* predict.h: Likewise.
      	* reload1.c: Likewise.
      	* reload.h: Likewise.
      	* resource.h: Likewise.
      	* scan.h: Likewise.
      	* system.h: Likewise.
      	* tree.h: Likewise.
      	* tree-inline.c: Likewise.
      	* tsystem.h: Likewise.
      	* varasm.c: Likewise.
      	* xcoffout.h: Likewise.
      
      From-SVN: r46122
      Kazu Hirata committed
  22. 22 Aug, 2001 1 commit
    • Makefile.in, [...]: replace "GNU CC" with "GCC". · 1322177d
      	* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
      	bitmap.h, builtin-types.def, builtins.c, builtins.def,
      	c-aux-info.c, c-common.c, c-common.def, c-common.h,
      	c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
      	c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
      	c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
      	caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
      	conditions.h, config.gcc, configure.frag, configure.in,
      	conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
      	cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
      	dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
      	doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
      	dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
      	emit-rtl.c, errors.c, errors.h, except.c, except.h,
      	exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
      	fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
      	function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
      	gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
      	gencheck.c, gencodes.c, genconfig.c, genemit.c,
      	genextract.c, genflags.c, gengenrtl.c, genmultilib,
      	genopinit.c, genoutput.c, genpeep.c, genrecog.c,
      	gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
      	ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
      	graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
      	gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
      	gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
      	hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
      	integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
      	libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
      	machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
      	mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
      	mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
      	params.h, predict.c, predict.def, predict.h, prefix.c,
      	prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
      	read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
      	regclass.c, regmove.c, regrename.c, regs.h, reload.c,
      	reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
      	rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
      	sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
      	sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
      	ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
      	stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
      	tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
      	tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
      	unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
      	unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
      	xcoffout.h: replace "GNU CC" with "GCC".
      
      From-SVN: r45105
      Lars Brinkhoff committed
  23. 12 Aug, 2001 1 commit
  24. 02 Aug, 2001 1 commit
    • re PR java/227 (mips-tfile:internal error (when compiling java code)) · 578672a2
      	* gcc.c (set_collect_gcc_options): New function, split out from
      	main.
      	Ignore elided switches.
      	(do_spec_1): Invoke before executing command.
      	(set_input): Export.
      	Move declaration ...
      	* gcc.h (set_input): ... here.
      	* config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
      	file.
      
      	java:
      	* jvspec.c (jvgenmain_spec): Cannot use %umain, breaks
      	ASM_FINAL_SPEC.
      	(lang_specific_pre_link): Use set_input to set input_filename.
      	Append `main' here.
      	* jvgenmain.c (usage): Append literal `main' to CLASSNAME.
      	(main): Fix definition.
      	Strip `main' from classname.
      	Fixes PR java/227.
      
      From-SVN: r44572
      Rainer Orth committed
  25. 26 May, 2001 1 commit
  26. 18 May, 2001 1 commit
  27. 24 Feb, 2001 1 commit
  28. 02 Aug, 2000 1 commit
    • gcc.h (lang_specific_driver): Constify second argument. · 37620334
      	* gcc.h (lang_specific_driver): Constify second argument.
      	* gcc.c (translate_options, process_command, main): Likewise.
      	Constify variables to match.  Cast second argument to
      	pexecute.
      
      	* cppspec.c, gccspec.c, g++spec.c, g77spec.c, jvspec.c: Adjust
      	type of second argument to lang_specific_driver, and update
      	code as necessary.
      
      From-SVN: r35433
      Zack Weinberg committed
  29. 15 Feb, 2000 1 commit
    • Makefile.in (TREE_H, [...]): Depend on version.h. · 9f8f4efe
      	* Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
      	cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
      
      	* cccp.c: Include version.h and/or don't declare `version_string'.
      	* collect2.c: Likewise.
      	* alpha.c: Likewise.
      	* arm/aof.h: Likewise.
      	* arm/coff.h: Likewise.
      	* arm/elf.h: Likewise.
      	* arm/pe.h: Likewise.
      	* arm/tcoff.h: Likewise.
      	* arm/telf.h: Likewise.
      	* arm/tpe.h: Likewise.
      	* arm/vxarm.h: Likewise.
      	* convex/convex.c: Likewise.
      	* i386/dgux.c: Likewise.
      	* i386/sun386.h: Likewise.
      	* m88k/m88k.c: Likewise.
      	* mcore/mcore-pe.h: Likewise.
      	* mips/mips.h: Likewise.
      	* romp/romp.h: Likewise.
      	* sh/sh.c: Likewise.
      	* cpphash.c: Likewise.
      	* cppinit.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* gcc.c: Likewise.
      	* gcc.h: Likewise.
      	* mips-tfile.c: Likewise.
      	* protoize.c: Likewise.
      	* toplev.c: Likewise.
      	* tree.h: Likewise.
      
      	* version.c (version_string): Constify a char*.
      
      	* version.h: New file.
      
      ch:
      	* grant.c: Don't declare `version_string'.
      
      f:
      	* g77spec.c: Don't declare `version_string'.
      
      java:
      	* Makefile.in (jv-scan, jcf-dump, gcjh): Depend on and link with
      	version.o.
      	(jcf-dump.o, gjavah.o, jv-scan.o): Depend on version.h.
      
      	* gjavah.c: Include version.h.
      
      	* jcf-dump.c: Likewise.
      
      	* jv-scan.c: Likewise.
      
      From-SVN: r31984
      Kaveh R. Ghazi committed
  30. 13 Sep, 1999 1 commit
    • Makefile.in (gcc.o, [...]): Depend on gcc.h. · 9257393c
      	* Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
      
      	* gcc.h: New file.
      	(lang_specific_driver): Don't take a function pointer parameter.
      	All callers changed.
      
      	* gcc.c: Include gcc.h.
      	(do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
      	lang_specific_extra_outfiles, fatal): Don't declare.
      	(multilib_defaults_raw): Constify.
      	(read_specs): Call memset, rather than bzero.
      	(main): Call return, not exit.
      	(lookup_compiler): Call memcpy, not bcopy.
      	(fatal): Make extern.
      
      	* cppspec.c: Include gcc.h.
      	(lang_specific_driver): Initialize variable `quote'.  Constify a
      	char*.  All calls to the function pointer parameter now
      	explicitly call `fatal'.
      
      	* gccspec.c (lang_specific_driver): Include gcc.h.
      
      cp:
      
      	* Make-lang.in (g++spec.o): Depend on system.h and gcc.h.
      
      	* g++spec.c: Include gcc.h.
      	(lang_specific_driver): Constify a char*.  Call xcalloc, not
       	xmalloc/bzero.  All calls to the function pointer parameter now
       	explicitly call `fatal'.
      
      f:
      
      	* Make-lang.in (g77spec.o): Depend on system.h and gcc.h.
      
      	* g77spec.c: Include gcc.h.
      	(g77_xargv): Constify.
      	(g77_fn): Add parameter prototypes.
      	(lookup_option, append_arg): Add static prototypes.
      	(g77_newargv): Constify.
      	(lookup_option, append_arg, lang_specific_driver): Constify a char*.
      	(lang_specific_driver): All calls to the function pointer
       	parameter now explicitly call `fatal'.
      
      java:
      
      	* Make-lang.in (jvspec.o): Depend on system.h and gcc.h.
      
      	* jvspec.c: Include gcc.h.  Don't include gansidecl.h.
      	(do_spec, lang_specific_pre_link, lang_specific_driver,
      	input_filename, input_filename_length): Don't declare.
      	(main_class_name, jvgenmain_spec, lang_specific_driver):
      	Constify a char*.
      	(lang_specific_driver): All calls to the function pointer
      	parameter now explicitly call `fatal'.
      
      From-SVN: r29367
      Kaveh R. Ghazi committed
  31. 25 Mar, 1999 1 commit
    • gcc.c: Compile unconditionally all code formerly dependent on #ifdef LANG_SPECIFIC_DRIVER. · 08dc830e
      	* gcc.c: Compile unconditionally all code formerly dependent
      	on #ifdef LANG_SPECIFIC_DRIVER.
      	* gccspec.c: New file with stub lang_specific_driver,
      	lang_specific_pre_link.
      	* Makefile.in: Link gccspec.o into xgcc.  Add rule to compile
      	gccspec.c.
      	* cp/Make-lang.in: Remove all references to g++.o/g++.c.
      	Link g++ from gcc.o.
      	* f/Make-lang.in: Remove all references to g77.o/g77.c.
      	Link g77 from gcc.o.
      	* java/Make-lang.in: Remove all references to gcj.o/gcj.c.
      	Link gcj from gcc.o.
      
      From-SVN: r25989
      Zack Weinberg committed
  32. 18 Feb, 1999 3 commits
  33. 06 Dec, 1997 1 commit
  34. 11 Aug, 1997 1 commit
  35. 15 Jun, 1995 1 commit
  36. 13 Feb, 1994 1 commit
  37. 30 Oct, 1993 1 commit