1. 21 Dec, 2010 1 commit
  2. 19 Dec, 2010 3 commits
  3. 18 Dec, 2010 1 commit
  4. 17 Dec, 2010 1 commit
  5. 13 Dec, 2010 1 commit
  6. 05 Dec, 2010 1 commit
  7. 29 Nov, 2010 1 commit
  8. 28 Nov, 2010 1 commit
  9. 26 Nov, 2010 1 commit
    • options.texi (Enum, EnumValue): Document new record types. · e6d4b984
      	* doc/options.texi (Enum, EnumValue): Document new record types.
      	(Enum): Document new option flag.
      	* opt-functions.awk
      	* optc-gen.awk: Handle enumerated option arguments.
      	* opth-gen.awk: Handle enumerated option arguments.
      	* opts-common.c (enum_arg_ok_for_language, enum_arg_to_value,
      	enum_value_to_arg): New.
      	(decode_cmdline_option): Handle enumerated arguments.
      	(read_cmdline_option): Handle CL_ERR_ENUM_ARG.
      	(set_option, option_enabled, get_option_state): Handle CLVC_ENUM.
      	* opts.c (print_filtered_help, print_specific_help): Take
      	lang_mask arguments.
      	(print_filtered_help): Handle printing values of enumerated
      	options.  Print possible arguments for enumerated options.
      	(print_specific_help): Update call to print_filtered_help.
      	(common_handle_option): Update calls to print_specific_help.  Use
      	value rather than arg for OPT_fdiagnostics_show_location_.  Don't
      	handle OPT_ffp_contract_, OPT_fexcess_precision_,
      	OPT_fvisibility_, OPT_ftls_model_, OPT_fira_algorithm_ or
      	OPT_fira_region_ here.
      	* opts.h (enum cl_var_type): Add CLVC_ENUM.
      	(struct cl_option): Add var_enum.
      	(CL_ENUM_CANONICAL, CL_ENUM_DRIVER_ONLY, struct cl_enum_arg,
      	struct cl_enum, cl_enums, cl_enums_count): New.
      	(CL_ERR_ENUM_ARG): Define.
      	(CL_ERR_NEGATIVE): Update value.
      	(enum_value_to_arg): Declare.
      	* common.opt (flag_ira_algorithm, flag_ira_region,
      	flag_fp_contract_mode, flag_excess_precision_cmdline,
      	default_visibility, flag_tls_default): Remove Variable entries.
      	(help_enum_printed): New Variable.
      	(fdiagnostics-show-location=): Use Enum.  Add associated
      	SourceInclude, Enum and EnumValue entries.
      	(fexcess-precision=, ffp-contract=, fira-algorithm=, fira-region=,
      	ftls-model=, fvisibility=): Use Enum, Var and Init.  Add
      	associated Enum and EnumValue entries.
      
      po:
      	* exgettext: Handle UnknownError.
      
      From-SVN: r167190
      Joseph Myers committed
  10. 21 Nov, 2010 1 commit
  11. 14 Nov, 2010 1 commit
  12. 13 Nov, 2010 1 commit
  13. 12 Nov, 2010 1 commit
  14. 10 Nov, 2010 2 commits
  15. 22 Oct, 2010 3 commits
  16. 13 Oct, 2010 1 commit
  17. 07 Oct, 2010 1 commit
  18. 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
  19. 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
  20. 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
  21. 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
  22. 01 May, 2010 1 commit
  23. 26 Apr, 2010 1 commit
  24. 20 Apr, 2010 1 commit
  25. 19 Apr, 2010 1 commit
  26. 16 Apr, 2010 1 commit
  27. 06 Apr, 2010 1 commit
  28. 26 Mar, 2010 1 commit
  29. 09 Mar, 2010 1 commit
  30. 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
  31. 24 Feb, 2010 1 commit
  32. 21 Feb, 2010 1 commit
  33. 14 Feb, 2010 1 commit
  34. 07 Feb, 2010 2 commits