1. 04 Sep, 2003 1 commit
  2. 28 Aug, 2003 1 commit
  3. 05 Aug, 2003 1 commit
    • c.opt: Introduce -fworking-directory. · b20d9f0c
      * c.opt: Introduce -fworking-directory.
      * doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it.
      * c-common.h (flag_working_directory): Declare.
      * c-common.c (flag_working_directory): Define.
      * c-opts.c (c_common_handle_options): Set it.
      (sanitize_cpp_opts): Set...
      * cpplib.h (struct cpp_options): ... working_directory option.
      (struct cpp_callbacks): Add dir_change.
      * cppinit.c (read_original_filename): Call...
      (read_original_directory): New.  Look for # 1 "directory//"
      and process it.
      (cpp_read_main_file): Call dir_change callback if working_directory
      option is set.
      * gcc.c (cpp_unique_options): Pass -g*.
      * c-lex.c (cb_dir_change): New.
      (init_c_lex): Set dir_change callback.
      * toplev.c (src_pwd): New static variable.
      (set_src_pwd, get_src_pwd): New functions.
      * toplev.h (get_src_pwd, set_src_pwd): Declare.
      * dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd().
      * dwarf2out.c (gen_compile_unit_die): Likewise.
      * dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise.
      
      From-SVN: r70189
      Alexandre Oliva committed
  4. 31 Jul, 2003 1 commit
    • Makefile.tpl (libsubdir): Use gcc instead of gcc-lib. · a8ee6e2d
      2003-07-31  Geoffrey Keating  <geoffk@apple.com>
      
      	* Makefile.tpl (libsubdir): Use gcc instead of gcc-lib.
      	* Makefine.in: Update.
      
      Index: gcc/ChangeLog
      2003-07-31  Geoffrey Keating  <geoffk@apple.com>
      
      	* Makefile.in (libexecdir): New.
      	(libsubdir): Use gcc instead of gcc-lib.
      	(libexecsubdir): New.
      	(ORDINARY_FLAGS_TO_PASS): Add libexecsubdir.
      	(DRIVER_DEFINES): Add STANDARD_LIBEXEC_PREFIX, use gcc instead of
      	gcc-lib.
      	(installdirs): Make libexecsubdir.
      	(install-common): Put executables in libexecsubdir.
      	(itoolsdir): Use libexecsubdir.
      	(itoolsdatadir): New.
      	(install-mkheaders): Separate data files and executables.
      	(install-collect2): Put executables in libexecsubdir.
      	(uninstall): Remove libexecsubdir.
      	* mkheaders.in: Update for new arrangement of files.
      	(libexecdir): New.
      	(libexecsubdir): New.
      	(itoolsdir): Use libexecsubdir.
      	(itoolsdatadir): New.
      	* gcc.c (gcc_libexec_prefix): New.
      	(STANDARD_LIBEXEC_PREFIX): Use gcc instead of gcc-lib.
      	(standard_exec_prefix_1): Use libexec.
      	(standard_exec_prefix_2): New.
      	(standard_libexec_prefix): New.
      	(process_command): Update for new arrangement of files.  Compute
      	gcc_libexec_prefix.  Update for change from gcc-lib to gcc.
      
      From-SVN: r70024
      Geoffrey Keating committed
  5. 22 Jul, 2003 1 commit
    • alias.c: Fix comment formatting. · 938d968e
      	* alias.c: Fix comment formatting.
      	* c-common.c: Likewise.
      	* c-decl.c: Likewise.
      	* c-opts.c: Likewise.
      	* combine.c: Likewise.
      	* cpplib.c: Likewise.
      	* diagnostic.c: Likewise.
      	* dojump.c: Likewise.
      	* final.c: Likewise.
      	* fold-const.c: Likewise.
      	* gcc.c: Likewise.
      	* gcse.c: Likewise.
      	* ggc-page.c: Likewise.
      	* jump.c: Likewise.
      	* loop.c: Likewise.
      	* mips-tfile.c: Likewise.
      	* recog.c: Likewise.
      	* regclass.c: Likewise.
      	* regmove.c: Likewise.
      	* tree.c: Likewise.
      	* tree.h: Likewise.
      
      From-SVN: r69689
      Kazu Hirata committed
  6. 19 Jul, 2003 1 commit
    • alias.c [...]: Remove unnecessary casts. · 703ad42b
      	* alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
      	c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
      	c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
      	collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
      	cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
      	cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
      	dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
      	fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
      	gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
      	genemit.c genextract.c genoutput.c genrecog.c gensupport.c
      	ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
      	integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
      	loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
      	postreload.c prefix.c print-tree.c protoize.c ra-build.c
      	ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
      	regmove.c regrename.c reload.c reload1.c reorg.c resource.c
      	sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
      	simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
      	tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
      	varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
      	casts.
      
      From-SVN: r69587
      Kaveh R. Ghazi committed
  7. 11 Jul, 2003 1 commit
    • Index: ChangeLog · d1bd0ded
      2003-07-10  Geoffrey Keating  <geoffk@apple.com>
      
      	* c-decl.c (finish_decl): Handle 'used' here...
      	* cgraphunit.c (cgraph_finalize_function): ... and here ...
      	* c-common.c: (handle_used_attribute): ... not here.
      
      	* configure.in (onstep): Support --enable-intermodule.
      	* Makefile.in (OBJS-common): New.
      	(OBJS-md): New.
      	(OBJS-archive): New.
      	(OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
      	(OBJS-onestep): New.
      	(libbackend.a): Support @onestep@.
      	(libbackend.o): New.
      	* configure: Regenerate.
      
      	* c-common.h (c_reset_state): New prototype.
      	(c_parse_file): New prototype.
      	(finish_file): Move prototype from c-tree.h.
      	* c-decl.c: Include <hashtab.h>.
      	(builtin_decls): New.
      	(current_file_decl): New.
      	(duplicate_decls): Add extra parameter. Change all callers.  Don't
      	output duplicate common symbols.
      	(link_hash_hash): New.
      	(link_hash_eq): New.
      	(poplevel): Handle popping of the top level.
      	(warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
      	(pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
      	(pushdecl_top_level): Likewise.
      	(redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
      	(c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
      	(finish_decl): Handle TRANSLATION_UNIT_DECL.
      	(merge_translation_unit_decls): New.
      	(c_write_global_declarations): New.
      	(c_reset_state): New.
      	(implicitly_declare): Handle TRANSLATION_UNIT_DECL.
      	* c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
      	* c-objc-common.c (c_cannot_inline_tree_fn): Handle
      	TRANSLATION_UNIT_DECL.
      	(c_objc_common_finish_file): Call merge_translation_unit_decls.
      	* c-opts.c (in_fnames): Rename from in_fname.
      	(c_common_decode_option): Handle multiple input filenames.
      	(c_common_post_options): Likewise.
      	(c_common_parse_file): Likewise; also, call c_parse_file rather than
      	yyparse.
      	* c-parse.in: Move cleanup code to c_parse_file.
      	(free_parser_stacks): Move contents to c_parse_file.
      	(c_parse_file): New.
      	* c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
      	for integer types.
      	(C_DECL_FILE_SCOPE): New.
      	(finish_file): Move prototype to c-common.h.
      	(merge_translation_unit_decls): New prototype.
      	(comptypes): Add extra parameter to prototype.
      	(c_write_global_declarations): New prototype.
      	* c-typeck.c (tagged_types_tu_compatible_p): New.
      	(function_types_compatible_p): Add extra parameter, change all callers.
      	(type_lists_compatible_p): Likewise.
      	(comptypes): Likewise.
      	(struct tagged_tu_seen): New.
      	(tagged_tu_seen_base): New.
      	(build_unary_op): Handle TRANSLATION_UNIT_DECL.
      	(c_mark_addressable): Remove #if 0 code.
      	* calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
      	comment explaining why it shouldn't have to.
      	* cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
      	options.
      	* cppinit.c (cpp_read_next_file): New.
      	(cpp_read_main_file): Use it.
      	* cpplib.c (undefine_macros): New.
      	(cpp_undef_all): New.
      	* cpplib.h (cpp_read_next_file): Prototype.
      	(cpp_undef_all): Prototype.
      	* langhooks-def.h (write_global_declarations): Remove prototype.
      	* toplev.h (write_global_declarations): Add prototype.
      	* tree.c (decl_type_context): Use switch statement, handle
      	TRANSLATION_UNIT_DECL.
      	* tree.def: Update documentation for TRANSLATION_UNIT_DECL.
      	(TRANSLATION_UNIT_DECL): New kind of tree.
      	* tree.h: Update documentation for TRANSLATION_UNIT_DECL.
      	* Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
      	* doc/invoke.texi: Make attempt to document new functionality.
      
      	2003-05-19  Per Bothner <bothner@apple.com>
      
      	* gcc.c (combine_inputs): New.
      	(process_command): Set combine_inputs.
      	(do_spec_1): Handle combine_inputs.
      	(main): Likewise.
      
      Index: cp/ChangeLog
      2003-07-10  Geoffrey Keating  <geoffk@apple.com>
      
      	* decl.c (cp_finish_decl): Handle 'used' attribute.
      
      	* cp-lang.c (c_reset_state): New dummy routine.
      	* cp-tree.h (finish_file): Move prototype to c-common.h.
      	* parser.c (c_parse_file): Rename from yyparse; don't call finish_file.
      
      From-SVN: r69224
      Geoffrey Keating committed
  8. 06 Jul, 2003 2 commits
    • stmt.c: Convert remaining prototypes to ISO C90. · 7e51717c
      	* stmt.c: Convert remaining prototypes to ISO C90.
      	* cfglayout.c: Likewise.
      	* dbxout.c: Likewise.
      	* gcc.c: Likewise.
      	* genemit.c: Likewise.
      
      From-SVN: r69015
      Andreas Jaeger committed
    • 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
  9. 03 Jul, 2003 1 commit
    • system.h: Include filenames.h. · 3dce1408
      	* system.h: Include filenames.h.
      	(IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
      	(DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
      	define based on HAVE_DOS_BASED_FILE_SYSTEM.
      	* config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
      	* config/i386/xm-mingw32.h: Don't define
      	HAVE_DOS_BASED_FILE_SYSTEM,
      	DIR_SEPARATOR, or DIR_SEPARATOR_2.
      	* doc/hostconfig.texi: Update to match.
      
      	* cppfiles.c, gcc.c, gensupport.c, protoize.c,
      	config/i386/cygwin.h:
      	Use IS_ABSOLUTE_PATH throughout.
      	* gcc.c (DIR_UP): Delete, unused.
      	* protoize.c (IS_SAME_PATH): Define in terms of
      	FILENAME_CMP.
      	(is_abspath): Delete.
      java:
      	* jcf-path.c: Don't default-define PATH_SEPARATOR nor
      	DIR_SEPARATOR.
      	Use FILENAME_CMP.
      	* jcf-write.c: Don't default-define DIR_SEPARATOR.
      	* jcf.h: Delete COMPARE_FILENAMES definition.
      
      From-SVN: r68863
      Zack Weinberg committed
  10. 29 Jun, 2003 1 commit
    • alloc-pool.c: Fix comment formatting. · f9da5064
      	* alloc-pool.c: Fix comment formatting.
      	* bitmap.c: Likewise.
      	* bitmap.h: Likewise.
      	* bt-load.c: Likewise.
      	* builtins.c: Likewise.
      	* caller-save.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* collect2.c: Likewise.
      	* cse.c: Likewise.
      	* df.c: Likewise.
      	* diagnostic.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* expmed.c: Likewise.
      	* final.c: Likewise.
      	* flags.h: Likewise.
      	* fold-const.c: Likewise.
      	* gcc.c: Likewise.
      	* gcov-io.h: Likewise.
      	* gcov.c: Likewise.
      	* genattrtab.c: Likewise.
      	* genautomata.c: Likewise.
      	* libgcov.c: Likewise.
      	* mips-tfile.c: Likewise.
      	* optabs.c: Likewise.
      	* prefix.c: Likewise.
      	* rtlanal.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* toplev.c: Likewise.
      	* varasm.c: Likewise.
      	* vmsdbgout.c: Likewise.
      
      From-SVN: r68672
      Kazu Hirata committed
  11. 23 Jun, 2003 1 commit
    • basic-block.h: Fix comment formatting. · 71c0e7fc
      	* basic-block.h: Fix comment formatting.
      	* bt-load.c: Likewise.
      	* builtins.c: Likewise.
      	* c-common.c: Likewise.
      	* c-common.h: Likewise.
      	* c-format.c: Likewise.
      	* coverage.c: Likewise.
      	* cpplib.h: Likewise.
      	* cpppch.c: Likewise.
      	* dbxout.c: Likewise.
      	* diagnostic.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* expr.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* gcc.c: Likewise.
      	* gcov-io.c: Likewise.
      	* gcov-io.h: Likewise.
      	* gcov.c: Likewise.
      	* profile.c: Likewise.
      	* real.h: Likewise.
      	* sched-deps.c: Likewise.
      
      From-SVN: r68369
      Kazu Hirata committed
  12. 19 Jun, 2003 1 commit
    • gcc.c (target_sysroot_suffix, [...]): New. · e7f13528
      * gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix,
      SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC, sysroot_suffix_spec,
      sysroot_hdrs_suffix_spec): New.
      (static_specs): Initialize new variables.
      (add_sysroot_suffix_prefix, do_spec_1, main): Use new variables.
      * doc/tm.texi (SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC):
      New macros.
      
      From-SVN: r68223
      Graeme Peterson committed
  13. 16 Jun, 2003 1 commit
    • decl.c, [...]: Don't use the PTR macro. · fad205ff
      cp:
      	* cp/decl.c, cp/pt.c, cp/search.c, cp/tree.c: Don't use the PTR
      	macro.
      
      gcc:
      	* bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c,
      	config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c,
      	dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c,
      	function.c, gcc.c, genoutput.c, gensupport.c, global.c,
      	haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c,
      	loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c,
      	read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c,
      	stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use
      	the PTR macro.
      
      From-SVN: r68043
      Kaveh R. Ghazi committed
  14. 04 Jun, 2003 1 commit
    • config.gcc: Reorganize --with-cpu logic. · 7816bea0
      	* config.gcc: Reorganize --with-cpu logic.  Set
      	configure_default_options according to the default CPU, --with-cpu,
      	--with-arch, --with-tune, --with-schedule, --with-abi, and
      	--with-float.  Check for legal values of various options.
      	* configure.in: Define configure_default_options in configargs.h.
      	* configure: Regenerated.
      	* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
      	(TARGET_DEFAULT_FLOAT_P): New macros.
      	* gcc.c (do_option_spec): New function.
      	(struct default_spec, option_default_specs): New.
      	(main): Call do_option_spec.
      	* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
      	config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
      	config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
      
      	* doc/install.texi: Update --with-cpu documentation.  Mention
      	--with-arch, --with-schedule, --with-tune, --with-abi, and
      	--with-float.
      	* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.
      
      From-SVN: r67457
      Daniel Jacobowitz committed
  15. 03 Jun, 2003 1 commit
    • configure.in (HAVE_LD_PIE): Check for ld -pie. · 24a4dd31
      	* configure.in (HAVE_LD_PIE): Check for ld -pie.
      	* config.in: Rebuilt.
      	* configure: Rebuilt.
      	* toplev.c (flag_pie, flag_shlib): New variables.
      	(f_options): Add -fpie and -fPIE.
      	(parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE.
      	Set flag_shlib if flag_pic and not -fpie/-fPIE.
      	* flags.h (flag_pic, flag_shlib): Add.
      	* varasm.c (default_binds_local_p): Use flag_shlib instead of
      	flag_pic.
      	* gcc.c (LINK_PIE_SPEC): Define.
      	(LINK_COMMAND_SPEC): Use LINK_PIE_SPEC.
      	(option_map): Add --pie -> -pie mapping.
      	* config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic
      	and -fPIE the same way as -fPIC.
      	* config/openbsd.h (ASM_SPEC): Likewise.
      	* config/frv/frv.h (ASM_SPEC): Likewise.
      	* config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise.
      	* config/arm/semi.h (ASM_SPEC): Likewise.
      	* config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
      	* config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise.
      	* config/i386/beos-elf.h (CC1_SPEC): Likewise.
      	* config/i386/freebsd-aout.h (ASM_SPEC): Likewise.
      	* config/m68k/linux.h (CPP_SPEC): Likewise.
      	* config/m68k/netbsd.h (ASM_SPEC): Likewise.
      	* config/m68k/openbsd.h (ASM_SPEC): Likewise.
      	* config/m68k/netbsd-elf.h (ASM_SPEC): Likewise.
      	* config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise.
      	* config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise.
      	* config/pa/pa-linux.h (CPP_SPEC): Likewise.
      	* config/netbsd-aout.h (ASM_SPEC): Likewise.
      	* config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise.
      	* config/rs6000/vxworks.h (CPP_SPEC): Likewise.
      	* config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
      	* config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
      	* config/sparc/sparc.h (ASM_SPEC): Likewise.
      	* config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
      	* config/sparc/sysv4.h (ASM_SPEC): Likewise.
      	* config/sparc/netbsd-elf.h (ASM_SPEC): Likewise.
      	* config/sparc/openbsd64.h (ASM_SPEC): Likewise.
      	* config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise.
      	* config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie.
      	Simplify.
      	* config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* doc/invoke.texi: Document -pie, -fpie and -fPIE options.
      
      From-SVN: r67359
      Jakub Jelinek committed
  16. 23 May, 2003 1 commit
  17. 17 May, 2003 2 commits
    • builtins.c (validate_arglist): Eliminate libiberty VA_ macros, always use stdarg. · e34d07f2
      gcc:
      	* builtins.c (validate_arglist): Eliminate libiberty VA_ macros,
      	always use stdarg.
      	* c-errors.c (pedwarn_c99): Likewise.
      	* c-format.c (status_warning): Likewise.
      	* c-semantics.c (build_stmt): Likewise.
      	* calls.c (emit_library_call, emit_library_call_value): Likewise.
      	* collect2.c (notice, fatal_perror, fatal, error): Likewise.
      	* cpperror.c (cpp_error, cpp_error_with_line): Likewise.
      	* diagnostic.c (build_message_string, output_printf,
      	output_verbatim, verbatim, inform, warning, pedwarn, error, sorry,
      	fatal_error, internal_error, warning_with_decl, pedwarn_with_decl,
      	error_with_decl, fnotice): Likewise.
      	* dwarf2asm.c (dw2_asm_output_data, dw2_asm_output_delta,
      	dw2_asm_output_offset, dw2_asm_output_pcrel, dw2_asm_output_addr,
      	dw2_asm_output_addr_rtx, dw2_asm_output_nstring,
      	dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128,
      	dw2_asm_output_delta_uleb128, dw2_asm_output_delta_sleb128,
      	dw2_asm_output_encoded_addr_rtx): Likewise.
      	* emit-rtl.c (gen_rtx, gen_rtvec): Likewise.
      	* errors.c (warning, error, fatal, internal_error): Likewise.
      	* final.c (output_operand_lossage, asm_fprintf): Likewise.
      	* fix-header.c (fatal): Likewise.
      	* gcc.c (fatal, error, notice): Likewise.
      	* gcov.c (fnotice): Likewise.
      	* genattrtab.c (attr_rtx, attr_printf): Likewise.
      	* gengtype.c (error_at_line, xasprintf, oprintf): Likewise.
      	* gensupport.c (message_with_line): Likewise.
      	* mips-tfile.c (fatal, error): Likewise.
      	* protoize.c (notice): Likewise.
      	* ra-debug.c (ra_debug_msg): Likewise.
      	* read-rtl.c (fatal_with_file_and_line): Likewise.
      	* rtl-error.c (error_for_asm, warning_for_asm): Likewise.
      	* tree.c (build, build_nt, build_function_type_list): Likewise.
      
      cp:
      	* error.c (cp_error_at, cp_warning_at, cp_pedwarn_at): Eliminate
      	libiberty VA_ macros, always use stdarg.
      	* rtti.c (create_pseudo_type_info): Likewise.
      	* tree.c (build_min_nt, build_min): Likewise.
      
      From-SVN: r66919
      Kaveh R. Ghazi committed
    • defaults.h (TARGET_CPU_CPP_BUILTINS, [...]): Remove. · c08f71aa
      	* defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove.
      	* gcc.c (cpp_predefines): Remove.
      	(cpp_unique_options, do_spec_1): Remove handling of CPP_PREDEFINES.
      	(static_specs): Remove predefines.
      	* system.h: Poison CPP_PREDEFINES.
      	* config/freebsd.h, config/openbsd.h, config/ptx4.h, config/svr3.h,
      	config/svr4.h, doc/tm.texi: Remove references to CPP_PREDEFINES.
      
      From-SVN: r66917
      Neil Booth committed
  18. 07 May, 2003 1 commit
  19. 03 May, 2003 1 commit
    • c-decl.c (pending_invalid_xref_file): Remove. · 070588f0
      	* c-decl.c (pending_invalid_xref_file): Remove.
      	(pending_invalid_xref_line): Remove.
      	(pending_invalid_xref_location): New.
      	(lookup_label): Use location_t and input_location directly.
      	(lookup_tag): Likewise.
      	(pending_xref_error): Likewise.
      	(c_expand_body_1): Likewise.
      	* c-common.c (x_expand_start_cond): Likewise.
      	* c-semantics.c (genrtl_for_stmt): Likewise.
      	(find_reachable_label): Likewise.
      	* expr.c (expand_expr): Likewise.
      	* integrate.c (output_inline_function): Likewise.
      	* tree-inline.c (find_alloca_call): Likewise.
      	(find_builtin_longjmp_call): Likewise.
      	* gcc.c (input_filename): Make static.
      
      From-SVN: r66425
      Nathan Sidwell committed
  20. 29 Apr, 2003 1 commit
    • c-pragma.c (maybe_apply_renaming_pragma): Fix typo. · 8e854b76
      	* c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
      	* gcc.c (display_help): Likewise.
      	* toplev.c (f_options): Likewise.
      	* params.def (PARAM_MAX_INLINE_SCOPE): Likewise.
      	* config/c4x/c4x.h (TARGET_SWITCHES): Likewise.
      	* config/mcore/mcore.h (TARGET_SWITCHES): Likewise.
      	* config/s390/s390.h (TARGET_SWITCHES): Likewise.
      	* config/v850/v850.h (TARGET_SWITCHES): Likewise.
      
      	* call.c (build_operator_new_call): Fix typo.
      	* lang-options.h: Likewise.
      
      From-SVN: r66228
      Kriang Lerdsuwanakij committed
  21. 11 Mar, 2003 2 commits
    • Makefile.in: Update. · cb60f38d
      	* Makefile.in: Update.
      	* c-common.c: Don't include real.h or except.h.
      	(REGISTER_PREFIX): Remove.
      	(builtin_define_std, builtin_define_with_value,
      	builtin_define_with_int_value, builtin_define_with_hex_fp_value,
      	builtin_define_type_max, builtin_define_type_precision,
      	builtin_define_float_constants): Move to c-cppbuiltin.c.
      	(c_stddef_cpp_builtins): New.
      	* c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
      	* c-cppbuiltin.c: New, extracted from c-common.c.
      	(define__GNUC__): New.
      	* cppspec.c (lang_specific_driver): Remove support of -no-gcc.
      	* gcc.c: Remove support of %v1, %v2 and %v3 specs.
      	(cpp_unique_options): Don't support no-gcc.
      	(do_spec_1): Remove support of version specs.
      	* doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
      	* doc/passes.texi: Update.
      	* doc/tm.texi: Update.
      cp:
      	* Make-lang.in (CXX_C_OBJS): Update.
      	* lang-specs.h: Don't define __GNUG__ here.
      
      From-SVN: r64162
      Neil Booth committed
    • Remove extra bits I included, by mistake, in my previous check-in · 8c124730
      for PR/9394 fix.
      
      From-SVN: r64156
      Devang Patel committed
  22. 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
  23. 09 Mar, 2003 1 commit
    • gcc.c (do_spec_1): Revert 2003-02-24 patch. · 6544fbcb
      	* gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch.  Don't handle
      	pending argument upon return from handle_braces here.
      	(do_spec_2): Instead handle it upon return from do_spec_1 here.
      
      Co-Authored-By: Joern Rennecke <joern.rennecke@superh.com>
      
      From-SVN: r64047
      Roger Sayle committed
  24. 04 Mar, 2003 1 commit
  25. 02 Mar, 2003 1 commit
  26. 28 Feb, 2003 2 commits
  27. 24 Feb, 2003 1 commit
  28. 18 Feb, 2003 1 commit
  29. 13 Feb, 2003 1 commit
    • Makefile.in (PREPROCESSOR_DEFINES): Add @TARGET_SYSTEM_ROOT_DEFINE@. · 047d636f
      	* Makefile.in (PREPROCESSOR_DEFINES): Add
      	@TARGET_SYSTEM_ROOT_DEFINE@.
      	* configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot
      	is specified or if building a cross compiler.
      	(TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE
      	if the sysroot is under $exec_prefix.
      	* configure: Regenerated.
      	* cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is
      	defined.
      	(struct default_include): Add add_sysroot field.
      	(cpp_SYSROOT): Declare.
      	* cppdefault.c (cpp_include_defaults): Fill in add_sysroot
      	field.
      	(cpp_SYSROOT): New variable.
      	* cppinit.c (cpp_create_reader): Initialize
      	CPP_OPTION (pfile, sysroot).
      	(init_standard_includes): Handle add_sysroot.  Do not
      	add unrelocated copies of relocated directories.
      	(COMMAND_LINE_OPTIONS): Add -isysroot.
      	(cpp_handle_option): Handle -isysroot.
      	* cpplib.h (struct cpp_options): Add sysroot member.
      	* gcc.c (The Specs Language): Update description of %I.
      	(target_system_root_changed): New variable.
      	(process_command): Conditionalize make_relative_prefix call
      	on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE.  Set
      	target_system_root_changed.
      	(do_spec_1): Add -isysroot to %I.
      	* doc/invoke.texi (Spec Files): Update description of %I.
      	* doc/install.texi (--with-sysroot): Update comment about
      	relocation.
      
      From-SVN: r62853
      Daniel Jacobowitz committed
  30. 27 Jan, 2003 1 commit
    • Makefile.in (LIB2FUNCS_ST): Remove _gcov. · 23af32e6
      	* Makefile.in (LIB2FUNCS_ST): Remove _gcov.
      	(LIBGCOV): New variable.
      	(libgcc.mk): Add LIBGCOV.
      	(LIBGCC_DEPS): Add libgcov.c.
      	(libgcov.a): New target.
      	(clean): Remove libgcov.a.
      	(install-libgcc): Do libgcov too.
      	(stage1-start, stage2-start, stage3-start, stage4-start): Deal
      	with libgcov.a.
      	* libgcc2.c (L_gcov): Move into ...
      	* libgcov.c: ... here. New file.
      	* mklibgcc.in: Add libgcov rules.
      	* gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.
      
      	* doc/invoke.texi (profile-arcs, test-coverage): Update and
      	clarify.
      
      	* profile.c (index_counts_file): Remove duplicate check for open file.
      
      From-SVN: r61905
      Nathan Sidwell committed
  31. 19 Jan, 2003 1 commit
    • config.gcc (mips64*-*-linux*): Added. · 3bd6d4c4
      * config.gcc (mips64*-*-linux*): Added.
      * config/mips/linux64.h, config/mips/t-linux64: New file.
      * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
      * config/mips/mips.c (override_options): Use it.
      * config/mips/mips.h (TARGET_SWITCHES): Added...
      (SUBTARGET_TARGET_SWITCHES): New, empty by default.
      * Makefile.in (SPECS): New.
      (STAGESTUFF, specs, mostlyclean, install-common): Use it.
      * gcc.c (process_command): Move self-spec processing past spec
      file loading.
      * doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
      * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
      CRTSTUFF_T_CFLAGS.
      (SPECS): Document.
      * doc/invoke.texi (-mabi-fake-default): Document.
      
      From-SVN: r61481
      Alexandre Oliva committed
  32. 17 Jan, 2003 1 commit
    • et-forest.c: Fix comment typos. · fbe5a4a6
      	* et-forest.c: Fix comment typos.
      	* et-forest.h: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* flags.h: Likewise.
      	* flow.c: Likewise.
      	* gcc.c: Likewise.
      	* gcse.c: Likewise.
      	* genattrtab.c: Likewise.
      	* genautomata.c: Likewise.
      	* gengtype.c: Likewise.
      	* genrecog.c: Likewise.
      	* global.c: Likewise.
      	* gthr-rtems.h: Likewise.
      
      From-SVN: r61443
      Kazu Hirata committed
  33. 10 Jan, 2003 1 commit
  34. 19 Dec, 2002 2 commits
  35. 18 Dec, 2002 1 commit