1. 25 Nov, 2009 1 commit
    • Remove trailing white spaces. · b8698a0f
      2009-11-25  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* alias.c: Remove trailing white spaces.
      	* alloc-pool.c: Likewise.
      	* alloc-pool.h: Likewise.
      	* attribs.c: Likewise.
      	* auto-inc-dec.c: Likewise.
      	* basic-block.h: Likewise.
      	* bb-reorder.c: Likewise.
      	* bt-load.c: Likewise.
      	* builtins.c: Likewise.
      	* builtins.def: Likewise.
      	* c-common.c: Likewise.
      	* c-common.h: Likewise.
      	* c-cppbuiltin.c: Likewise.
      	* c-decl.c: Likewise.
      	* c-format.c: Likewise.
      	* c-lex.c: Likewise.
      	* c-omp.c: Likewise.
      	* c-opts.c: Likewise.
      	* c-parser.c: Likewise.
      	* c-pretty-print.c: Likewise.
      	* c-tree.h: Likewise.
      	* c-typeck.c: Likewise.
      	* caller-save.c: Likewise.
      	* calls.c: Likewise.
      	* cfg.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* cfghooks.c: Likewise.
      	* cfghooks.h: Likewise.
      	* cfglayout.c: Likewise.
      	* cfgloop.c: Likewise.
      	* cfgloop.h: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraph.h: Likewise.
      	* cgraphbuild.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* cif-code.def: Likewise.
      	* collect2.c: Likewise.
      	* combine.c: Likewise.
      	* convert.c: Likewise.
      	* coverage.c: Likewise.
      	* crtstuff.c: Likewise.
      	* cse.c: Likewise.
      	* cselib.c: Likewise.
      	* dbgcnt.c: Likewise.
      	* dbgcnt.def: Likewise.
      	* dbgcnt.h: Likewise.
      	* dbxout.c: Likewise.
      	* dce.c: Likewise.
      	* ddg.c: Likewise.
      	* ddg.h: Likewise.
      	* defaults.h: Likewise.
      	* df-byte-scan.c: Likewise.
      	* df-core.c: Likewise.
      	* df-problems.c: Likewise.
      	* df-scan.c: Likewise.
      	* df.h: Likewise.
      	* dfp.c: Likewise.
      	* diagnostic.c: Likewise.
      	* diagnostic.h: Likewise.
      	* dominance.c: Likewise.
      	* domwalk.c: Likewise.
      	* double-int.c: Likewise.
      	* double-int.h: Likewise.
      	* dse.c: Likewise.
      	* dwarf2asm.c: Likewise.
      	* dwarf2asm.h: Likewise.
      	* dwarf2out.c: Likewise.
      	* ebitmap.c: Likewise.
      	* ebitmap.h: Likewise.
      	* emit-rtl.c: Likewise.
      	* et-forest.c: Likewise.
      	* except.c: Likewise.
      	* except.h: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* expr.h: Likewise.
      	* final.c: Likewise.
      	* flags.h: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* function.h: Likewise.
      	* fwprop.c: Likewise.
      	* gcc.c: Likewise.
      	* gcov-dump.c: Likewise.
      	* gcov-io.c: Likewise.
      	* gcov-io.h: Likewise.
      	* gcov.c: Likewise.
      	* gcse.c: Likewise.
      	* genattr.c: Likewise.
      	* genattrtab.c: Likewise.
      	* genautomata.c: Likewise.
      	* genchecksum.c: Likewise.
      	* genconfig.c: Likewise.
      	* genflags.c: Likewise.
      	* gengtype-parse.c: Likewise.
      	* gengtype.c: Likewise.
      	* gengtype.h: Likewise.
      	* genmddeps.c: Likewise.
      	* genmodes.c: Likewise.
      	* genopinit.c: Likewise.
      	* genpreds.c: Likewise.
      	* gensupport.c: Likewise.
      	* ggc-common.c: Likewise.
      	* ggc-page.c: Likewise.
      	* ggc-zone.c: Likewise.
      	* ggc.h: Likewise.
      	* gimple-iterator.c: Likewise.
      	* gimple-low.c: Likewise.
      	* gimple-pretty-print.c: Likewise.
      	* gimple.c: Likewise.
      	* gimple.def: Likewise.
      	* gimple.h: Likewise.
      	* gimplify.c: Likewise.
      	* graphds.c: Likewise.
      	* graphite-clast-to-gimple.c: Likewise.
      	* gthr-nks.h: Likewise.
      	* gthr-posix.c: Likewise.
      	* gthr-posix.h: Likewise.
      	* gthr-posix95.h: Likewise.
      	* gthr-single.h: Likewise.
      	* gthr-tpf.h: Likewise.
      	* gthr-vxworks.h: Likewise.
      	* gthr.h: Likewise.
      	* haifa-sched.c: Likewise.
      	* hard-reg-set.h: Likewise.
      	* hooks.c: Likewise.
      	* hooks.h: Likewise.
      	* hosthooks.h: Likewise.
      	* hwint.h: Likewise.
      	* ifcvt.c: Likewise.
      	* incpath.c: Likewise.
      	* init-regs.c: Likewise.
      	* integrate.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-reference.c: Likewise.
      	* ipa-struct-reorg.c: Likewise.
      	* ipa-struct-reorg.h: Likewise.
      	* ipa-type-escape.c: Likewise.
      	* ipa-type-escape.h: Likewise.
      	* ipa-utils.c: Likewise.
      	* ipa-utils.h: Likewise.
      	* ipa.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-conflicts.c: Likewise.
      	* ira-costs.c: Likewise.
      	* ira-emit.c: Likewise.
      	* ira-int.h: Likewise.
      	* ira-lives.c: Likewise.
      	* ira.c: Likewise.
      	* jump.c: Likewise.
      	* lambda-code.c: Likewise.
      	* lambda-mat.c: Likewise.
      	* lambda-trans.c: Likewise.
      	* lambda.h: Likewise.
      	* langhooks.c: Likewise.
      	* lcm.c: Likewise.
      	* libgcov.c: Likewise.
      	* lists.c: Likewise.
      	* loop-doloop.c: Likewise.
      	* loop-init.c: Likewise.
      	* loop-invariant.c: Likewise.
      	* loop-iv.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-compress.c: Likewise.
      	* lto-opts.c: Likewise.
      	* lto-section-in.c: Likewise.
      	* lto-section-out.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* lto-streamer.c: Likewise.
      	* lto-streamer.h: Likewise.
      	* lto-symtab.c: Likewise.
      	* lto-wpa-fixup.c: Likewise.
      	* matrix-reorg.c: Likewise.
      	* mcf.c: Likewise.
      	* mode-switching.c: Likewise.
      	* modulo-sched.c: Likewise.
      	* omega.c: Likewise.
      	* omega.h: Likewise.
      	* omp-low.c: Likewise.
      	* optabs.c: Likewise.
      	* optabs.h: Likewise.
      	* opts-common.c: Likewise.
      	* opts.c: Likewise.
      	* params.def: Likewise.
      	* params.h: Likewise.
      	* passes.c: Likewise.
      	* plugin.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* postreload.c: Likewise.
      	* predict.c: Likewise.
      	* predict.def: Likewise.
      	* pretty-print.c: Likewise.
      	* pretty-print.h: Likewise.
      	* print-rtl.c: Likewise.
      	* print-tree.c: Likewise.
      	* profile.c: Likewise.
      	* read-rtl.c: Likewise.
      	* real.c: Likewise.
      	* recog.c: Likewise.
      	* reg-stack.c: Likewise.
      	* regcprop.c: Likewise.
      	* reginfo.c: Likewise.
      	* regmove.c: Likewise.
      	* regrename.c: Likewise.
      	* regs.h: Likewise.
      	* regstat.c: Likewise.
      	* reload.c: Likewise.
      	* reload1.c: Likewise.
      	* resource.c: Likewise.
      	* rtl.c: Likewise.
      	* rtl.def: Likewise.
      	* rtl.h: Likewise.
      	* rtlanal.c: Likewise.
      	* sbitmap.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-int.h: Likewise.
      	* sched-rgn.c: Likewise.
      	* sched-vis.c: Likewise.
      	* sdbout.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* sel-sched-dump.h: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* sel-sched-ir.h: Likewise.
      	* sel-sched.c: Likewise.
      	* sel-sched.h: Likewise.
      	* sese.c: Likewise.
      	* sese.h: Likewise.
      	* simplify-rtx.c: Likewise.
      	* stack-ptr-mod.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* store-motion.c: Likewise.
      	* stringpool.c: Likewise.
      	* stub-objc.c: Likewise.
      	* sync-builtins.def: Likewise.
      	* target-def.h: Likewise.
      	* target.h: Likewise.
      	* targhooks.c: Likewise.
      	* targhooks.h: Likewise.
      	* timevar.c: Likewise.
      	* tlink.c: Likewise.
      	* toplev.c: Likewise.
      	* toplev.h: Likewise.
      	* tracer.c: Likewise.
      	* tree-affine.c: Likewise.
      	* tree-affine.h: Likewise.
      	* tree-browser.def: Likewise.
      	* tree-call-cdce.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-chrec.c: Likewise.
      	* tree-chrec.h: Likewise.
      	* tree-complex.c: Likewise.
      	* tree-data-ref.c: Likewise.
      	* tree-data-ref.h: Likewise.
      	* tree-dfa.c: Likewise.
      	* tree-dump.c: Likewise.
      	* tree-dump.h: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-flow-inline.h: Likewise.
      	* tree-flow.h: Likewise.
      	* tree-if-conv.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-loop-linear.c: Likewise.
      	* tree-mudflap.c: Likewise.
      	* tree-nested.c: Likewise.
      	* tree-nomudflap.c: Likewise.
      	* tree-nrv.c: Likewise.
      	* tree-object-size.c: Likewise.
      	* tree-optimize.c: Likewise.
      	* tree-outof-ssa.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-pass.h: Likewise.
      	* tree-phinodes.c: Likewise.
      	* tree-predcom.c: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-scalar-evolution.c: Likewise.
      	* tree-ssa-address.c: Likewise.
      	* tree-ssa-alias.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-coalesce.c: Likewise.
      	* tree-ssa-copy.c: Likewise.
      	* tree-ssa-copyrename.c: Likewise.
      	* tree-ssa-dce.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-dse.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-ifcombine.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-live.h: Likewise.
      	* tree-ssa-loop-ch.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivcanon.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-manip.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-loop-unswitch.c: Likewise.
      	* tree-ssa-loop.c: Likewise.
      	* tree-ssa-math-opts.c: Likewise.
      	* tree-ssa-operands.c: Likewise.
      	* tree-ssa-operands.h: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-phiprop.c: Likewise.
      	* tree-ssa-pre.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-ssa-sink.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa-ter.c: Likewise.
      	* tree-ssa-threadedge.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa-uncprop.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-ssanames.c: Likewise.
      	* tree-switch-conversion.c: Likewise.
      	* tree-tailcall.c: Likewise.
      	* tree-vect-data-refs.c: Likewise.
      	* tree-vect-generic.c: Likewise.
      	* tree-vect-loop-manip.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-patterns.c: Likewise.
      	* tree-vect-slp.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* tree-vectorizer.c: Likewise.
      	* tree-vectorizer.h: Likewise.
      	* tree-vrp.c: Likewise.
      	* tree.c: Likewise.
      	* tree.def: Likewise.
      	* tree.h: Likewise.
      	* treestruct.def: Likewise.
      	* unwind-compat.c: Likewise.
      	* unwind-dw2-fde-glibc.c: Likewise.
      	* unwind-dw2.c: Likewise.
      	* value-prof.c: Likewise.
      	* value-prof.h: Likewise.
      	* var-tracking.c: Likewise.
      	* varasm.c: Likewise.
      	* varpool.c: Likewise.
      	* vec.c: Likewise.
      	* vec.h: Likewise.
      	* vmsdbgout.c: Likewise.
      	* web.c: Likewise.
      	* xcoffout.c: Likewise.
      
      From-SVN: r154645
      H.J. Lu committed
  2. 20 Feb, 2009 1 commit
  3. 30 May, 2008 1 commit
    • cpplib.h (struct cpp_dir): Add new field, canonical_name. · c100de59
      libcpp/ChangeLog
      	* include/cpplib.h (struct cpp_dir): Add new field, canonical_name.
      
      gcc/ChangeLog
      
      	* incpath.c: Use HOST_LACKS_INODE_NUMBERS conditional
      	rather than OS names to choose INO_T_EQ definition.
      	(DIRS_EQ) [!INO_T_EQ]: Don't worry about case in comparison.
      	(add_path) [!INO_T_EQ]: Use lrealpath to fill canonical_name field.
      
      From-SVN: r136196
      Danny Smith committed
  4. 25 May, 2008 1 commit
    • re PR fortran/18428 (No preprocessing option -cpp for gfortran) · 670637ee
      gcc:
      2008-05-26  Daniel Franke  <franke.daniel@gmail.com>
      
      	PR fortran/18428
      	* c.opt: Removed undocumented option '-lang-fortran'.
      	* c-common.h: Removed global variable 'lang_fortran'.
      	* c-opts.c (c_common_handle_option): Removed code to handle
      	option '-lang-fortran'. Updated includes.
      	* c-cppbuiltin.c (c_cpp_builtins): Removed conditional
      	definition of '__GFORTRAN__'.
      	(define__GNUC__): Reimplemented to use BASEVER and
      	cpp_define_formatted.
      	(builtin_define_with_value_n): Removed.
      	* c-incpath.h: Renamed to ...
      	* incpath.h: ... this.
      	* c-incpath.c: Renamed to ...
      	* incpath.c: ... this. Updated includes.
      	* fix-header.c: Updated includes.
      	* Makefile.in: Replaced c-incpath.[ch] by incpath.[ch].
      	(c-cppbuiltin.o): Added dependency on and definition of BASEVER.
      	(OBJ-archive): Added cppdefault.o, incpath.o and prefix.o.
      
      
      gcc/cp:
      2008-05-26  Daniel Franke  <franke.daniel@gmail.com>
      
      	* Makefile.in: Adjusted dependencies on c-incpath.o.
      
      
      gcc/fortran:
      2008-05-26  Daniel Franke  <franke.daniel@gmail.com>
      
      	PR fortran/18428
      	* lang.opt (A, C, CC, D, E, H, P, U, cpp, d, fworking-directory,
      	imultilib, iprefix, iquote, isysroot, isystem, nocpp, nostdinc,
      	o, undef, v): New options.
      	* options.c (gfc_init_options): Also initialize preprocessor
      	options.
      	(gfc_post_options): Also handle post-initialization of preprocessor
      	options.
      	(gfc_handle_option): Check if option is a preprocessor option.
      	If yes, let gfc_cpp_handle_option() handle the option.
      	* lang-specs.h: Reorganized to handle new options.
      	* scanner.c (gfc_new_file): Read temporary file instead of
      	input source if preprocessing is enabled.
      	* f95-lang.c (gfc_init): Initialize preprocessor.
      	(gfc_finish): Clean up preprocessor.
      	* cpp.c: New.
      	* cpp.h: New.
      	* Make-lang.in: Added new objects and dependencies.
      	* gfortran.texi: Updated section "Preprocessing and
      	conditional compilation".
      	* invoke.texi: Added new section "Preprocessing Options",
      	listed and documented the preprocessing options handled by gfortran.
      
      From-SVN: r135882
      Daniel Franke committed
  5. 20 May, 2008 1 commit
  6. 26 Jul, 2007 1 commit
  7. 13 Jun, 2007 1 commit
    • auto-inc-dec.c, [...]: Fix comment typos. · 0d52bcc1
      	* auto-inc-dec.c, c-incpath.c, config/c4x/libgcc.S,
      	config/sh/divcost-analysis, dbgcnt.def, df-core.c,
      	df-problems.c, df-scan.c, df.h, dominance.c, dse.c, regstat.c,
      	tree-data-ref.c, tree-ssa-loop-im.c, tree-ssa-loop-prefetch.c,
      	tree-vect-transform.c: Fix comment typos.  Follow spelling
      	conventions.
      
      From-SVN: r125666
      Kazu Hirata committed
  8. 07 May, 2007 1 commit
  9. 22 Mar, 2007 1 commit
    • c-incpath.c (add_sysroot_to_chain): New. · 9a200623
      	* c-incpath.c (add_sysroot_to_chain): New.
      	(merge_include_chains): Add sysroot argument.  Call
      	add_sysroot_to_chain if sysrooted.
      	(register_include_chains): Update call to merge_include_chains.
      	* doc/cppopts.texi: Document use of '=' in include directory
      	arguments.
      
      From-SVN: r123134
      Joseph Myers committed
  10. 12 Mar, 2007 1 commit
    • cppdefault.c (cpp_EXEC_PREFIX): New variable. · 6d4817e3
      	* cppdefault.c (cpp_EXEC_PREFIX): New variable.
      	* cppdefault.h (cpp_PREFIX): Document.
      	(cpp_PREFIX_len): Likewise.
      	(cpp_EXEC_PREFIX): New variable.
      	* Makefile.in (PREPROCESSOR_DEFINES): Add STANDARD_EXEC_PREFIX.
      	* c-incpath.c (add_standard_paths): Correct logic for relocating
      	paths within prefix.
      
      From-SVN: r122843
      Mark Mitchell committed
  11. 20 Dec, 2006 1 commit
  12. 20 Nov, 2006 1 commit
    • cppdefault.c: Define cpp_PREFIX, cpp_PREFIX_len, and gcc_exec_prefix. · 76642aab
      gcc/
      
      2006-11-20  Carlos O'Donell  <carlos@codesourcery.com>
      	    Mark Mitchell  <mark@codesourcery.com>
      
      	* cppdefault.c: Define cpp_PREFIX, cpp_PREFIX_len, and 
      	gcc_exec_prefix.
      	(cpp_relocated): New function.
      	* cppdefault.h: Declare cpp_PREFIX, cpp_PREFIX_len, gcc_exec_prefix 
      	and cpp_relocated. 
      	* Makefile.in (PREPROCESSOR_DEFINES): Add -DPREFIX option.
      	* c-incpath.c (add_standard_paths): Call cpp_relocated. If relocated,
      	replace configured prefix with gcc_exec_prefix. 
      
      
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      
      From-SVN: r119017
      Carlos O'Donell committed
  13. 18 May, 2006 1 commit
  14. 20 Jan, 2006 1 commit
    • re PR libstdc++/25524 (libstdc++ headers should go in multilib directories) · 2b6dd222
      	PR libstdc++/25524
      	* cppdefault.h (struct default_include): Add multilib flag.
      	* cppdefault.c (cpp_include_defaults): Set it.
      	* c.opt (-imultilib): New option.
      	* c-opts.c (imultilib): New.
      	(c_common_handle_option): Handle -imultilib.
      	(c_common_post_options): Likewise.
      	* c-incpath.c (add_standard_paths, register_include_chains):
      	Likewise.
      	* c-incpath.h (register_include_chains): Add extra parameter.
      	* gcc.c (do_spec_1): Generate -imultilib option.
      	(The Specs Language): Update %I description.
      	(process_command): Update copyright notice.
      	* doc/cppopts.texi (-imultilib): Document.
      	* doc/invoke.texi (-imultilib): Include in option summary.
      	(%I): Update specs documentation.
      
      libstdc++-v3:
      	* include/Makefile.am: Install host-specific headers in multilib
      	subdirectory.
      	* include/Makefile.in: Regenerate.
      
      From-SVN: r110037
      Joseph Myers committed
  15. 17 Dec, 2005 1 commit
    • tree-inline.c (copy_body_r): Use explicit cast when converting from void *. · cceb1885
              * tree-inline.c (copy_body_r): Use explicit cast when
                converting
              from void *.
              (copy_bb): Likewise.
              (copy_edges_for_bb): Likewise.
              (remap_decl_1): Likewise.
              (estimate_num_insns_1): Likewise.
              * cgraph.c (hash_node): Use explicit cast when converting from
              void *.
              (eq_node): Likewise.
              (cgraph_create_node): Use GGC_CNEW.
              (cgraph_create_edge): Use GGC_NEW.
              (cgraph_remove_node): Use explicit cast when converting from
                void *.
              (hash_varpool_node): Likewise.
              (eq_varpool_node): Likewise.
              (cgraph_varpool_node): Use GGC_CNEW.
              * lambda.h (lambda_vector_new): Use GGC_CNEWVEC.
              * tree-scalar-evolution.c (new_scev_info_str): Use XNEW.
              (eq_scev_info): Use explicit cast when converting from void *.
              (find_var_scev_info): Likewise.
              (set_instantiated_value): Likewise.
              (gather_stats_on_scev_database_1): Likewise.
              * cfgloop.h (simple_loop_desc): Use explicit cast when
                converting
              from void *.
              * c-pch.c (c_common_write_pch): Use XNEWVEC.
              (c_common_read_pch): Likewise.
              * prefix.c (save_string): Use XNEWVEC.
              (translate_name): Use explicit cast when converting from void
                *.
              * c-ppoutput.c (print_line): Use explicit cast when converting
              from void *.
              (pp_dir_change): Likewise.
              * c-cppbuiltin.c (builtin_define_std): Likewise.
              (builtin_define_with_value): Likewise.
              (builtin_define_with_value_n): Likewise.
              (builtin_define_with_int_value): Likewise.
              (builtin_define_type_max): Likewise.
              * c-incpath.c (add_env_var_paths): Use XNEWVEC.
              (add_path): Use XNEW.
              * c-format.c (check_format_info_main): Use GGC_NEW.
              (format_type_warning): Use explicit cast when converting from
                void *.
              * c-typeck.c (alloc_tagged_tu_seen_cache): Use XNEW instead of
              xmalloc. 
              (start_init): Likewise.
              * tree-flow-inline.h (first_referenced_var): Use explicit cast
              when converting from void *.
              (next_referenced_var): Likewise.
              * c-pragma.c (push_alignment): Use GGC_NEW instead of
                ggc_alloc.
              * gensupport.c (lookup_predicate): Use explicit cast to
                convert
              from void *.
              (init_predicate_table): Use XCNEW instead of xcalloc.
              * genpreds.c (process_define_predicate): Likewise.
      
      From-SVN: r108723
      Gabriel Dos Reis committed
  16. 25 Jun, 2005 1 commit
  17. 23 Jan, 2005 1 commit
    • alias.c, [...]: Fix comment typos. · 35fd3193
      	* alias.c, c-common.h, c-incpath.c, c-incpath.h, expr.c,
      	fold-const.c, gimplify.c, params.h, tree-data-ref.c,
      	tree-if-conv.c, tree-nested.c, tree-outof-ssa.c,
      	tree-ssa-dom.c, tree-vectorizer.c, tree.def, config/darwin.c,
      	config/freebsd-spec.h, config/arm/arm.h,
      	config/h8300/h8300.md, config/i386/i386.md,
      	config/i386/predicates.md, config/i386/sse.md,
      	config/ia64/ia64.c, config/ip2k/ip2k.c, config/s390/s390.c,
      	config/vax/vax.md: Fix comment typos.  Follow spelling
      	conventions.
      
      From-SVN: r94112
      Kazu Hirata committed
  18. 09 Dec, 2004 1 commit
  19. 03 Oct, 2004 1 commit
  20. 16 Sep, 2004 1 commit
    • re PR libobjc/11572 (GNU libobjc no longer compiled on Darwin) · 3dd53121
      2004-09-15  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR target/11572
              * c-incpath.h (target_c_incpath_s): Add extra_pre_includes.
              Add two parameters to extra_includes.
              (C_INCPATH_INIT): Remove.
              * c-incpath.c (register_include_chains): Call extra_pre_includes
              before adding the standard include directory.
              Update call to extra_includes.
              (!defined TARGET_EXTRA_INCLUDES): Update
              hook_void_charptr_charptr_int and add !define
              TARGET_EXTRA_PRE_INCLUDES.
              (!define TARGET_EXTRA_INCLUDES): Define as
              hook_void_charptr_charptr_int.
              (!define TARGET_EXTRA_PRE_INCLUDES): Likewise.
              (target_c_incpath): Always declare.
              * fixinclude.c (defined TARGET_EXTRA_INCLUDES): Declare a
              empty function.
              (define TARGET_EXTRA_PRE_INCLUDES): Likewise.
              * config/darwin.h: (darwin_register_frameworks): Update for
              the two new parameters.
              (darwin_register_objc_includes): Add prototype.
              (TARGET_EXTRA_PRE_INCLUDES): Define.
              * config/darwin-c.c (darwin_register_objc_includes): New function.
              (darwin_register_frameworks): Update for the two new parameters.
              (target_c_incpath): Remove.
              * config/t-darwin (darwin-c.o): Add $(PREPROCESSOR_DEFINES) to
              the compile line.
              * doc/tm.texi (TARGET_EXTRA_INCLUDES): Document the two new
              parameters.
              (TARGET_EXTRA_PRE_INCLUDES): Document.
      
              * gcc.c (spec_function): Add replace-outfile.
              (replace_outfile_spec_function): New function.
              * config/darwin.h (LINK_SPEC): Add replace
              -lobjc with -lobjc-gnu if -fgnu-runtime is
              supplied.
              * invoke.texi (replace-outfile): Document.
      
      From-SVN: r87588
      Andrew Pinski committed
  21. 10 Sep, 2004 1 commit
    • bb-reorder.c, [...]: Fix comment typos. · 89dbed81
      	* bb-reorder.c, c-common.c, c-incpath.c, c-typeck.c,
      	genrecog.c, lambda-code.c, mips-tdump.c, mips-tfile.c,
      	passes.c, tree-data-ref.c, tree-data-ref.h, tree-mudflap.c,
      	tree-scalar-evolution.c, tree-ssa-copyrename.c,
      	tree-ssa-live.c, tree-ssa-live.h: Fix comment typos.
      
      From-SVN: r87302
      Kazu Hirata committed
  22. 31 May, 2004 1 commit
  23. 30 May, 2004 1 commit
    • bb-reorder.c, [...]: Fix comment formatting. · 9cf737f8
      	* bb-reorder.c, builtins.c, c-common.c, c-gimplify.c,
      	c-incpath.c, cgraphunit.c, ddg.c, defaults.h, dwarf2out.c,
      	expmed.c, flags.h, gcc.c, gensupport.c, gimplify.c, global.c,
      	passes.c, reg-stack.c, target.h, toplev.c, tree-alias-ander.c,
      	tree-alias-common.c, tree-cfg.c, tree-complex.c, tree-dfa.c,
      	tree-eh.c, tree-mudflap.c, tree-mudflap.h, tree-outof-ssa.c,
      	tree-phinodes.c, tree-pretty-print.c, tree-ssa-alias.c,
      	tree-ssa-ccp.c, tree-ssa-live.c, tree-ssa-live.h,
      	tree-ssa-pre.c, tree.h, value-prof.h, varasm.c: Fix comment
      	formatting.
      
      From-SVN: r82463
      Kazu Hirata committed
  24. 22 May, 2004 1 commit
    • c.opt (Wmissing-include-dirs): New. · b02398bd
      	* c.opt (Wmissing-include-dirs): New.
      	* c-opts.c (c_common_handle_option): Pass true for user_supplied_p
      	to add_path () for -I, but false for OPT_idirafter, OPT_iquote and
      	OPT_isystem. Handle case OPT_Wmissing_include_dirs.
      	* c-incpath.h (add_path): Add fourth (bool) argument.
      	* c-incpath.c (add_env_var_paths): Pass false to add_path ().
      	(add_standard_paths): Likewise.
      	(remove_duplicates) [REASON_NOENT]: Warn if -Wmissing-include-dirs
      	is used and the directory was user-supplied via -I.
      	(add_path): Set p->user_supplied_p.  Remove duplicated code by
      	using add_cpp_dir_path ().
      	* cpplib.h (struct cpp_options): Add warn_missing_include_dirs.
      	(struct cpp_dir): Add user_supplied_p.
      	* doc/invoke.texi (Warning Options): Document new option.
      
      [testsuite]
      	* gcc.dg/cpp/Wmissingdirs.c: New.
      
      From-SVN: r82121
      Ben Elliston committed
  25. 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
  26. 15 Mar, 2004 1 commit
    • c-incpath.c, [...]: Update copyright. · ca2b05ba
      gcc/
      	* c-incpath.c, c-incpath.h, c-pch.c, c.opt, cppexp.c,
      	et-forest.h, genattr.c, ggc-none.c, hosthooks-def.h,
      	hosthooks.h, params.h, ra-colorize.c, web.c,
      	config/darwin-c.c, config/alpha/freebsd.h, config/arm/pe.c,
      	config/avr/avr-protos.h, config/avr/avr.md,
      	config/fr30/fr30-protos.h, config/fr30/fr30.md,
      	config/h8300/fixunssfsi.c, config/i386/darwin.h,
      	config/i386/freebsd.h, config/i386/freebsd64.h,
      	config/ia64/hpux.h, config/ia64/unwind-ia64.c,
      	config/ip2k/libgcc.S, config/m32r/xm-m32r.h,
      	config/mmix/mmix-modes.def, config/ns32k/netbsd.h,
      	config/ns32k/ns32k.md, config/pa/pa64-hpux.h,
      	config/pa/pa64-regs.h, config/rs6000/aix41.h,
      	config/rs6000/aix43.h, config/rs6000/host-darwin.c,
      	config/sparc/aout.h, config/sparc/freebsd.h,
      	config/sparc/litecoff.h, config/vax/vax-protos.h,
      	doc/hostconfig.texi, doc/include/gcc-common.texi: Update
      	copyright.
      
      gcc/cp/
      	* cp-lang.c, ptree.c: Update copyright.
      
      From-SVN: r79506
      Kazu Hirata committed
  27. 04 Mar, 2004 1 commit
    • Add framework support for darwin. · 94d1613b
      	* c-incpath.c: Include target.h and machmode.h.
      	(add_path): Use a consistent style for cpp_dir.  Initialize
      	p->construct to 0.
      	(add_cpp_dir_path): New.
      	(register_include_chains): Add use of extra_includes callback.
      	(hook_void_int): Add.
      	(target_c_incpath): Add.
      	* c-incpath.h (add_cpp_dir_path): New.
      	(target_c_incpath_s): Add.
      	(target_c_incpath): Add.
      	(C_INCPATH_INIT): Add.
      	* c-opts.c (c_common_missing_argument,
      	c_common_handle_option): Add -F argument processing.
      	* c.opt: Add -F argument processing.
      	* gcc.c (trad_capable_cpp): Add -F argument processing.
      	* cppfiles.c (find_file_in_dir): Update to use construct
      	callback.
      	(search_path_exhausted, cpp_get_path, cpp_get_buffer,
      	cpp_get_prev): New.
      	(_cpp_find_file): Use search_path_exhausted.
      	(make_cpp_dir): Initialize construct to 0.
      	* cpplib.h (missing_header_cb
      	cpp_get_path, cpp_get_buffer, cpp_get_file, cpp_get_prev): New.
      	(cpp_callbacks): Add missing_header
      	(cpp_dir): Add construct.
      	* target-def.h: (TARGET_OPTF): New.
      	* hooks.c (hook_void_int, hook_void_charptr): Add.
      	* hooks.h (hook_void_int, hook_void_charptr): Add.
      	* Makefile.in (c-incpath.o) : Add $(TARGET_H) and
      	$(MACHMODE_H) dependencies.
      	* doc/invoke.texi (Darwin Options): Document -F.
      	* doc/tm.texi (TARGET_EXTRA_INCLUDES): Add.
      	(TARGET_OPTF): Add.
      	* fix-header.c (target_c_incpath): Add.
      
      	* config/darwin-c.c: Add c-incpath.h include.
      	(using_frameworks, find_subframework_file,
      	find_subframework_header, add_system_framework_path,
      	frameworks_in_use, num_frameworks, max_frameworks,
      	add_framework, find_framework, struct framework_header,
      	framework_header_dirs, framework_construct_pathname,
      	find_subframework_file, add_system_framework_path,
      	add_framework_path, framework_defaults,
      	darwin_register_frameworks, find_subframework_header): Add.
      	* config/darwin.h (TARGET_EXTRA_INCLUDES, TARGET_OPTF): New.
      	(TARGET_OPTION_TRANSLATE_TABLE): Add -framework support.
      	(CPP_SPEC): Add __APPLE_CC__ support.
      	* t-darwin (darwin-c.o): Add c-incpath.h dependency.
      
      From-SVN: r78875
      Mike Stump committed
  28. 01 Nov, 2003 1 commit
  29. 29 Jul, 2003 1 commit
    • Makefile.in (LIBCPP_DEPS): Add HASHTAB_H. · 8f9b4009
      	* Makefile.in (LIBCPP_DEPS): Add HASHTAB_H.
      	* cppfiles.c: Completely rewritten.
      	* c-incpath.c (free_path, remove_duplicates, heads, tails, add_path):
      	struct cpp_path is now struct cpp_dir.
      	(remove_duplicates): Don't simplify path names.
      	* c-opts.c (c_common_parse_file): cpp_read_next_file renamed
      	cpp_stack_file.
      	* cpphash.h: Include hashtab.h.
      	(_cpp_file): Declare.
      	(struct cpp_buffer): struct include_file is now struct _cpp_file,
      	and struct cpp_path is now struct cpp_dir.  Rename members.
      	(struct cpp_reader): Similarly.  New members once_only_files,
      	file_hash, file_hash_entries, quote_ignores_source_dir,
      	no_search_path, saw_pragma_once.  Remove all_include_files and
      	max_include_len.  Make some members bool.
      	(_cpp_mark_only_only): Renamed from _cpp_never_reread.
      	(_cpp_stack_file): Renamed from _cpp_read_file.
      	(_cpp_stack_include): Renamed from _cpp_execute_include.
      	(_cpp_init_files): Renamed from _cpp_init_includes.
      	(_cpp_cleanup_files): Renamed from _cpp_cleanup_includes.
      	* cppinit.c (cpp_create_reader): Initialize no_search_path.  Update.
      	(cpp_read_next_file): Rename and move to cppfiles.c.
      	(cpp_read_main_file): Update.
      	* cpplib.c (run_directive): Update for renamed members.
      	(do_include_common, _cpp_pop_buffer): Update.
      	(do_import): Undeprecate #import.
      	(do_pragma_once): Undeprecate.  Use _cpp_mark_file_once_only.
      	* cpplib.h: Remove file_name_map_list.
      	(cpp_options): Remove map_list.
      	(cpp_dir): Rename from cpp_path.  New datatype for name_map.
      	(cpp_set_include_chains, cpp_stack_file, cpp_included): Update.
      testsuite:
      	* gcc.dg/cpp/include2.c: Only expect one message.
      
      From-SVN: r69942
      Neil Booth committed
  30. 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
  31. 05 Jul, 2003 1 commit
    • bt-load.c: Fix comment typos. · 4d6922ee
      	* bt-load.c: Fix comment typos.
      	* c-incpath.c: Likewise.
      	* cfg.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfgloop.h: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* diagnostic.h: Likewise.
      	* dwarfout.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* et-forest.c: Likewise.
      	* et-forest.h: Likewise.
      	* expr.c: Likewise.
      	* gcse.c: Likewise.
      	* genattr.c: Likewise.
      	* jump.c: Likewise.
      	* langhooks.h: Likewise.
      	* local-alloc.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* loop-unswitch.c: Likewise.
      	* ra-build.c: Likewise.
      	* regclass.c: Likewise.
      	* regmove.c: Likewise.
      	* rtl.def: Likewise.
      	* rtlanal.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* ssa.c: Likewise.
      	* tracer.c: Likewise.
      	* tree.c: Likewise.
      
      From-SVN: r68975
      Kazu Hirata committed
  32. 19 Jun, 2003 1 commit
    • c-aux-info.c: Convert to ISO C99. · 35b1a6fa
      	* c-aux-info.c: Convert to ISO C99.
      	* c-pragma.c: Likewise.
      	* c-common.c: Likewise.
      	* c-common.h: Likewise.
      	* c-convert.c: Likewise.
      	* c-cppbuiltin.c: Likewise.
      	* c-dump.c: Likewise.
      	* c-decl.c: Likewise
      	* c-format.c: Likewise.
      	* c-incpath.c: Likewise.
      	* c-incpath.h: Likewise.
      
      From-SVN: r68218
      Andreas Jaeger committed
  33. 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
  34. 25 Mar, 2003 1 commit
  35. 02 Mar, 2003 2 commits
  36. 01 Mar, 2003 1 commit
    • Makefile.in (C_AND_OBJC_OBJS, [...]): Update. · 5793b276
      	* Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS,
      	cppinit.o, cppdefault.o, fix-header): Update.
      	* c-incpath.c: New file.
      	* c-incpath.h: New file.
      	* c-lex.c: Include c-incpath.h.
      	(init_c_lex): Register path simplifier.
      	* c-opts.c: Include cppdefault.h and c-incpath.h.
      	(TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc,
      	std_cxx_inc, quote_chain_split, add_prefixed_path): New.
      	(COMMAND_LINE_OPTIONS): Add more options from cpplib.
      	(missing_arg, c_common_decode_option): Handle them.
      	(c_common_post_options): Register include chains.
      	(print_help): Update.
      	* cppdefault.h (struct default include): Update.
      	Move some macros to ...
      	* cppdefault.c: ... here.
      	(cpp_include_defaults): Add extra field add_sysroot.
      	* cppfiles.c (include_file, search_from, find_or_create_entry,
      	cpp_included, find_include_file, remap_filename): Update for
      	renaming of search_path to cpp_path, and of the chain headers.
      	(remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c.
      	* cpphash.h (struct search_path): Move to cpplib.h.
      	(struct cpp_buffer, struct cpp_reader): Update.
      	(_cpp_simplify_pathname): Remove.
      	* cppinit.c: Don't include prefix.h and cppdefault.h.
      	(INO_T_EQ, INO_T_COPY, path_include, append_include_chain,
      	remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs,
      	init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir,
      	no_pth, cpp_handle_options): Remove.
      	(struct pending_option): Remove chain members.
      	(cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS,
      	cpp_handle_option): Update.
      	* cpplib.h (struct cpp_path, cpp_set_include_chains): New.
      	(struct cpp_options): Remove quote_include, bracket_include,
      	include_prefix, include_prefix_len, verbose, ignore_srcdir,
      	no_standard_includes, no_standard_cplusplus_includes.
      	(struct cpp_callbacks): Add simplify_path.
      	(cpp_handle_options): Remove.
      	* fix-header.c: Include c-incpath.h.
      	(read_scan_file): Update to use c-incpath functionality.
      	* doc/passes.texi: Update.
      cp:
      	* Make-lang.in (CXX_C_OBJS): Update.
      
      From-SVN: r63612
      Neil Booth committed