1. 09 Dec, 2010 29 commits
    • frv.h (SIZE_TYPE, [...]): Define. · a3724010
      	* config/frv/frv.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
      	WCHAR_TYPE_SIZE): Define.
      	* config.gcc (frv-*-elf, frv-*-*linux*): Don't use svr4.h.
      
      From-SVN: r167652
      Joseph Myers committed
    • fr30.h (LIB_SPEC, [...]): Define. · 35766c1d
      	* config/fr30/fr30.h (LIB_SPEC, LINK_SPEC, SIZE_TYPE,
      	PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
      	* config.gcc (fr30-*-elf): Don't use svr4.h.
      
      From-SVN: r167651
      Joseph Myers committed
    • linux.h (SIZE_TYPE, [...]): Define. · 7d459587
      	* config/cris/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
      	* config.gcc (crisv32-*-linux* | cris-*-linux*): Don't use svr4.h.
      
      From-SVN: r167650
      Joseph Myers committed
    • re PR middle-end/46844 (regrename.c:312:22: error: unused parameter 'reg') · 73aef89e
      2010-12-09  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/46844
      	* gimple-fold.c (canonicalize_constructor_val): Canonicalize
      	addresses.
      
      	* gcc.c-torture/compile/pr46866.c: New testcase.
      
      From-SVN: r167649
      Richard Guenther committed
    • netware.h (TARGET_POSIX_IO): Define. · 9c0c4ec7
      	* config/i386/netware.h (TARGET_POSIX_IO): Define.
      	* config/i386/nto.h (TARGET_POSIX_IO): Define.
      	* config/ia64/hpux.h (TARGET_POSIX_IO): Define.
      	* config/moxie/moxie.h (TARGET_POSIX_IO): Don't undefine.
      	* config/openbsd.h (TARGET_POSIX_IO): Define.
      	* config/rtems.h (TARGET_POSIX_IO): Define.
      	* config/sh/embed-elf.h (TARGET_POSIX_IO): Don't undefine.
      	* config/sol2.h (TARGET_POSIX_IO): Define.
      	* config/svr4.h (TARGET_POSIX_IO): Don't define.
      	* config/vxworksae.h (TARGET_POSIX_IO): Define.
      
      From-SVN: r167648
      Joseph Myers committed
    • nto.h (MD_EXEC_PREFIX, [...]): Define. · 72b7f7ea
      	* config/i386/nto.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
      	* config/ia64/hpux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
      	Define.
      	* config/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
      	undefine.
      	* config/mips/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
      	undefine.
      	* config/mips/netbsd.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
      	Don't undefine.
      	* config/rs6000/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
      	Don't undefine.
      	* config/rs6000/linux64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
      	Don't undefine.
      	* config/sol2.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
      	* config/sparc/netbsd-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
      	Don't undefine.
      	* config/sparc/openbsd64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
      	Don't undefine.
      	* config/sparc/sp64-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
      	Don't undefine.
      	* config/svr4.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
      	define.
      	* config/xtensa/elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
      	undefine.
      
      From-SVN: r167647
      Joseph Myers committed
    • hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for non-GNU assembler. · b8f9bca0
      	* config/ia64/hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for
      	non-GNU assembler.
      	* config/m68k/netbsd-elf.h (AS_NEEDS_DASH_FOR_PIPED_INPUT):
      	Remove.
      	* config/m68k/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
      	* config/mips/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
      	* config/sol2.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for
      	non-GNU assembler.
      	* config/sparc/sparc.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
      	* config/svr4.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
      
      From-SVN: r167646
      Joseph Myers committed
    • check.c (gfc_check_sngl): Insert missing space in error message. · c022e1cf
      2010-12-09  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	* check.c (gfc_check_sngl): Insert missing space in error message.
      
      From-SVN: r167645
      Steven G. Kargl committed
    • check.c (gfc_check_float): Insert missing space in error message. · b9c089d1
      2010-12-09  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	* check.c (gfc_check_float): Insert missing space in error message.
      
      From-SVN: r167643
      Steven G. Kargl committed
    • ipa-prop.c (compute_complex_ancestor_jump_func): Work also if the zero is the first phi parameter. · 54e348cb
      2010-12-09  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-prop.c (compute_complex_ancestor_jump_func): Work also if the
      	zero is the first phi parameter.
      
      From-SVN: r167642
      Martin Jambor committed
    • ipa-prop.h (struct ipa_parm_adjustment): New field alias_ptr_type. · 82d49829
      2010-12-09  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-prop.h (struct ipa_parm_adjustment): New field alias_ptr_type.
      	* ipa-prop.c (ipa_modify_call_arguments): Use it.
      	* tree-sra.c (splice_param_accesses): Test that all accesses have the
      	same alias reference type.
      	(turn_representatives_into_adjustments): Set alias_ptr_type of the
      	adjustment.
      
      From-SVN: r167641
      Martin Jambor committed
    • re PR testsuite/45068 (g++.dg/debug/dwarf2/nested-2.C failed on Linux/ia64) · 544ae3f5
      	PR testsuite/45068
      	* g++.dg/debug/dwarf2/nested-2.C: Also match comments starting with ';'.
      
      From-SVN: r167640
      John David Anglin committed
    • re PR middle-end/46734 (ICE in create_tmp_var, at gimplify.c:505) · 363e01cc
      2010-12-09  Martin Jambor  <mjambor@suse.cz>
      
      	PR middle-end/46734
      	* tree-sra.c (splice_param_accesses): Check that there are not
      	multiple ADDRESSABLE types.
      
      	* testsuite/g++.dg/tree-ssa/pr46734.C: New test.
      
      From-SVN: r167639
      Martin Jambor committed
    • re PR c++/44641 (Generated constructors and destructors get wrong debug location… · 8b6606f2
      re PR c++/44641 (Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition)
      
      	PR c++/44641
      	* lib/scanasm.exp (dg-function-on-line): Add match pattern for
      	hppa*-*-*.
      
      From-SVN: r167638
      John David Anglin committed
    • arc.h (ASM_SPEC): Remove %{v}. · 78a14252
      	* config/arc/arc.h (ASM_SPEC): Remove %{v}.
      	* config/bfin/bfin.h (ASM_SPEC): Remove %{v}.
      	* config/cris/cris.h (ASM_SPEC): Remove %{v:-v}.
      	* config/fr30/fr30.h (ASM_SPEC): Remove %{v}.
      	* config/frv/frv.h (ASM_SPEC): Remove %{v}.
      	* config/i386/linux.h (ASM_SPEC): Remove %{v}.
      	* config/i386/linux64.h (ASM_SPEC): Remove %{v}.
      	* config/i386/mingw-w64.h (ASM_SPEC): Remove %{v}.
      	* config/i386/sol2-10.h (ASM_SPEC): Remove %{v}.
      	* config/i386/vxworks.h (ASM_SPEC): Remove %{v}.
      	* config/i386/x86-64.h (ASM_SPEC): Remove %{v}.
      	* config/lm32/lm32.h (ASM_SPEC): Remove %{v}.
      	* config/m32r/m32r.h (ASM_SPEC): Remove %{v}.
      	* config/m68k/linux.h (ASM_SPEC): Remove %{v:-V}.
      	* config/microblaze/microblaze.h (ASM_SPEC): Remove %{v}.
      	* config/mips/mips.h (ASM_SPEC): Remove %{v}.
      	* config/mips/vxworks.h (ASM_SPEC): Remove %{v}.
      	* config/pa/pa-linux.h (ASM_SPEC): Remove %{v:-V}.
      	* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Remove %{v}.
      	* config/rs6000/linux64.h (ASM_SPEC): Remove %{v:-V}.
      	* config/rs6000/vxworks.h (ASM_SPEC): Remove %{v:-v}.
      	* config/sparc/openbsd64.h (ASM_SPEC): Remove %{v:-V}.
      	* config/svr4.h (SVR4_ASM_SPEC): Remove %{v:-V}.
      	* config/xtensa/elf.h (ASM_SPEC): Remove %{v}.
      	* config/xtensa/linux.h (ASM_SPEC): Remove %{v}.
      
      From-SVN: r167636
      Joseph Myers committed
    • openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}. · 7aed7dfc
      	* config/i386/openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}.
      	* config/mips/openbsd.h (LINK_SPEC): Use %{r:} not %{r*:}.
      	* config/netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): Use %{r:} not
      	%{r*:}.
      	* config/netbsd-elf.h (NETBSD_LINK_SPEC_ELF): Use %{r:} not
      	%{r*:}.
      	* config/sparc/openbsd64.h (LINK_SPEC): Use %{r:} not %{r*:}.
      	* config/vax/netbsd-elf.h (LINK_SPEC): Use %{r:} not %{r*:}.
      
      From-SVN: r167635
      Joseph Myers committed
    • freebsd.h (LINK_SPEC): Don't use %{!dynamic-linker:}. · e59dabd2
      	* config/alpha/freebsd.h (LINK_SPEC): Don't use
      	%{!dynamic-linker:}.
      	* config/alpha/linux-elf.h (LINK_SPEC): Likewise.
      	* config/arm/freebsd.h (LINK_SPEC): Likewise.
      	* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Likewise.
      	* config/bfin/linux.h (LINK_SPEC): Likewise.
      	* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Likewise.
      	* config/frv/linux.h (LINK_SPEC): Likewise.
      	* config/i386/freebsd.h (LINK_SPEC): Likewise.
      	* config/i386/freebsd64.h (LINK_SPEC): Likewise.
      	* config/i386/linux.h (LINK_SPEC): Likewise.
      	* config/i386/linux64.h (LINK_SPEC): Likewise.
      	* config/i386/openbsdelf.h (LINK_SPEC): Likewise.
      	* config/ia64/freebsd.h (LINK_SPEC): Likewise.
      	* config/ia64/linux.h (LINK_SPEC): Likewise.
      	* config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
      	* config/m32r/linux.h (LINK_SPEC): Likewise.
      	* config/m68k/linux.h (LINK_SPEC): Likewise.
      	* config/microblaze/linux.h (LINK_SPEC): Likewise.
      	* config/mips/linux.h (LINK_SPEC): Likewise.
      	* config/mips/linux64.h (LINK_SPEC): Likewise.
      	* config/mips/openbsd.h (LINK_SPEC): Likewise.
      	* config/mn10300/linux.h (LINK_SPEC): Likewise.
      	* config/netbsd-elf.h (LINK_SPEC): Likewise.
      	* config/pa/pa-linux.h (LINK_SPEC): Likewise.
      	* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC32,
      	LINK_OS_LINUX_SPEC64): Likewise.
      	* config/rs6000/sysv4.h (LINK_OS_FREEBSD_SPEC,
      	LINK_OS_LINUX_SPEC, LINK_OS_GNU_SPEC, LINK_OS_NETBSD_SPEC):
      	Likewise.
      	* config/s390/linux.h (LINK_SPEC): Likewise.
      	* config/sh/linux.h (SUBTARGET_LINK_SPEC): Likewise.
      	* config/sparc/freebsd.h (LINK_SPEC): Likewise.
      	* config/sparc/linux.h (LINK_SPEC): Likewise.
      	* config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
      	LINK_SPEC): Likewise.
      	* config/sparc/openbsd64.h (LINK_SPEC): Likewise.
      	* config/vax/linux.h (LINK_SPEC): Likewise.
      	* config/xtensa/linux.h (LINK_SPEC): Likewise.
      
      From-SVN: r167634
      Joseph Myers committed
    • bfin.h (ASM_SPEC): Remove %{n} and %{T}. · 51769cc0
      	* config/bfin/bfin.h (ASM_SPEC): Remove %{n} and %{T}.
      	* config/frv/frv.h (ASM_SPEC): Likewise.
      	* config/i386/sol2-10.h (ASM_SPEC): Likewise.
      	* config/i386/sol2.h (ASM_SPEC): Likewise.
      	* config/m68k/linux.h (ASM_SPEC): Likewise.
      	* config/pa/pa-linux.h (ASM_SPEC): Likewise.
      	* config/rs6000/linux64.h (ASM_SPEC32): Likewise.
      	* config/rs6000/vxworks.h (ASM_SPEC): Likewise.
      	* config/sol2.h (ASM_SPEC): Likewise.
      	* config/sparc/linux.h (ASM_SPEC): Likewise.
      	* config/sparc/linux64.h (ASM_SPEC): Likewise.
      	* config/sparc/sp-elf.h (ASM_SPEC): Likewise.
      	* config/sparc/sysv4.h (ASM_SPEC): Likewise.
      	* config/svr4.h (SVR4_ASM_SPEC): Likewise.
      
      From-SVN: r167633
      Joseph Myers committed
    • reginfo.c (struct subregs_of_mode_node): Remove. · a6d1cd85
      2010-12-09  Richard Guenther  <rguenther@suse.de>
      
      	* reginfo.c (struct subregs_of_mode_node): Remove.
      	(subregs_of_mode): Likewise.
      	(som_hash): Likewise.
      	(som_eq): Likewise.
      	(invalid_mode_changes): New bitmap.
      	(record_subregs_of_mode): Get subregs_of_mode argument.
      	Fill in invalid_mode_changes bitmap.
      	(find_subregs_of_mode): Get subregs_of_mode argument and pass
      	it through.
      	(init_subregs_of_mode): Adjust.
      	(finish_subregs_of_mode): Likewise.
      	(invalid_mode_change_p): Query invalid_mode_changes bitmap.
      
      From-SVN: r167632
      Richard Guenther committed
    • rtl.h (invalid_mode_change_p): Adjust prototype. · fa1fabcb
      2010-12-09  Richard Guenther  <rguenther@suse.de>
      
      	* rtl.h (invalid_mode_change_p): Adjust prototype.
      	* reginfo.c (invalid_mode_change_p): Remove from argument.
      	* ira-costs.c (print_allocno_costs): Adjust callers.
      	(find_costs_and_classes): Likewise.
      
      2010-12-09  Richard Guenther  <rguenther@suse.de>
      
      	* ira.c (ira): Do not call finish_subregs_of_mode.
      	* ira-costs.c (finish_costs): Call finish_subregs_of_mode.
      
      From-SVN: r167631
      Richard Guenther committed
    • s390.md (*mov<mode>cc): Change lgoc and stgoc to locg and stocg even in comment. · 27037b5f
      	* config/s390/s390.md (*mov<mode>cc): Change lgoc and stgoc to
      	locg and stocg even in comment.
      	(sync_old_<atomic><mode>): Give mode to UNSPEC_VOLATILE.
      
      From-SVN: r167630
      Jakub Jelinek committed
    • re PR target/41082 (FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3) · 99eeedc4
      	PR target/41082
      	* config/rs6000/rs6000.c (rs6000_expand_vector_extract): Use stvx
      	instead of stve*x.
      	(altivec_expand_stv_builtin): For op0 use mode of operand 1 instead
      	of operand 0.
      	* config/rs6000/altivec.md (VI_scalar): New mode attr.
      	(altivec_stve<VI_char>x, *altivec_stvesfx): Use scalar instead of
      	vector mode for operand 0, put operand 1 into UNSPEC.
      
      From-SVN: r167629
      Jakub Jelinek committed
    • arm.c (arm_preferred_rename_class): Implement targethook PREFERRED_RENAME_CLASS. · 74e32076
      2010-12-09  Yao Qi  <yao@codesourcery.com>
      
              * config/arm/arm.c (arm_preferred_rename_class): Implement targethook
              PREFERRED_RENAME_CLASS.
      
      From-SVN: r167626
      Yao Qi committed
    • re PR testsuite/46860 (New libstdc++ failures) · ad632e98
      	PR testsuite/46860
      	* testsuite/20_util/auto_ptr/assign_neg.cc: Adjust.
      	* testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
      	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
      
      From-SVN: r167625
      Nathan Froyd committed
    • bitset (_Base_bitset<>::_Base_bitset(), [...]): Simplify. · b6710d1a
      2010-12-08  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/bitset (_Base_bitset<>::_Base_bitset(),
      	_Base_bitset(unsigned long)): Simplify.
      
      From-SVN: r167624
      Paolo Carlini committed
    • re PR c++/46348 ([C++0x] ICE with constexpr default constructor and array member) · 2b00e201
      	PR c++/46348
      	* semantics.c (cxx_eval_vec_init_1): Handle value-init.
      	(cxx_eval_vec_init): Pass value_init arg.
      
      From-SVN: r167623
      Jason Merrill committed
    • Update gcc.target/i386/sse2-init-v2di-2.c. · a5fc85d1
      2010-12-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.target/i386/sse2-init-v2di-2.c: Add "-dp" and update
      	expected scan.
      
      From-SVN: r167622
      H.J. Lu committed
    • Daily bump. · a1fa9fe1
      From-SVN: r167621
      GCC Administrator committed
    • sourcebuild.texi (Front End): Remove reference to snapshot-README and snapshot-index.html. · 8cabb3e6
      	* doc/sourcebuild.texi (Front End): Remove reference to
      	snapshot-README and snapshot-index.html.
      
      From-SVN: r167617
      Ian Lance Taylor committed
  2. 08 Dec, 2010 11 commits
    • gcc_release: Add support for releasing Go as a separate tarball. · 6f3bbbe7
      	* gcc_release: Add support for releasing Go as a separate
      	tarball.
      
      From-SVN: r167616
      Ian Lance Taylor committed
    • In gcc/objc/: 2010-12-08 Nicola Pero <nicola.pero@meta-innovation.com> · 6347cf31
      In gcc/objc/:
      2010-12-08  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc-act.c (objc_build_throw_stmt): Check that the argument of
      	@throw is an object and emit an error if not.
      
      In gcc/testsuite/:
      2010-12-08  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc.dg/exceptions-7.m: New.
      	* obj-c++.dg/exceptions-7.mm: New.
      	* obj-c++.dg/exceptions-3.mm: Adjust for new C++ messages.
      	* obj-c++.dg/exceptions-5.mm: Same change.
      
      From-SVN: r167615
      Nicola Pero committed
    • * update_web_docs_svn (MANUALS): Add gccgo. · e493bdc2
      From-SVN: r167614
      Ian Lance Taylor committed
    • * README: Change "CVS" to "Subversion". · 709deb77
      From-SVN: r167613
      Ian Lance Taylor committed
    • sourcebuild.texi (Texinfo Manuals): Change update_web_docs to update_web_docs_svn. · 822a338e
      	* doc/sourcebuild.texi (Texinfo Manuals): Change update_web_docs
      	to update_web_docs_svn.
      	(Front End): Likewise.
      
      From-SVN: r167612
      Ian Lance Taylor committed
    • gcc/config.gcc (with_cpu): Default i[34567]86-*-darwin* and x86_64-*-darwin* to with_cpu:-core2. · c0aefbbe
      2010-12-08  Iain Sandoe <iains@gcc.gnu.org>
      
      	gcc/config.gcc (with_cpu): Default i[34567]86-*-darwin* and
      	x86_64-*-darwin* to with_cpu:-core2.
      	gcc/config/i386/mmx.md (*mov<mode>_internal_rex64): Replace movq
      	with movd for darwin assembler.
      	gcc/config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto.
      	(*vec_concatv2di_rex64_sse): Ditto.
      
      From-SVN: r167611
      Iain Sandoe committed
    • In gcc/objc/: 2010-12-08 Nicola Pero <nicola.pero@meta-innovation.com> · 7c35d89d
      In gcc/objc/:
      2010-12-08  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc-act.c (objc_finish_foreach_loop): Use error_at() instead of
      	error() when printing an error about the iterating variable or
      	collection not being an object.
      
      In gcc/testsuite/:
      2010-12-08  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc.dg/foreach-6.m: Updated location of error messages.
      	* objc.dg/foreach-7.m: Same change.
      
      From-SVN: r167610
      Nicola Pero committed
    • Fix PR45230, PR45231, and PR45370: fold_stmt_inplace after replace_exp. · fd66ea1a
      2010-12-08  Richard Guenther  <rguenther@suse.de>
      	    Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR tree-optimization/45230
      	PR tree-optimization/45231
      	PR tree-optimization/45370
      	* sese.c (rename_uses): Returns a bool.  Call
      	recompute_tree_invariant_for_addr_expr only on the RHS of a
      	GIMPLE_ASSIGN.
      	(graphite_copy_stmts_from_block): Call fold_stmt_inplace when
      	rename_uses returns true.
      	* tree-ssa-copy.c (replace_exp): Add a comment about calling
      	fold_stmt_inplace after replace_exp.
      
      	* gcc.dg/graphite/id-pr45230-1.c: New.
      	* gcc.dg/graphite/id-pr45231.c: New.
      	* gfortran.dg/graphite/id-pr45370.f90: New.
      
      Co-Authored-By: Sebastian Pop <sebastian.pop@amd.com>
      
      From-SVN: r167609
      Richard Guenther committed
    • re PR fortran/46772 (libquadmath: Build failure - strtod: static declaration of… · 09c2d63a
      re PR fortran/46772 (libquadmath: Build failure - strtod: static declaration of 'strtod'  follows non-static declaration)
      
      2010-12-08  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46772
              * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
              * gdtoa/gdtoaimp.h: Don't declare strtod.
      
      From-SVN: r167608
      Tobias Burnus committed
    • re PR c++/45329 (When printing a list of candidate functions, explain why each… · feb6efc1
      re PR c++/45329 (When printing a list of candidate functions, explain why each function failed to match.)
      
      gcc/cp/
      	PR c++/45329
      	* call.c (struct conversion): Document bad_p field.
      	(enum rejection_reason_code): Define.
      	(struct conversion_info): Define.
      	(struct rejection_reason): Define.
      	(struct z_candidate): Add `reason' field.
      	(add_candidate): Add `reason' parameter.  Store it in CAND.
      	(alloc_rejection, arity_rejection, arg_conversion_rejection):
      	New functions.
      	(bad_arg_conversion_rejection): New function.
      	(convert_class_to_reference): Add comment.
      	(remaining_arguments): New function.
      	(add_function_candidate): Record rejection reason and pass it to
      	add_candidate.
      	(add_conv_candidate, build_builtin_candidate): Likewise.
      	(add_template_candidate_real): Likewise.
      	(print_conversion_rejection): New function.
      	(print_z_candidate): Print CAND->REASON if it exists.  Adjust
      	diagnostic strings.
      	(print_z_candidates): Add location_t argument.  Adjust calling
      	sequence for print_z_candidate. Print header line directly.
      	(build_user_type_conversion_1): Add reason for rejection to
      	CAND.  Adjust call to print_z_candidates.
      	(print_error_for_call_failure): New function.
      	(build_new_function_call): Call it.  Adjust call to
      	print_z_candidates.
      	(build_operator_new_call): Likewise.
      	(build_op_call): Likewise.
      	(build_conditional_expr): Likewise.
      	(build_new_op): Likewise.
      	(build_new_method_call): Likewise.
      
      gcc/testsuite/
      	PR c++/45329
      	* testsuite/g++.dg/conversion/ambig1.C: Adjust.
      	* testsuite/g++.dg/conversion/op1.C: Adjust.
      	* testsuite/g++.dg/conversion/simd1.C: Adjust.
      	* testsuite/g++.dg/cpp0x/defaulted14.C: Adjust.
      	* testsuite/g++.dg/cpp0x/defaulted18.C: Adjust.
      	* testsuite/g++.dg/cpp0x/defaulted20.C: Adjust.
      	* testsuite/g++.dg/cpp0x/explicit3.C: Adjust.
      	* testsuite/g++.dg/cpp0x/explicit4.C: Adjust.
      	* testsuite/g++.dg/cpp0x/implicit4.C: Adjust.
      	* testsuite/g++.dg/cpp0x/nullptr15.C: Adjust.
      	* testsuite/g++.dg/cpp0x/nullptr19.C: Adjust.
      	* testsuite/g++.dg/cpp0x/pr31431-2.C: Adjust.
      	* testsuite/g++.dg/cpp0x/pr31431.C: Adjust.
      	* testsuite/g++.dg/cpp0x/pr31434.C: Adjust.
      	* testsuite/g++.dg/cpp0x/pr31437.C: Adjust.
      	* testsuite/g++.dg/cpp0x/rv2n.C: Adjust.
      	* testsuite/g++.dg/cpp0x/rv3n.C: Adjust.
      	* testsuite/g++.dg/cpp0x/rv4n.C: Adjust.
      	* testsuite/g++.dg/cpp0x/rv5n.C: Adjust.
      	* testsuite/g++.dg/cpp0x/rv6n.C: Adjust.
      	* testsuite/g++.dg/cpp0x/rv7n.C: Adjust.
      	* testsuite/g++.dg/cpp0x/temp_default2.C: Adjust.
      	* testsuite/g++.dg/cpp0x/trailing4.C: Adjust.
      	* testsuite/g++.dg/cpp0x/variadic-ex3.C: Adjust.
      	* testsuite/g++.dg/cpp0x/variadic-ex4.C: Adjust.
      	* testsuite/g++.dg/cpp0x/variadic35.C: Adjust.
      	* testsuite/g++.dg/cpp0x/vt-35147.C: Adjust.
      	* testsuite/g++.dg/cpp0x/vt-37737-2.C: Adjust.
      	* testsuite/g++.dg/expr/cond9.C: Adjust.
      	* testsuite/g++.dg/expr/pmf-1.C: Adjust.
      	* testsuite/g++.dg/ext/label5.C: Adjust.
      	* testsuite/g++.dg/ext/visibility/anon8.C: Adjust.
      	* testsuite/g++.dg/ext/vla2.C: Adjust.
      	* testsuite/g++.dg/gomp/pr26690-1.C: Adjust.
      	* testsuite/g++.dg/gomp/pr26690-2.C: Adjust.
      	* testsuite/g++.dg/init/synth2.C: Adjust.
      	* testsuite/g++.dg/lookup/conv-1.C: Adjust.
      	* testsuite/g++.dg/lookup/new1.C: Adjust.
      	* testsuite/g++.dg/lookup/using9.C: Adjust.
      	* testsuite/g++.dg/other/error13.C: Adjust.
      	* testsuite/g++.dg/other/error20.C: Adjust.
      	* testsuite/g++.dg/other/error31.C: Adjust.
      	* testsuite/g++.dg/other/pr28114.C: Adjust.
      	* testsuite/g++.dg/other/ptrmem10.C: Adjust.
      	* testsuite/g++.dg/other/ptrmem11.C: Adjust.
      	* testsuite/g++.dg/overload/ambig1.C: Adjust.
      	* testsuite/g++.dg/overload/arg3.C: Adjust.
      	* testsuite/g++.dg/overload/builtin1.C: Adjust.
      	* testsuite/g++.dg/overload/copy1.C: Adjust.
      	* testsuite/g++.dg/overload/new1.C: Adjust.
      	* testsuite/g++.dg/overload/template4.C: Adjust.
      	* testsuite/g++.dg/overload/unknown1.C: Adjust.
      	* testsuite/g++.dg/overload/using2.C: Adjust.
      	* testsuite/g++.dg/parse/crash5.C: Adjust.
      	* testsuite/g++.dg/parse/error19.C: Adjust.
      	* testsuite/g++.dg/parse/error28.C: Adjust.
      	* testsuite/g++.dg/parse/template7.C: Adjust.
      	* testsuite/g++.dg/parse/typename7.C: Adjust.
      	* testsuite/g++.dg/rtti/typeid6.C: Adjust.
      	* testsuite/g++.dg/tc1/dr152.C: Adjust.
      	* testsuite/g++.dg/template/conv11.C: Adjust.
      	* testsuite/g++.dg/template/copy1.C: Adjust.
      	* testsuite/g++.dg/template/crash37.C: Adjust.
      	* testsuite/g++.dg/template/deduce3.C: Adjust.
      	* testsuite/g++.dg/template/dependent-expr5.C: Adjust.
      	* testsuite/g++.dg/template/error38.C: Adjust.
      	* testsuite/g++.dg/template/error40.C: Adjust.
      	* testsuite/g++.dg/template/friend.C: Adjust.
      	* testsuite/g++.dg/template/incomplete2.C: Adjust.
      	* testsuite/g++.dg/template/instantiate5.C: Adjust.
      	* testsuite/g++.dg/template/local4.C: Adjust.
      	* testsuite/g++.dg/template/local6.C: Adjust.
      	* testsuite/g++.dg/template/new3.C: Adjust.
      	* testsuite/g++.dg/template/operator9.C: Adjust.
      	* testsuite/g++.dg/template/overload6.C: Adjust.
      	* testsuite/g++.dg/template/ptrmem2.C: Adjust.
      	* testsuite/g++.dg/template/ptrmem20.C: Adjust.
      	* testsuite/g++.dg/template/ptrmem4.C: Adjust.
      	* testsuite/g++.dg/template/ptrmem8.C: Adjust.
      	* testsuite/g++.dg/template/qualttp5.C: Adjust.
      	* testsuite/g++.dg/template/sfinae2.C: Adjust.
      	* testsuite/g++.dg/template/spec22.C: Adjust.
      	* testsuite/g++.dg/template/spec23.C: Adjust.
      	* testsuite/g++.dg/template/ttp25.C: Adjust.
      	* testsuite/g++.dg/template/typedef4.C: Adjust.
      	* testsuite/g++.dg/template/unify10.C: Adjust.
      	* testsuite/g++.dg/template/unify11.C: Adjust.
      	* testsuite/g++.dg/template/unify6.C: Adjust.
      	* testsuite/g++.dg/template/unify7.C: Adjust.
      	* testsuite/g++.dg/template/unify9.C: Adjust.
      	* testsuite/g++.dg/template/varmod1.C: Adjust.
      	* testsuite/g++.old-deja/g++.benjamin/15799.C: Adjust.
      	* testsuite/g++.old-deja/g++.benjamin/15800-1.C: Adjust.
      	* testsuite/g++.old-deja/g++.brendan/ambiguity1.C: Adjust.
      	* testsuite/g++.old-deja/g++.brendan/crash29.C: Adjust.
      	* testsuite/g++.old-deja/g++.brendan/crash48.C: Adjust.
      	* testsuite/g++.old-deja/g++.brendan/crash56.C: Adjust.
      	* testsuite/g++.old-deja/g++.brendan/cvt3.C: Adjust.
      	* testsuite/g++.old-deja/g++.brendan/overload1.C: Adjust.
      	* testsuite/g++.old-deja/g++.brendan/overload4.C: Adjust.
      	* testsuite/g++.old-deja/g++.brendan/overload9.C: Adjust.
      	* testsuite/g++.old-deja/g++.bugs/900127_01.C: Adjust.
      	* testsuite/g++.old-deja/g++.bugs/900205_04.C: Adjust.
      	* testsuite/g++.old-deja/g++.bugs/900330_02.C: Adjust.
      	* testsuite/g++.old-deja/g++.bugs/900404_03.C: Adjust.
      	* testsuite/g++.old-deja/g++.bugs/900514_03.C: Adjust.
      	* testsuite/g++.old-deja/g++.eh/ctor1.C: Adjust.
      	* testsuite/g++.old-deja/g++.jason/conversion11.C: Adjust.
      	* testsuite/g++.old-deja/g++.jason/crash3.C: Adjust.
      	* testsuite/g++.old-deja/g++.jason/overload16.C: Adjust.
      	* testsuite/g++.old-deja/g++.jason/overload28.C: Adjust.
      	* testsuite/g++.old-deja/g++.jason/scoping10.C: Adjust.
      	* testsuite/g++.old-deja/g++.jason/template30.C: Adjust.
      	* testsuite/g++.old-deja/g++.jason/temporary2.C: Adjust.
      	* testsuite/g++.old-deja/g++.law/arg1.C: Adjust.
      	* testsuite/g++.old-deja/g++.law/arg11.C: Adjust.
      	* testsuite/g++.old-deja/g++.law/arm9.C: Adjust.
      	* testsuite/g++.old-deja/g++.law/ctors11.C: Adjust.
      	* testsuite/g++.old-deja/g++.law/ctors17.C: Adjust.
      	* testsuite/g++.old-deja/g++.law/ctors5.C: Adjust.
      	* testsuite/g++.old-deja/g++.law/ctors9.C: Adjust.
      	* testsuite/g++.old-deja/g++.law/enum4.C: Adjust.
      	* testsuite/g++.old-deja/g++.law/missed-error2.C: Adjust.
      	* testsuite/g++.old-deja/g++.law/operators32.C: Adjust.
      	* testsuite/g++.old-deja/g++.law/operators9.C: Adjust.
      	* testsuite/g++.old-deja/g++.mike/net2.C: Adjust.
      	* testsuite/g++.old-deja/g++.mike/net22.C: Adjust.
      	* testsuite/g++.old-deja/g++.mike/p11110.C: Adjust.
      	* testsuite/g++.old-deja/g++.mike/p1989.C: Adjust.
      	* testsuite/g++.old-deja/g++.mike/p2431.C: Adjust.
      	* testsuite/g++.old-deja/g++.mike/p438.C: Adjust.
      	* testsuite/g++.old-deja/g++.mike/p807a.C: Adjust.
      	* testsuite/g++.old-deja/g++.mike/p9068.C: Adjust.
      	* testsuite/g++.old-deja/g++.niklas/t120.C: Adjust.
      	* testsuite/g++.old-deja/g++.niklas/t121.C: Adjust.
      	* testsuite/g++.old-deja/g++.niklas/t128.C: Adjust.
      	* testsuite/g++.old-deja/g++.ns/overload2.C: Adjust.
      	* testsuite/g++.old-deja/g++.ns/using12.C: Adjust.
      	* testsuite/g++.old-deja/g++.other/crash24.C: Adjust.
      	* testsuite/g++.old-deja/g++.other/expr1.C: Adjust.
      	* testsuite/g++.old-deja/g++.other/overload11.C: Adjust.
      	* testsuite/g++.old-deja/g++.other/pmf3.C: Adjust.
      	* testsuite/g++.old-deja/g++.other/volatile1.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/auto_ptr.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/crash28.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/crash60.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/explicit38.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/explicit39.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/explicit41.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/explicit67.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/explicit77.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/expr2.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/ptrmem10.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/ptrmem6.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/spec35.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/spec5.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/spec6.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/t05.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/t24.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/unify4.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/unify6.C: Adjust.
      	* testsuite/g++.old-deja/g++.pt/unify8.C: Adjust.
      	* testsuite/g++.old-deja/g++.robertl/eb109.C: Adjust.
      	* testsuite/g++.old-deja/g++.robertl/eb119.C: Adjust.
      	* testsuite/g++.old-deja/g++.robertl/eb131.C: Adjust.
      	* testsuite/g++.old-deja/g++.robertl/eb22.C: Adjust.
      	* testsuite/g++.old-deja/g++.robertl/eb69.C: Adjust.
      	* testsuite/g++.old-deja/g++.robertl/eb98.C: Adjust.
      
      From-SVN: r167607
      Nathan Froyd committed
    • re PR fortran/46520 (libquadmath: fails at link test on bare irons) · abccc9a9
      2010-12-08  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46520
              * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
              AC_TRY_LINK and cache libquad_have_float128.
              * configure: Regenerate.
      
      From-SVN: r167605
      Tobias Burnus committed