1. 11 Oct, 2008 1 commit
  2. 10 Oct, 2008 11 commits
    • re PR debug/37002 (No debug info on unreferenced parameters after stack alignment) · 35bb4945
      2008-10-10  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR debug/37002
      	* dwarf2out.c (mem_loc_descriptor): Use DRAP for vDRAP which
      	has been optimized out.
      
      From-SVN: r141049
      H.J. Lu committed
    • sh.h (PREFERRED_RELOAD_CLASS): Test PIC_ADDR_P instead of PIC_DIRECT_ADDR_P. · dc3ba671
      gcc/
      	* config/sh/sh.h (PREFERRED_RELOAD_CLASS): Test PIC_ADDR_P
      	instead of PIC_DIRECT_ADDR_P.
      	(SECONDARY_INPUT_RELOAD_CLASS): Likewise.
      	(IS_LITERAL_OR_SYMBOLIC_S16_P, IS_LITERAL_OR_SYMBOLIC_U16_P): Delete.
      	(IS_NON_EXPLICIT_CONSTANT_P): Don't test PIC_OFFSET_P.
      	(PIC_OFFSET_P): Rename to...
      	(PCREL_SYMOFF_P): ...this.
      	(PIC_DIRECT_ADDR_P): Delete.
      	(MOVI_SHORI_BASE_OPERAND_P): Check PCREL_SYMOFF_P instead of
      	PIC_OFFSET_P.
      	(OUTPUT_ADDR_CONST_EXTRA): Don't require unspecs to have a
      	single argument.  Handle UNSPEC_EXTRACT_S16, UNSPEC_EXTRACT_U16,
      	UNSPEC_SYMOFF and UNSPEC_PCREL_SYMOFF.
      	* config/sh/sh.c (print_operand): Remove CONST handling.
      	(unspec_caller_rtx_p): Rewrite to use split_const and check
      	the operands of UNSPEC bases.
      	(fixup_mova): Replace (unspec [(minus A B)] UNSPEC_PIC)
      	with (unspec [A B] UNSPEC_SYMOFF).
      	(nonpic_symbol_mentioned_p): Check for UNSPEC_SYMOFF and
      	UNSPEC_PCREL_SYMOFF.
      	(sh_secondary_reload): Test PIC_ADDR_P instead of PIC_DIRECT_ADDR_P.
      	* config/sh/sh.md (UNSPEC_EXTRACT_S16): New unspec.
      	(UNSPEC_EXTRACT_U16): Likewise.
      	(UNSPEC_SYMOFF): Likewise.
      	(UNSPEC_PCREL_SYMOFF): Likewise.
      	(movsi_const): Use UNSPEC_EXTRACT_*16s to extract 16-bit portions
      	of constants.
      	(movsi_const_16bit): Likewise.
      	(movdi_const, movdi_const_32bit, movdi_const_16bit): Likewise.
      	(GOTaddr2picreg): Replace (unspec [(minus A (minus B pc))] UNSPEC_PIC)
      	with (unspec [A B] UNSPEC_PCREL_SYMOFF).
      	(sym_label2reg): Replace (minus (const (unspec [A] UNSPEC_PIC)) B)
      	with (unspec [A B] UNSPEC_SYMOFF).
      	(symPLT_label2reg): Replace (minus A (minus B pc)) with
      	 (unspec [A B] PCREL_UNSPEC_SYMOFF).
      	* config/sh/constraints.md (Css): Check for an UNSPEC_EXTRACT_S16.
      	(Csu): Likewise UNSPEC_EXTRACT_U16.
      	(Csy): Test PIC_ADDR_P instead of PIC_DIRECT_ADDR_P.
      	(Cpg): Update after changes to IS_NON_EXPLICIT_CONSTANT_P.
      
      From-SVN: r141046
      Richard Sandiford committed
    • re PR c++/37146 (Invalid types with COND_EXPR) · bbdf5682
      	PR c++/37146
      	* cp-gimplify.c (cp_genericize_r): Fix up bitfield operands of
      	COND_EXPR.
      
      	* g++.dg/torture/pr37146-1.C: New test.
      	* g++.dg/torture/pr37146-2.C: New test.
      	* g++.dg/expr/bitfield10.C: New test.
      
      From-SVN: r141045
      Jakub Jelinek committed
    • invoke.texi (Optimize Options): Fix typo in examples for loop strip mining and loop blocking. · e14165f4
      2008-10-10  Stepan Kasal  <skasal@redhat.com>
      
      	* gcc/doc/invoke.texi (Optimize Options): Fix typo in examples
      	for loop strip mining and loop blocking.
      
      From-SVN: r141042
      Stepan Kasal committed
    • 24803.cc: Avoid uninitialized warnings. · 6cbdd6b2
      2008-10-10  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
      	warnings.
      
      From-SVN: r141041
      Paolo Carlini committed
    • system_error (native_category): Remove. · 4661c8fd
      2008-10-10  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/system_error (native_category): Remove.
      	(posix_category): Add.
      	(error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
      	Fix _M_cat initialization.
      	(error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
      	(error_condition::_M_cat, error_condtion::operator=
      	(_ErrorConditionEnum)): Implement resolution of DR 804.
      	(error_condition::error_condition(_ErrorConditionEnum, typename
      	enable_if<>:type*): Fix.
      	(error_condition::clear, error_condition::assign): Implement.
      	(operator==, operator!=): Fix uglification of parameters.
      	(make_error_code, make_error_condition): Define in namespace
      	posix_error.
      	(operator<<(basic_ostream<>&, const error_code&)): Define here.
      	* include/std/ostream (operator<<(basic_ostream<>&,
      	const error_code&)): Do not define here.
      	* testsuite/19_diagnostics/error_condition/cons/1.cc: New.	
      	* testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
      	* testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
      	Likewise.
      	* testsuite/19_diagnostics/error_condition/operators/equal.cc:
      	Likewise.
      	* testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
      	Likewise.
      	* testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
      	* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
      	dg-error line numbers.
      	* testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
      
      	* testsuite/util/testsuite_error.h: Minor tweaks.
      	* testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
      
      From-SVN: r141039
      Paolo Carlini committed
    • 1.cc: Remove invalid check of uninitialized duration. · 87ad5081
      2008-10-10  Chris Fairles  <cfairles@gcc.gnu.org>
      
              * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
              uninitialized duration.
      
      From-SVN: r141038
      Chris Fairles committed
    • trans-types.c (gfc_get_nodesc_array_type): Don't vary types depending on debug info. · 09775c40
      * fortran/trans-types.c (gfc_get_nodesc_array_type): Don't
      vary types depending on debug info.
      
      From-SVN: r141021
      Alexandre Oliva committed
    • c-gimplify.c (c_genericize): Don't refer to DECL_ASSEMBLER_NAME before ensuring… · fd9fffd1
      c-gimplify.c (c_genericize): Don't refer to DECL_ASSEMBLER_NAME before ensuring it's already computed.
      
      * c-gimplify.c (c_genericize): Don't refer to DECL_ASSEMBLER_NAME
      before ensuring it's already computed.
      
      From-SVN: r141020
      Alexandre Oliva committed
    • 2008-10-08 Jerry DeLisle <jvdelisle@gcc.gnu.org · 6d5d3adf
      	PR libfortran/37707
      	* gfortran.dg/namelist_54.f90: Revise test, check a(3).
      
      From-SVN: r141016
      Jerry DeLisle committed
    • Daily bump. · 8e84988f
      From-SVN: r141014
      GCC Administrator committed
  3. 09 Oct, 2008 11 commits
  4. 08 Oct, 2008 15 commits
  5. 07 Oct, 2008 2 commits
    • re PR middle-end/37576 (-v --help ICEs) · a1fd13d0
      	PR middle-end/37576
      	* opts.h (CL_SAVE): Move up to flags range.
      	(CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_TARGET,
      	CL_COMMON): Renumber.
      	(CL_MIN_OPTION_CLASS): Set to CL_PARAMS.
      	* opts.c (common_handle_option): Revert last change.
      
      From-SVN: r140955
      Jakub Jelinek committed
    • i386-protos.h (ix86_schedule): New. · 7ab91c5f
      2008-10-07  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/i386/i386-protos.h (ix86_schedule): New.
      
      	* config/i386/i386.c (ix86_schedule): New.
      	(override_options): Add schedule to processor_alias_table.  Set
      	ix86_schedule from the schedule field in processor_alias_table.
      	(ix86_function_specific_save): Save ix86_schedule.
      	(ix86_function_specific_restore): Restore ix86_schedule.
      
      	* config/i386/i386.md (cpu): Map to ix86_schedule instead of
      	ix86_tune.  Add none and remove i386, i486, pentium4, nocona
      	and generic32.
      
      	* config/i386/i386.opt: Add schedule.
      
      	* config/i386/ppro.md: Remove generic32.
      
      From-SVN: r140954
      H.J. Lu committed