1. 29 Aug, 2007 8 commits
  2. 28 Aug, 2007 22 commits
  3. 27 Aug, 2007 10 commits
    • extend.texi (gnu_inline funtion attribute): Document C++ behavior. · 3a47c4e4
      gcc/ChangeLog:
      * doc/extend.texi (gnu_inline funtion attribute): Document C++
      behavior.
      gcc/cp/ChangeLog:
      * decl.c (GNU_INLINE_P): New.
      (duplicate_decls): Handle gnu_inline.  Merge attributes and
      some flags in overriding definitions.
      (redeclaration_error_message): Handle gnu_inline.
      (start_preparsed_function): Likewise.
      gcc/testsuite/ChangeLog:
      * g++.dg/ext/gnu-inline-common.h: New.
      * g++.dg/ext/gnu-inline-global-reject.C: New.
      * g++.dg/ext/gnu-inline-global.C: New.
      * g++.dg/ext/gnu-inline-namespace.C: New.
      * g++.dg/ext/gnu-inline-anon-namespace.C: New.
      * g++.dg/ext/gnu-inline-class.C: New.
      * g++.dg/ext/gnu-inline-class-static.C: New.
      * g++.dg/ext/gnu-inline-template-class.C: New.
      * g++.dg/ext/gnu-inline-template-func.C: New.
      
      From-SVN: r127839
      Alexandre Oliva committed
    • re PR c++/31337 (ICE with statement expression) · 83d7e8f0
              PR c++/31337
              * gimplify.c (gimplify_modify_expr): Discard the assignment of
              zero-sized types after calling gimplify_modify_expr_rhs.
              * testsuite/g++.dg/ext/stmtexpr11.C: New.
      
      From-SVN: r127838
      Jason Merrill committed
    • regclass.c (init_reg_autoinc): Fix typo. · 9da72d66
      2007-08-27  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* regclass.c (init_reg_autoinc): Fix typo.
      
      From-SVN: r127836
      Sandra Loosemore committed
    • target-supports.exp (check_profiling_available): Set profiling_available_saved to 0 on fido-*-elf. · da3ce502
      	* lib/target-supports.exp (check_profiling_available):
      	Set profiling_available_saved to 0 on fido-*-elf.
      
      From-SVN: r127835
      Kazu Hirata committed
    • re PR tree-optimization/33173 (ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4704) · 11df3da3
      2007-08-27  Daniel Berlin  <dberlin@dberlin.org>
      	
      	Fix PR tree-optimization/33173
      	* tree-ssa-alias.c (find_used_portions): Fix reversed test.
      
      From-SVN: r127834
      Daniel Berlin committed
    • re PR target/31385 (gcc fails to find spill register for decimal arithmetic) · 62d75179
      gcc/
      
      2007-08-27  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/31385
      	* config/i386/i386.h (VALID_DFP_MODE_P): New.
      	* config/i386/i386.c (ix86_hard_regno_mode_ok): Allow DFP in
      	GPR.
      
      gcc/testsuite/
      
      2007-08-27  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/31385
      	* gcc.dg/dfp/pr31385.c: New.
      
      From-SVN: r127833
      H.J. Lu committed
    • Separate target-specific initialization from general back-end initialization. · b5deb7b6
      2007-08-27  Sandra Loosemore  <sandra@codesourcery.com>
      	    David Ung  <davidu@mips.com>
                  Nigel Stephens <nigel@mips.com>
      
      	gcc/
      	Separate target-specific initialization from general
      	back-end initialization.
      
      	* toplev.c (init_alignments): New, split out from...
      	(process_options): ...here.
      	(backend_init_target):  New, split out from...
      	(backend_init): ...here.
      	(lang_dependent_init_target):  New, split out from...
      	(lang_dependent_init): ...here.
      	(target_reinit): New.
      	* toplev.h (target_reinit): Declare.
      	* expr.c (init_expr_target): Renamed from init_expr_once, since it
      	now can be called more than once.  Update comments.
      	* expr.h (init_expr_target): Likewise.
      	* alias.c (init_alias_target): Renamed from init_alias_once, since it
      	now can be called more than once.  Explicitly zero
      	static_reg_base_value.
      	* emit-rtl.c (init_emit_regs): New, split out from...
      	(init_emit_once): Here.
      	* regclass.c (initial_fixed_regs, initial_call_used_regs): Make
      	non-const, so that changes from command-line arguments can overwrite
      	values provided by the static initializers.
      	(initial_call_really_used_regs): New, used similarly to the above.
      	(initial_reg_names): Likewise.
      	(last_mode_for_init_move_cost): Promoted function-local static to
      	file-scope static to make it accessible outside init_move_cost.
      	(init_reg_sets): Do not initialize fixed_regs and call_used_regs yet.
      	Do not initialize inv_reg_alloc_order yet, either.  Do initialize
      	reg_names since it is needed for parsing command-line options.
      	(init_move_cost): Use last_mode_for_init_move_cost instead of
      	function-local static.
      	(init_reg_sets_1): Initialize fixed_regs, call_used_regs, and
      	call_really_used_regs now.  Reinitialize reg_names.  Also
      	initialize inv_reg_alloc_order.  Zero reg_class_subunion and
      	reg_class_superunion.  Clear losing_caller_save_reg_set.
      	Preserve global registers if called more than once.  Reset
      	move cost, may_move_in_cost, may_move_out_cost, and
      	last_mode_for_init_move_cost.
      	(init_reg_modes_target): Renamed from init_reg_modes_once, since it
      	can now be invoked more than once.  Update comments.
      	(init_regs): Update comments.
      	(fix_register): Update initial_fixed_regs, initial_call_used_regs,
      	and initial_call_really_used_regs, instead of the non-initial 
              variables.  This allows us to save the command-line register settings
      	after target reinitialization.
      	(init_reg_autoinc): Zero forbidden_inc_dec_classes.
      	* rtl.h (init_emit_regs): Declare.
      	(init_reg_modes_target, init_alias_target): Renamed as described
      	above.
      	* reload1.c (init_reload): Update comments.
      	* optabs.c (init_optabs): Likewise.
      	* cfgloopanal.c (init_set_costs): Explicitly zero target_avail_regs.
      	
      
      
      Co-Authored-By: David Ung <davidu@mips.com>
      Co-Authored-By: Nigel Stephens <nigel@mips.com>
      
      From-SVN: r127832
      Sandra Loosemore committed
    • unsigned-long-compare.c: Remove target selector. · 107d7676
      	* gcc.dg/unsigned-long-compare.c: Remove target selector.
      
      From-SVN: r127831
      Uros Bizjak committed
    • config.host: Add x86_64-elf target. · 3ae3dbd6
      	* config.host : Add x86_64-elf target.
      
      From-SVN: r127830
      Hans Kester committed
    • simplify.c (gfc_simplify_lgamma): Fix mpfr_lgamma call. · 5b550abd
      2007-08-27  Tobias Burnus  <burnus@net-b.de>
      
      	* simplify.c (gfc_simplify_lgamma): Fix mpfr_lgamma call.
      
      From-SVN: r127829
      Tobias Burnus committed