1. 18 Jan, 2010 9 commits
  2. 17 Jan, 2010 15 commits
    • Makefile.in: Fix typo in arm*-*-linux-gnueabi. · 34e6988b
      2010-01-17  Laurent GUERBY  <laurent@guerby.net>
      
      	* gcc-interface/Makefile.in: Fix typo in arm*-*-linux-gnueabi.
      
      From-SVN: r155993
      Laurent GUERBY committed
    • dwarf2out.c (mem_loc_descriptor): Don't ICE on {S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}. · e5165811
      	* dwarf2out.c (mem_loc_descriptor): Don't ICE on
      	{S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}.
      
      From-SVN: r155992
      Jakub Jelinek committed
    • re PR middle-end/42248 (compat test struct-by-value-17 fails execution with -O1 -fschedule-insns) · 3b3f318a
      2010-01-17  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/42248
      	* function.c (split_complex_args): Take a VEC to modify.
      	(assign_parms_augmented_arg_list): Build a VEC instead of
      	a chain of PARM_DECLs.
      	(assign_parms_unsplit_complex): Take a VEC of arguments.
      	Do not fixup unmodified parms.
      	(assign_parms): Deal with the VEC.
      	(gimplify_parameters): Likewise.
      
      	* gcc.c-torture/execute/pr42248.c: New testcase.
      
      From-SVN: r155984
      Richard Guenther committed
    • tree-ssa-uncprop.c (uncprop_into_successor_phis): Fix PHI node existence check. · 8eacd016
      2010-01-17  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-uncprop.c (uncprop_into_successor_phis): Fix PHI
      	node existence check.
      	* tree-vect-loop.c (vect_analyze_loop_form): Likewise.
      	* tree-cfgcleanup.c (merge_phi_nodes): Likewise.
      	* tree-ssa-dce.c (forward_edge_to_pdom): Likewise.
      	* tree-cfg.c (gimple_execute_on_growing_pred): Likewise.
      	(gimple_execute_on_growing_pred): Likewise.
      
      From-SVN: r155983
      Richard Guenther committed
    • re PR tree-optimization/42773 (ICE with g++ from 4.4.3 20100112 (prerelease)) · 9adf0570
      2010-01-17  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/42773
      	* tree-ssa-pre.c (phi_translate_set): Fix check for PHI node existence.
      	(compute_antic_aux): Likewise.
      	(compute_partial_antic_aux): Likewise.
      
      	* g++.dg/torture/pr42773.C: New testcase.
      
      From-SVN: r155982
      Richard Guenther committed
    • * doc/tm.texi (TARGET_OPTION_PRINT): Fix argument list. · d2143a2f
      From-SVN: r155980
      Joern Rennecke committed
    • re PR fortran/42677 (Bogus Error: Ambiguous interfaces '...' in intrinsic assignment operator) · ae7c61de
      gcc/fortran/
      2010-01-17  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/42677
      	* gfortran.h (symbol_attribute): Remove 'ambiguous_interfaces'.
      	* interface.c (check_interface1): Move a warning message here from
      	resolve_fl_procedure.
      	(check_sym_interfaces): Removed 'attr.ambiguous_interfaces'.
      	* module.c (read_module): Remove call to gfc_check_interfaces, since
      	this comes too early here.
      	* resolve.c (resolve_fl_procedure): Move warning message to
      	check_interface1.
      
      gcc/testsuite/
      2010-01-17  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/42677
      	* gfortran.dg/interface_assignment_5.f90: New test.
      
      From-SVN: r155979
      Janus Weil committed
    • functional (_Bind<_Functor(_Bound_args...)>::__call): Rename const version to… · 8232dc64
      functional (_Bind<_Functor(_Bound_args...)>::__call): Rename const version to __call_c and remove _Sfinae template parameter.
      
      2010-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/functional (_Bind<_Functor(_Bound_args...)>::__call):
      	Rename const version to __call_c and remove _Sfinae template
      	parameter.
      	(_Bind<_Functor(_Bound_args...)>::operator()): Adjust.
      
      	* include/std/functional: Pass everywhere temporary tuple<_Args...>
      	arguments by rvalue reference. 
      
      	* testsuite/20_util/bind/cv_quals.cc: New.
      
      	* testsuite/20_util/bind/ref2.cc: Add missing test variables.
      
      From-SVN: r155978
      Paolo Carlini committed
    • * sv.po: Update. · fc35a90d
      From-SVN: r155977
      Joseph Myers committed
    • Revert PR c++/42697 · c4471bb2
           The commit is reverted as this was not a regression.
           It's rather going to be stagged for 4.6.
      
      From-SVN: r155976
      Dodji Seketeli committed
    • re PR c++/42697 (ice-on-legal-code: template class template function local objects) · 4548cb4b
      Fix PR c++/42697
      
      gcc/cp/ChangeLog:
      	PR c++/42697
      	*pt.c (tsubst_decl): Get the arguments of a specialization from
      	the specialization template, not from the most general template.
      
      gcc/testsuite/ChangeLog:
      	PR c++/42697
      	* g++.dg/template/crash94.C: New test.
      
      From-SVN: r155975
      Dodji Seketeli committed
    • re PR debug/42767 (ICE in mem_loc_descriptor) · a90110c3
      	PR debug/42767
      	* dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE
      	and US_TRUNCATE.
      
      	testsuite/
      	PR debug/42767
      	* gcc.dg/debug/pr42767.c: New.
      
      From-SVN: r155974
      Jie Zhang committed
    • (TARGET_BUILTIN_RECIPROCAL): Fix argument types. · 5eb7ce91
      	Rename argument tm_fn to md_fn.
      
      From-SVN: r155973
      Joern Rennecke committed
    • tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of appearance. · 914d25dc
      	* doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of
      	appearance.
      
      	(TARGET_LEGITIMATE_ADDRESS_P): Add return type.
      	Fix markup for strict argument.
      
      	(TARGET_SCHED_REORDER2): Fix argument types.
      
      	(TARGET_SCHED_DFA_PRE_CYCLE_INSN): Fix return type.
      	(TARGET_SCHED_DFA_POST_CYCLE_INSN): Likewise.
      
      	(TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE): Fix name.
      	(TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Likewise.
      
      	(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD):
      	Add argument name.
      
      	(TARGET_SCHED_ALLOC_SCHED_CONTEXT): Remove duplicate documentation.
      	(TARGET_SCHED_INIT_SCHED_CONTEXT): Likewise.
      	(TARGET_SCHED_SET_SCHED_CONTEXT): Likewise.
      	(TARGET_SCHED_CLEAR_SCHED_CONTEXT): Likewise.
      	(TARGET_SCHED_FREE_SCHED_CONTEXT): Likewise.
      
      	(TARGET_SCHED_SET_SCHED_CONTEXT): Fix typo.
      
      	(TARGET_SCHED_GEN_SPEC_CHECK): Fix name.
      
      	(TARGET_ASM_RELOC_RW_MASK): Add return type.
      	(TARGET_MANGLE_DECL_ASSEMBLER_NAME): Fix return type.
      
      	(TARGET_STRIP_NAME_ENCODING): Fix markup of return type and parameter.
      
      	(TARGET_ASM_FILE_START): Put @findex before paragraph start.
      	Use prototype.
      
      	(TARGET_ASM_NAMED_SECTION): Fix argument list.
      
      	(TARGET_HAVE_NAMED_SECTIONS): Use @deftypevr.
      	(TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Likewise.
      
      	(TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Use @deftypevr.
      
      	(TARGET_ASM_ASSEMBLE_VISIBILITY): Fix argument types.
      
      	(TARGET_ASM_MARK_DECL_PRESERVED): Fix argument and markup
      	referring to it.  Fix language.
      
      	(TARGET_HAVE_CTORS_DTORS): Use @deftypevr.
      
      	(TARGET_ASM_FINAL_POSTSCAN_INSN): Adjust name of first argument.
      
      	(TARGET_ASM_EMIT_UNWIND_LABEL): Add argument types.
      
      	(TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Add type to argument.
      
      	(TARGET_UNWIND_EMIT): Remove space between 'FILE *' and
      	'@var{stream}.  Remove stray 'and'.
      
      	(TARGET_ARM_EABI_UNWINDER): Use @deftypevr.
      
      	(TARGET_ASM_OUTPUT_DWARF_DTPREL): Adjust name of first argument.
      
      	(TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article.
      
      	(TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was 
      	misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P.
      
      	(TARGET_GET_PCH_VALIDITY): Put 'void *' in braces.
      	Fix description of return value.
      	Rename argument "sz" to "len."
      
      	(TARGET_CXX_GUARD_MASK_BIT): Add missing article.
      	Clarify meaning of 'true' return value.
      
      	(TARGET_SHIFT_TRUNCATION_MASK): Fix return type.
      
      	(TARGET_MODE_REP_EXTENDED): Fix two inconsisent uses of
      	rep_mode versus mode_rep.
      
      	(TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Document.
      
      	(TARGET_BUILTIN_DECL): Fix name.
      
      	(TARGET_COMMUTATIVE_P): Fix type of first argument.
      
      	(TARGET_SET_CURRENT_FUNCTION): Mention possibility of cfun being NULL.
      
      	(TARGET_BRANCH_TARGET_REGISTER_CLASS): Fix return type.
      
      	(TARGET_USE_LOCAL_THUNK_ALIAS_P): Document as macro instead of hook.
      
      	(TARGET_RELAXED_ORDERING): Use @deftypevr.
      
      	(TARGET_GET_DRAP_RTX): Note that this is a hook.
      	Clarify language.
      
      From-SVN: r155972
      Joern Rennecke committed
    • Daily bump. · 095ae514
      From-SVN: r155970
      GCC Administrator committed
  3. 16 Jan, 2010 9 commits
    • re PR c++/42761 (std::bind doesn't work for simple class types) · d1c05c88
      	PR c++/42761
      	* semantics.c (finish_decltype_type): Within a template, treat
      	unresolved CALL_EXPR as dependent.
      
      From-SVN: r155966
      Jason Merrill committed
    • Fix PR 35942: remove -lstdc++ from libtool postdeps for CXX. · a6918ffd
      libstdc++-v3/:
      	PR libstdc++/35942
      	* configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
      	* configure: Regenerate.
      
      From-SVN: r155965
      Ralf Wildenhues committed
    • re PR target/42664 (ICE on compilation of polyhedron benchmarks with -mfma4) · 8f7fd2da
      Fix PR42664.
      
      2010-01-16  Harsha Jagasia  <harsha.jagasia@amd.com>
      
      	PR target/42664
      	* config/i386/i386.c (ix86_fixup_binary_operands):
      	Revert FMA4 fixup of operands.
      
      From-SVN: r155964
      Harsha Jagasia committed
    • Avoid tr '\n', for Solaris /usr/bin/tr. · 2fdb618d
      contrib/
      	* check_warning_flags.sh: Use \012 instead of \n with tr.
      
      gcc/:
      	PR gcc/42525
      	* Makefile.in (write_entries_to_file, install-plugin):
      	Use \012 instead of \n with tr.
      
      libjava/:
      	* Makefile.am (write_entries_to_file): Use \012 instead of \n
      	with tr.
      	* scripts/makemake.tcl: Likewise.
      	* sources.am: Regenerate.
      	* Makefile.in: Regenerate.
      
      From-SVN: r155963
      Ralf Wildenhues committed
    • configure.ac (HAVE_AS_REF): New C macro. · 636cf8b1
      gcc/
      	* configure.ac (HAVE_AS_REF): New C macro.
      	* configure: Regenerate.
      	* config.in: Likewise.
      	* collect2.c (main): Only postpone SCAN_DWEH to the second pass
      	if HAVE_AS_REF.
      	* config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define
      	if HAVE_AS_REF.
      
      From-SVN: r155961
      Richard Sandiford committed
    • re PR middle-end/42760 (ICE in convert_move) · 7647c841
      	PR middle-end/42760
      	* g++.dg/torture/pr42760.C: New test.
      
      From-SVN: r155960
      Jakub Jelinek committed
    • tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types. · b6fd8800
      	* doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types.
      
      	(TARGET_SUPPORT_VECTOR_MISALIGNMENT): Fix argument types.
      
      	(TARGET_USE_ANCHORS_FOR_SYMBOL_P): Fix argument types.
      
      	(TARGET_SCHED_ALLOC_SCHED_CONTEXT): Put 'void *' in braces.
      
      	(TARGET_IN_SMALL_DATA_P): Fix argument type.
      
      	(TARGET_BINDS_LOCAL_P): Fix argument type.
      
      	(TARGET_ASM_FILE_END): Use prototype.
      
      	(TARGET_ASM_RECORD_GCC_SWITCHES): Don't put 'int' in braces.
      
      	(TARGET_DWARF_CALLING_CONVENTION): Fix argument type.
      
      	(TARGET_COMP_TYPE_ATTRIBUTES): Fix argument types.
      
      	(TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Fix argument type.
      
      	(TARGET_EMUTLS_VAR_ALIGN_FIXED): Don't put 'bool' in braces.
      	(TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS): Likewise.
      
      	(TARGET_PCH_VALID_P): Put 'const char *' in braces.
      	(TARGET_CHECK_PCH_TARGET_FLAGS): Likewise.
      
      	(TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Don't put 'bool' in braces.
      	(TARGET_ADDR_SPACE_SUBSET_P): Likewise.
      	(TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Don't put 'rtx' in braces.
      	(TARGET_ADDR_SPACE_CONVERT): Likewise.
      
      	(TARGET_CASE_VALUES_THRESHOLD): Put 'unsigned int' in braces.
      
      	(TARGET_MACHINE_DEPENDENT_REORG: Use prototype.
      
      	(TARGET_INIT_BUILTINS): Use prototype.
      
      	(TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN):
      	Put 'const char *' in braces.  Fix parameter types.
      	(TARGET_INVALID_CONVERSION): Fix parameter types.
      	(TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Likewise.
      	(TARGET_INVALID_PARAMETER_TYPE, TARGET_INVALID_RETURN_TYPE): Likewise.
      
      	(TARGET_PROMOTED_TYPE): Remove braces around 'tree'.
      	Fix argument type.
      
      	(TARGET_CONVERT_TO_TYPE): Remove braces around 'tree'.
      
      	(TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Remove braces around 'bool'.
      
      From-SVN: r155957
      Joern Rennecke committed
    • tm.texi (TARGET_HELP): Fix return type. · 9ddb66ef
      	* doc/tm.texi (TARGET_HELP): Fix return type.
      
      	(TARGET_PROMOTE_FUNCTION_MODE): Put 'enum machine_mode'
      	in braces.  Fix argument types.
      
      	(TARGET_LIBGCC_CMP_RETURN_MODE): Use prototype.
      
      	(TARGET_LIBGCC_SHIFT_COUNT_MODE): Use prototype.
      
      	(TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type.
      
      	(TARGET_DECIMAL_FLOAT_SUPPORTED_P): Don't put 'bool' in braces.
      	(TARGET_FIXED_POINT_SUPPORTED_P): Likewise.
      
      	(TARGET_MANGLE_TYPE): Fix argument types.
      
      	(TARGET_IRA_COVER_CLASSES): Use prototype.
      
      	(TARGET_BUILTIN_SETJMP_FRAME_VALUE): Fix return type.  Use prototype.
      
      	(TARGET_CAN_ELIMINATE): Use identifiers for argument names.
      
      	(TARGET_PROMOTE_PROTOTYPES): Fix argument type.
      
      	(TARGET_MUST_PASS_IN_STACK): Fix argument type.
      
      	(TARGET_CALLEE_COPIES): Fix argument types.
      
      	(TARGET_SPLIT_COMPLEX_ARG): Fix argument type.
      
      	(TARGET_GIMPLIFY_VA_ARG_EXPR): Fix argument types.
      
      	(TARGET_FUNCTION_VALUE): Fix argument types.
      
      	(TARGET_RETURN_IN_MSB): Fix argument type.
      
      	(TARGET_RETURN_IN_MEMORY): Fix argument types.
      
      	(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Fix argument types.
      
      	(TARGET_EXTRA_LIVE_ON_ENTRY): Fix argument type.
      
      	(TARGET_STRICT_ARGUMENT_NAMING): Make literal in text
      	agree with return type.
      
      	(TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Add Prototype.
      
      From-SVN: r155956
      Joern Rennecke committed
    • Daily bump. · 5e7bfbb8
      From-SVN: r155955
      GCC Administrator committed
  4. 15 Jan, 2010 7 commits