1. 13 Oct, 2010 1 commit
  2. 07 Oct, 2010 1 commit
  3. 02 Sep, 2010 1 commit
    • opts.h (struct cl_option): Add warn_message field. · 2d2bd949
      	* opts.h (struct cl_option): Add warn_message field.
      	(struct cl_decoded_option): Add warn_message field.
      	* doc/options.texi (Ignore, Warn): Document.
      	* opt-functions.awk (needs_state_p): Don't consider aliases or
      	ignored options to need state saved.
      	* optc-gen.awk: Handle Warn and Ignore.
      	* opth-gen.awk: Output OPT_SPECIAL_ignore.
      	* opts-common.c (decode_cmdline_option): Set warn_message field.
      	Handle ignored options.
      	(decode_cmdline_options_to_array, generate_option,
      	generate_option_input_file): Set warn_message field.
      	(read_cmdline_option): Generate warnings from warn_message field.
      	Handle ignored options.
      	* common.opt (Wunreachable-code, fargument-alias,
      	fargument-noalias, fargument-noalias-global,
      	fargument-noalias-anything, fcse-skip-blocks, fforce-addr,
      	floop-optimize, frerun-loop-opt, fsched2-use-traces, fsee,
      	fstrength-reduce, ftree-store-ccp, ftree-store-copy-prop,
      	ftree-salias): Mark Ignore.
      	* config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -mcpu,
      	-mintel-syntax and -mno-intel-syntax here.
      	* config/i386/i386.opt (mcpu=, mintel-syntax): Define as aliases
      	using Warn.
      	* opts.c (common_handle_option): Don't handle options marked as
      	ignored.
      	(enable_warning_as_error): Handle ignored options.
      
      c-family:
      	* c.opt (Wimport, fall-virtual, falt-external-templates,
      	fdefault-inline, fenum-int-equiv, fexternal-templates,
      	fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
      	fname-mangling-version-, fnew-abi, fnonnull-objects,
      	foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
      	fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
      	applicable.
      	(fhandle-exceptions): Mark with Alias and Warn.
      	* c-opts.c (c_common_handle_option): Don't handle options marked
      	as ignored.
      
      po:
      	* exgettext: Handle {} in operand of MissingArgError.  Handle
      	Warn.
      
      From-SVN: r163771
      Joseph Myers committed
  4. 27 Jul, 2010 1 commit
    • common.opt (o): Add MissingArgError. · 61ff2bdc
      	* common.opt (o): Add MissingArgError.
      	* doc/options.texi (MissingArgError): Document.
      	* hooks.c (hook_bool_constcharptr_size_t_false): Remove.
      	* hooks.h (hook_bool_constcharptr_size_t_false): Remove.
      	* langhooks-def.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
      	(LANG_HOOKS_INITIALIZER): Remove missing_argument hook
      	initializer.
      	* langhooks.h (struct lang_hooks): Remove missing_argument.
      	* optc-gen.awk: Handle MissingArgError and output new structure
      	field initializers.
      	* opts.c (read_cmdline_option): Use missing_argument_error field
      	instead of missing_argument langhook.
      	* opts.h (struct cl_option): Add missing_argument_error field.
      	* system.h (LANG_HOOKS_MISSING_ARGUMENT): Poison.
      
      c-family:
      	* c-common.h (c_common_missing_argument): Remove.
      	* c-opts.c (c_common_missing_argument): Remove.
      	* c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
      	idirafter, imacros, include, isysroot, isystem, iquote): Add
      	MissingArgError.
      	* c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
      
      cp:
      	* cp-objcp-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
      
      po:
      	* exgettext: Also extract MissingArgError texts from .opt files.
      
      From-SVN: r162571
      Joseph Myers committed
  5. 29 Jun, 2010 1 commit
    • re PR other/44034 (target hooks are hard to maintain) · 38f8b050
      gcc:
      	PR other/44034
      	* target.def, doc/tm.texi.in, genhooks.c: New files.
      	* target.h: Instead of defining individual hook members,
      	define DEFHOOKPOD / DEFHOOK / DEFHOOK_UNDOC / HOOKSTRUCT and
      	include target.def.
      	* target-def.h: Instead of defining individual hook initializers,
      	include target-hooks-def.h.
      	* df-scan.c, haifa-sched.c, sel-sched.c: Rename targetm members:
      	targetm.live_on_entry -> targetm.extra_live_on_entry
      	targetm.sched.md_finish ->targetm.sched.finish
      	targetm.sched.md_init -> targetm.sched.init
      	targetm.sched.md_init_global -> targetm.sched.init_global
      	targetm.asm_out.unwind_label -> targetm.asm_out.emit_unwind_label
      	targetm.asm_out.except_table_label ->
      	  targetm.asm_out.emit_except_table_label
      	targetm.asm_out.visibility -> targetm.asm_out.assemble_visibility
      	targetm.target_help -> targetm.help
      	targetm.vectorize.builtin_support_vector_misalignment ->
      	  targetm.vectorize.support_vector_misalignment
      	targetm.file_start_app_off -> targetm.asm_file_start_app_off
      	targetm.file_start_file_directive ->
      	 targetm.asm_file_start_file_directive
      	* dwarf2out.c, opts.c, tree-vect-data-refs.c, except.c: Likewise.
      	* varasm.c, config/alpha/alpha.c, config/cris/cris.c: Likewise.
      	* gcc/config/spu/spu.c, config/ia64/ia64.c: Rename target macros:
      	TARGET_VECTOR_ALIGNMENT_REACHABLE ->
      	  TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE
      	TARGET_SUPPORT_VECTOR_MISALIGNMENT ->
      	  TARGET_VECTORIZE_SUPPORT_VECTOR_MISALIGNMENT
      	TARGET_UNWIND_EMIT -> TARGET_ASM_UNWIND_EMIT
      	* config/rs6000/rs6000.c, config/arm/arm.c: Likewise.
      	* Makefile.in (TARGET_H): Depend on target.def.
      	(TARGET_DEF_H): Depend on target-hooks-def.h.
      	(target-hooks-def.h, tm.texi, s-target-hooks-def-h): New rules.
      	(s-tm-texi, build/genhooks.o, build/genhooks): Likewise.
      	* doc/tm.texi: Regenerate.
      gcc/c-family:
      	* c-common.c: Rename targetm member:
      	targetm.enum_va_list -> targetm.enum_va_list_p
      gcc/po:
      	* EXCLUDES: Add genhooks.c.
      Index: gcc/doc/tm.texi
      
      From-SVN: r161547
      Joern Rennecke committed
  6. 05 Jun, 2010 1 commit
    • c-common.c: Move to c-family/. · 39dabefd
      gcc/ChangeLog:
      	* c-common.c: Move to c-family/.
      	* c-common.def: Likewise.
      	* c-common.h: Likewise.
      	* c-cppbuiltin.c: Likewise.
      	* c-dump.c: Likewise.
      	* c-format.c: Likewise.
      	* c-format.h : Likewise.
      	* c-gimplify.c: Likewise.
      	* c-lex.c: Likewise.
      	* c-omp.c: Likewise.
      	* c.opt: Likewise.
      	* c-opts.c: Likewise.
      	* c-pch.c: Likewise.
      	* c-ppoutput.c: Likewise.
      	* c-pragma.c: Likewise.
      	* c-pragma.h: Likewise.
      	* c-pretty-print.c: Likewise.
      	* c-pretty-print.h: Likewise.
      	* c-semantics.c: Likewise.
      	* stub-objc.c: Likewise.
      
      	* gengtype.c (get_file_langdir): Special-case files in c-family/.
      	(get_output_file_with_visibility): Fix name for c-common.h.
      	* c-config-lang.in: Update paths in gtfiles for files in c-family/.
      
      	* c-tree.h: Update include path for moved files.
      	* c-lang.c: Likewise.
      	* c-lang.h: Likewise.
      	* c-parser.c: Likewise.
      	* c-convert.c: Likewise.
      	* c-decl.c: Likewise.
      	* c-objc-common.c: Likewise.
      	* configure.ac: Make sure c-family/ exists in the build directory.
      	* configure: Regenerate.
      	* Makefile.in: Update paths for moved files.  Regroup files per
      	location and update dependencies.  Move generated_files down after
      	ALL_GTFILES_H.
      
      	* config/spu/spu-c.c: Update paths for moved files.
      	* config/mep/mep-pragma.c: Likewise.
      	* config/darwin-c.c: Likewise.
      	* config/i386/msformat-c.c: Likewise.
      	* config/i386/i386-c.c: Likewise.
      	* config/avr/avr-c.c: Likewise.
      	* config/sol2-c.c: Likewise.
      	* config/ia64/ia64-c.c: Likewise.
      	* config/rs6000/rs6000-c.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/arm/arm-c.c: Likewise.
      	* config/h8300/h8300.c: Likewise.
      	* config/v850/v850-c.c: Likewise.
      
      	* config/t-darwin: Fix dependencies for moved files.
      	* config/t-sol2: Fix dependencies for moved files.
      	* config/mep/t-mep: Fix dependencies for moved files.
      	* config/ia64/t-ia64: Fix dependencies for moved files.
      	* config/rs6000/t-rs6000: Fix dependencies for moved files.
      	* config/v850/t-v850: Fix dependencies for moved files.
      	* config/v850/t-v850e: Fix dependencies for moved files.
      
      	* config/m32c/m32c-pragma.c
      
      	* po/exgettext: Look in c-family/ also.
      
      c-family/ChangeLog:
      	* c-common.c: Include gt-c-family-c-common.h.
      	* c-pragma.c: Include gt-c-family-c-pragma.h.
      
      objc/ChangeLog:
      	* objc-act.c: Update include path for moved files.
      	* objc-lang.c: Likewise.
      	* config-lang.in: Update paths in gtfiles for files in c-family/.
      
      objcp/ChangeLog:
      	* objcp-lang.c: Update include path for moved files.
      	* config-lang.in: Update paths in gtfiles for files in c-family/.
      
      cp/ChangeLog:
      	* typeck.c: Update include path for moved files.
      	* decl.c: Likewise.
      	* rtti.c: Likewise.
      	* cp-gimplify.c: Likewise.
      	* cp-lang.c: Likewise.
      	* pt.c: Likewise.
      	* semantics.c: Likewise.
      	* cxx-pretty-print.h: Likewise.
      	* decl2.c: Likewise.
      	* parser.c: Likewise.
      	* cp-objcp-common.c: Likewise.
      	* cp-tree.h: Likewise.
      	* name-lookup.c: Likewise.
      	* lex.c: Likewise.
      	* name-lookup.h: Likewise.
      	* config-lang.in: Update paths in gtfiles for files in c-family/.
      	* Make-lang.in: Likewise.
      
      From-SVN: r160330
      Steven Bosscher committed
  7. 01 May, 2010 1 commit
  8. 26 Apr, 2010 1 commit
  9. 20 Apr, 2010 1 commit
  10. 19 Apr, 2010 1 commit
  11. 16 Apr, 2010 1 commit
  12. 06 Apr, 2010 1 commit
  13. 26 Mar, 2010 1 commit
  14. 09 Mar, 2010 1 commit
  15. 01 Mar, 2010 1 commit
    • toplev.h (inform_n, error_n): Declare. · 894e2652
      gcc/
      2010-03-01  Marco Poletti  <poletti.marco@gmail.com> 
      
              * toplev.h (inform_n, error_n): Declare.
              * diagnostic.c (inform_n, error_n): New function.
      
      gcc/cp/
      2010-03-01  Marco Poletti  <poletti.marco@gmail.com>
      
              * pt.c (redeclare_class_template): Use error_n and inform_n.
      
      gcc/po
      2010-03-01  Shujing Zhao  <pearly.zhao@oracle.com>
      
              * exgettext: Handle the functions that end with _n.
      
      From-SVN: r157134
      Shujing Zhao committed
  16. 24 Feb, 2010 1 commit
  17. 21 Feb, 2010 1 commit
  18. 14 Feb, 2010 1 commit
  19. 07 Feb, 2010 2 commits
  20. 05 Feb, 2010 1 commit
  21. 04 Feb, 2010 1 commit
  22. 01 Feb, 2010 1 commit
  23. 24 Jan, 2010 1 commit
  24. 22 Jan, 2010 1 commit
  25. 20 Jan, 2010 1 commit
  26. 18 Jan, 2010 1 commit
  27. 17 Jan, 2010 1 commit
  28. 14 Jan, 2010 1 commit
  29. 11 Jan, 2010 4 commits
  30. 10 Jan, 2010 1 commit
  31. 04 Jan, 2010 1 commit
  32. 29 Dec, 2009 1 commit
  33. 27 Dec, 2009 1 commit
  34. 20 Dec, 2009 1 commit
  35. 18 Dec, 2009 1 commit
  36. 16 Dec, 2009 1 commit