Richard Sandiford [Sun, 16 Jan 2011 21:55:03 +0000 (21:55 +0000)]
20101011-1.c: Skip test for MIPS16 Linux-based targets.
gcc/testsuite/
* gcc.c-torture/execute/
20101011-1.c: Skip test for MIPS16
Linux-based targets.
From-SVN: r168875
Richard Sandiford [Sun, 16 Jan 2011 21:52:37 +0000 (21:52 +0000)]
mips.c (mips_classify_symbol): Don't return SYMBOL_PC_RELATIVE for nonlocal labels.
gcc/
* config/mips/mips.c (mips_classify_symbol): Don't return
SYMBOL_PC_RELATIVE for nonlocal labels.
From-SVN: r168874
Paolo Carlini [Sun, 16 Jan 2011 20:55:30 +0000 (20:55 +0000)]
re PR libstdc++/47320 (FAIL: 18_support/numeric_limits/lowest.cc execution test)
2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/47320
* testsuite/18_support/numeric_limits/lowest.cc:
Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
From-SVN: r168873
Jakub Jelinek [Sun, 16 Jan 2011 20:48:24 +0000 (21:48 +0100)]
re PR libfortran/47322 (libquadmath breaks bootstrap on x86_64-unknown-freebsd8.2)
PR libfortran/47322
* math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
From-SVN: r168872
Paolo Carlini [Sun, 16 Jan 2011 20:42:57 +0000 (20:42 +0000)]
re PR libstdc++/47321 (FAIL: 21_strings/basic_string/requirements/typedefs.cc (test for excess errors))
2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/47321
* testsuite/21_strings/basic_string/requirements/typedefs.cc:
Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
From-SVN: r168871
Gerald Pfeifer [Sun, 16 Jan 2011 19:38:04 +0000 (19:38 +0000)]
* configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS.
From-SVN: r168858
Tobias Burnus [Sun, 16 Jan 2011 17:14:48 +0000 (18:14 +0100)]
re PR fortran/47177 (bad example of using -dM in manual)
2011-01-15 Tobias Burnus <burnus@net-b.de>
* gfortran.texi: Update Fortran 2003 Status section.
PR fortran/47177
* invoke.texi: Add missing "-E" to the -dM example.
From-SVN: r168857
Jakub Jelinek [Sun, 16 Jan 2011 16:55:27 +0000 (17:55 +0100)]
re PR fortran/46625 (libquadmath: Mangle internal symbols; rename __float128 <-> string functions)
PR fortran/46625
* quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
* quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
(strtoflt128, quadmath_flt128tostr): Add.
* gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
(strtoflt128): ... this. Return __float128, instead of writing
to memory pointed by last argument.
* quadmath.h: Use C style comments instead of C++ style.
(quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
(strtoflt128, quadmath_flt128tostr): Add prototypes.
* libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
(quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
adjust examples.
* quadmath_io.c (quadmath_dtoaq): Rename to...
(quadmath_flt128tostr): ... this.
libgfortran/
* io/write_float.def (DTOAQ): Use quadmath_flt128tostr
instead of quadmath_dtoa.
* io/transfer128.c (tmp1, tmp2): New variables, bring in
strtoflt128 and quadmath_flt128tostr.
(transfer_real128, transfer_real128_write, transfer_complex128,
transfer_complex128_write): Remove tmp1/tmp2 variables.
* io/read.c (convert_real): Use strtoflt128 instead of
quadmath_strtopQ, adjust for the changed arguments and return
value.
From-SVN: r168856
Jakub Jelinek [Sun, 16 Jan 2011 16:48:59 +0000 (17:48 +0100)]
quadmath.h (__quadmath_throw, [...]): Define.
* quadmath.h (__quadmath_throw, __quadmath_nth): Define.
Use it for all prototypes.
From-SVN: r168855
Jakub Jelinek [Sun, 16 Jan 2011 16:44:35 +0000 (17:44 +0100)]
re PR fortran/46416 (libquadmath: missing functions)
PR fortran/46416
* quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
const from prototype argument.
(cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
(__quadmath_extern_inline): Define.
(cimagq, conjq, crealq): New inlines.
* Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
* Makefile.in: Regenerated.
* quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
* quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
(ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
tests instead of __BIG_ENDIAN__.
* quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
and remquoq.
* libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
* math/cprojq.c: New file.
* math/ilogbq.c: New file.
* math/fminq.c: New file.
* math/llrintq.c: New file.
* math/log2q.c: New file.
* math/lrintq.c: New file.
* math/crealq.c: New file.
* math/nearbyintq.c: New file.
* math/fmaxq.c: New file.
* math/conjq.c: New file.
* math/remquoq.c: New file.
* math/cimagq.c: New file.
* math/fdimq.c: New file.
* math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
From-SVN: r168854
Jakub Jelinek [Sun, 16 Jan 2011 16:42:37 +0000 (17:42 +0100)]
re PR fortran/46416 (libquadmath: missing functions)
PR fortran/46416
* quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
New prototypes.
(M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
* quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
catanhq): Add.
* quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
* quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
catanq and catanhq.
* Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
and math/catanhq.c.
* Makefile.in: Regenerated.
* libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
catanq, catanhq): Add.
* math/cacoshq.c: New file.
* math/cacosq.c: New file.
* math/catanq.c: New file.
* math/catanhq.c: New file.
* math/casinq.c: New file.
* math/casinhq.c: New file.
* math/hypotq.c (hypotq): Use Q suffix instead of L.
* math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
* math/cosq.c (cosq): Likewise.
From-SVN: r168853
Jakub Jelinek [Sun, 16 Jan 2011 16:40:05 +0000 (17:40 +0100)]
re PR fortran/46402 (libquadmath: Add fmalq)
PR fortran/46402
* quadmath.map (QUADMATH_1.0): Add fmaq.
* configure.ac: Check for fenv.h, feholdexcept, fesetround,
feupdateenv, fesetenv and fetestexcept.
* configure: Regenerated.
* config.h.in: Regenerated.
* quadmath.h (fmaq): New prototype.
* quadmath_weak.h (fmaq): Add.
* Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
* Makefile.in: Regenerated.
* quadmath-imp.h: Include config.h.
* math/expq.c: Include fenv.h.
(USE_FENV_H): Define if libm support for fe* is there.
(expq): Add fesetround etc. support if USE_FENV_H is defined.
* math/fmaq.c: New file.
* libquadmath.texi (fmaq): Add.
From-SVN: r168852
François Dumont [Sun, 16 Jan 2011 10:35:28 +0000 (11:35 +0100)]
erase_after1_neg.cc: Move to this.
2011-01-16 François Dumont <francois.cppdevs@free.fr>
* testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
to this. Use _neg suffix.
* testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
this.
* testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
* testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
* testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
* testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
* testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
* testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
* testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
* testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
* testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
* testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
* testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
* testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
* testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
* testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
* testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
Same.
* testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
From-SVN: r168850
GCC Administrator [Sun, 16 Jan 2011 00:18:19 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168849
Eric Botcazou [Sat, 15 Jan 2011 18:47:40 +0000 (18:47 +0000)]
* config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
From-SVN: r168845
Jan Hubicka [Sat, 15 Jan 2011 15:44:56 +0000 (16:44 +0100)]
re PR tree-optimization/47276 (ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc.)
PR tree-optimization/47276
* ipa.c (function_and_variable_visibility): Do not try to mark alias
declarations as needed.
* gcc.dg/pr47276.c: New testcase.
From-SVN: r168844
Giovanni Funchal [Sat, 15 Jan 2011 14:41:09 +0000 (14:41 +0000)]
re PR c++/33558 ('mutable' incorrectly accepted on reference members)
2011-01-15 Giovanni Funchal <gafunchal@gmail.com>
Jonathan Wakely <jwakely.gcc@gmail.com>
PR c++/33558
* decl.c (grokdeclarator): Reject mutable reference members.
Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
From-SVN: r168843
Jerry DeLisle [Sat, 15 Jan 2011 06:42:30 +0000 (06:42 +0000)]
re PR fortran/47296 (I/O Segfault when running out of file descriptors)
2011-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/47296
* io/unix.c (unpack_filename): Return non-zero if the filename passed
in is NULL.
From-SVN: r168832
Benjamin Kosnik [Sat, 15 Jan 2011 00:27:10 +0000 (00:27 +0000)]
re PR libstdc++/36104 (gnu-versioned-namespace is broken)
2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/36104
* include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
(install-stdHEADERS, install-bitsHEADERS): New.
* libsupc++/Makefile.in: Regenerate.
* include/bits/c++config: Update for inline namespaces.
* libsupc++/cxxabi-forced.h: To...
* libsupc++/cxxabi_forced.h: ...this.
* libsupc++/hash_bytes.h: Separate file.
* libsupc++/typeinfo: Use it.
* libsupc++/exception: Adjust for bits subdirectory.
* libsupc++/eh_aux_runtime.cc: Same.
* libsupc++/eh_ptr.cc: Same.
* libsupc++/new_op.cc: Same.
* libsupc++/exception_defines.h: Same.
* libsupc++/nested_exception.h: Same.
* libsupc++/eh_terminate.cc: Same.
* libsupc++/vec.cc: Same.
* libsupc++/vterminate.cc: Same.
* libsupc++/exception_ptr.h: Same.
* libsupc++/eh_personality.cc: Same.
* libsupc++/eh_call.cc: Same.
* libsupc++/new_opnt.cc: Same.
* libsupc++/hash_bytes.cc: Same.
* config/cpu/arm/cxxabi_tweaks.h: Same.
* config/cpu/generic/cxxabi_tweaks.h: Same.
* libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
* include/std/bitset: Same.
* include/ext/vstring.tcc: Same.
* include/bits/hashtable.h: Same.
* include/bits/functional_hash.h: Same.
* include/bits/hashtable_policy.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/istream.tcc: Same.
* include/bits/ostream.tcc: Same.
* include/bits/algorithmfwd.h: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/ostream_insert.h: Same.
* include/bits/fstream.tcc: Same.
* include/bits/functexcept.h: Same.
* doc/doxygen/user.cfg.in: Adjust names.
* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
From-SVN: r168831
GCC Administrator [Sat, 15 Jan 2011 00:18:50 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168830
Martin Jambor [Fri, 14 Jan 2011 23:19:08 +0000 (00:19 +0100)]
common.opt (fdevirtualize): New flag.
2011-01-15 Martin Jambor <mjambor@suse.cz>
* common.opt (fdevirtualize): New flag.
* doc/invoke.texi (Option Summary): Document it.
* opts.c (default_options_table): Add devirtualize flag.
* ipa-prop.c (detect_type_change): Return immediately if
devirtualize flag is not set.
(detect_type_change_ssa): Likewise.
(compute_known_type_jump_func): Likewise.
(ipa_analyze_virtual_call_uses): Likewise.
From-SVN: r168826
Martin Jambor [Fri, 14 Jan 2011 23:00:59 +0000 (00:00 +0100)]
re PR tree-optimization/45934 (g++.old-deja/g++.other/dtor5.C FAILs with -finline-small-functions)
2011-01-14 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/45934
PR tree-optimization/46302
* ipa-prop.c (type_change_info): New type.
(stmt_may_be_vtbl_ptr_store): New function.
(check_stmt_for_type_change): Likewise.
(detect_type_change): Likewise.
(detect_type_change_ssa): Likewise.
(compute_complex_assign_jump_func): Check for dynamic type change.
(compute_complex_ancestor_jump_func): Likewise.
(compute_known_type_jump_func): Likewise.
(compute_scalar_jump_functions): Likewise.
(ipa_analyze_virtual_call_uses): Likewise.
(ipa_analyze_node): Push and pop cfun, set current_function_decl.
* testsuite/g++.dg/ipa/devirt-c-1.C: New test.
* testsuite/g++.dg/ipa/devirt-c-2.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-3.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-4.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-5.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-6.C: Likewise.
* testsuite/g++.dg/ipa/devirt-6.C: Likewise.
* testsuite/g++.dg/ipa/devirt-d-1.C: Likewise.
* testsuite/g++.dg/torture/pr45934.C: Likewise.
From-SVN: r168825
Mike Stump [Fri, 14 Jan 2011 21:50:11 +0000 (21:50 +0000)]
re PR target/19162 (ICE while building libobjc's sendmsg.c)
PR 19162
* objc-act.c (generate_struct_by_value_array): Do not output a
definition for struct_forward_array.
From-SVN: r168824
Ben Elliston [Fri, 14 Jan 2011 21:38:17 +0000 (21:38 +0000)]
objc-act.c (generate_struct_by_value_array): Do not output a definition for struct_forward_array.
2011-01-14 Ben Elliston <bje@au.ibm.com>
* objc-act.c (generate_struct_by_value_array): Do not output a
definition for struct_forward_array.
From-SVN: r168823
Jason Merrill [Fri, 14 Jan 2011 21:26:47 +0000 (16:26 -0500)]
re PR c++/47289 ([C++0x] ICE in tsubst_pack_expansion (triggered by decltype))
PR c++/47289
* pt.c (coerce_template_parms): Fix error recovery.
From-SVN: r168822
Joseph Myers [Fri, 14 Jan 2011 21:03:22 +0000 (21:03 +0000)]
i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
* config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
* config/i386/i386.opt (msse5): New Alias.
From-SVN: r168821
Joseph Myers [Fri, 14 Jan 2011 21:02:06 +0000 (21:02 +0000)]
linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
* config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
* config/sparc/linux64.h (CC1_SPEC): Likewise.
* config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
* config/sparc/sparc.h (CC1_SPEC): Likewise.
From-SVN: r168820
Joseph Myers [Fri, 14 Jan 2011 21:01:18 +0000 (21:01 +0000)]
linux.h (CC1_SPEC): Don't handle old equivalents of -mcpu options.
* config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
-mcpu options.
* config/sparc/linux64.h (CC1_SPEC): Likewise.
* config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
* config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
* config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
Likewise.
* config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
From-SVN: r168819
Joseph Myers [Fri, 14 Jan 2011 20:59:52 +0000 (20:59 +0000)]
vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi.
* config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
-fvec-eabi.
From-SVN: r168818
Mike Stump [Fri, 14 Jan 2011 19:37:16 +0000 (19:37 +0000)]
alpha.md (umk_mismatch_args): Don't put a mode on set.
* config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
* config/fr30/fr30.md: Likweise
(movsi_push): Likewise.
(movsi_pop): Likewise.
(enter_func): Likewise.
* config/moxie/moxie.md (movsi_push): Likewise.
(movsi_pop): Likewise.
From-SVN: r168817
Ian Lance Taylor [Fri, 14 Jan 2011 19:18:38 +0000 (19:18 +0000)]
libgo: Check whether we need -lrt for sched_yield.
From Rainer Orth.
From-SVN: r168816
Ian Lance Taylor [Fri, 14 Jan 2011 19:13:24 +0000 (19:13 +0000)]
libgo: Use $(SHELL) to invoke gotest.
From Rainer Orth.
From-SVN: r168815
Ian Lance Taylor [Fri, 14 Jan 2011 19:10:02 +0000 (19:10 +0000)]
libgo/syscalls: Finish Solaris code.
Mostly from Rainer Orth.
From-SVN: r168814
Joseph Myers [Fri, 14 Jan 2011 18:56:52 +0000 (18:56 +0000)]
linux64.h (LINK_SPEC): Remove %{bestGnum} %{no_archive} %{exact_version}.
* config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
%{no_archive} %{exact_version}.
* config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
* config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
%{no_archive} %{exact_version}.
* config/mips/openbsd.h (LINK_SPEC): Likewise.
* config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
* config/mips/vxworks.h: Likewise.
From-SVN: r168813
Joseph Myers [Fri, 14 Jan 2011 18:55:27 +0000 (18:55 +0000)]
microblaze.h (ASM_SPEC): Remove %{microblaze1}.
* config/microblaze/microblaze.h (ASM_SPEC): Remove
%{microblaze1}.
From-SVN: r168812
Joseph Myers [Fri, 14 Jan 2011 18:54:16 +0000 (18:54 +0000)]
little.h (CPP_ENDIAN_SPEC, [...]): Remove.
* config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
From-SVN: r168810
Joseph Myers [Fri, 14 Jan 2011 18:53:16 +0000 (18:53 +0000)]
nwld.h (LINK_SPEC): Check -nodefaultlibs not -nodefaultlib.
* config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
-nodefaultlib.
From-SVN: r168809
Joseph Myers [Fri, 14 Jan 2011 18:51:46 +0000 (18:51 +0000)]
cris.h (ASM_SPEC, [...]): Check for mcpu not cpu.
* config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
for mcpu not cpu.
* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
not cpu.
(CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
Don't handle -shlib.
From-SVN: r168808
Joseph Myers [Fri, 14 Jan 2011 18:47:52 +0000 (18:47 +0000)]
avr.h (CPP_SPEC): Don't handle -posix.
* config/avr/avr.h (CPP_SPEC): Don't handle -posix.
(CC1_SPEC): Don't handle -profile.
From-SVN: r168807
Dominique d'Humieres [Fri, 14 Jan 2011 18:47:50 +0000 (19:47 +0100)]
re PR objc/45989 (Some objc.dg-struct-layout-encoding-1 tests XPASS)
2011-01-08 Dominique d'Humieres <dominiq@lps.ens.fr>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR objc/45989
* objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c
(switchfiles): XFAIL
objc.dg-struct-layout-encoding-1/t02[57-9]_main.m execution tests
on i?86-*-*, x86_64-*-*, and powerpc*-apple-darwin* && ilp32.
XFAIL objc.dg-struct-layout-encoding-1/t03[01]_main.m execution
tests on i?86-*-* and x86_64-*-*.
Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
From-SVN: r168806
Joseph Myers [Fri, 14 Jan 2011 18:47:00 +0000 (18:47 +0000)]
microblaze.h (CC1_SPEC): Remove -gline spec.
* config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
* config/mips/mips.h (CC1_SPEC): Likewise.
From-SVN: r168805
Ian Lance Taylor [Fri, 14 Jan 2011 18:46:42 +0000 (18:46 +0000)]
libgo/Makefile.am: Correct typos in Solaris support.
From Rainer Orth.
From-SVN: r168804
Joseph Myers [Fri, 14 Jan 2011 18:46:24 +0000 (18:46 +0000)]
microblaze.h (CC1_SPEC): Remove %{save-temps: }.
* config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
* config/mips/mips.h (CC1_SPEC): Likewise.
From-SVN: r168803
Joseph Myers [Fri, 14 Jan 2011 18:45:06 +0000 (18:45 +0000)]
linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
* config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
* config/m32r/linux.h (LINK_SPEC): Likewise.
* config/mips/linux.h (LINK_SPEC): Likewise.
* config/mips/linux64.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/xtensa/linux.h (LINK_SPEC): Likewise.
From-SVN: r168802
Joseph Myers [Fri, 14 Jan 2011 18:42:32 +0000 (18:42 +0000)]
linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{version:-v}.
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
%{version:-v}.
* config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
From-SVN: r168801
Ian Lance Taylor [Fri, 14 Jan 2011 18:41:31 +0000 (18:41 +0000)]
mksysinfo: Define _pad128_t and _upad128_t if commented out.
From Rainer Orth.
From-SVN: r168800
Joseph Myers [Fri, 14 Jan 2011 18:41:05 +0000 (18:41 +0000)]
sp-elf.h (ASM_SPEC): Remove %{v:-V}.
* config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
* config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
From-SVN: r168799
Joseph Myers [Fri, 14 Jan 2011 18:39:49 +0000 (18:39 +0000)]
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
From-SVN: r168798
Mike Stump [Fri, 14 Jan 2011 18:11:27 +0000 (18:11 +0000)]
Fix indentation.
From-SVN: r168797
Paolo Carlini [Fri, 14 Jan 2011 17:17:32 +0000 (17:17 +0000)]
check_type.cc: Minor tweaks.
2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/25_algorithms/is_permutation/check_type.cc: Minor
tweaks.
* testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
From-SVN: r168796
Rainer Orth [Fri, 14 Jan 2011 17:00:24 +0000 (17:00 +0000)]
configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always supports -Bstatic/-Bdynamic.
* configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
supports -Bstatic/-Bdynamic.
* configure: Regenerate.
From-SVN: r168795
Jan Hubicka [Fri, 14 Jan 2011 15:42:09 +0000 (16:42 +0100)]
re PR target/46037 (--enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin)
2011-01-14 Jan Hubicka <jh@suse.cz>
Jack Howarth <howarth@bromo.med.uc.edu>
PR target/46037
* config/darwin.c (darwin_override_options): Honor flag_gtoggle
when checking debug_info_level. Test write_symbols instead of
debug_hooks->var_location when setting flag_var_tracking_uninit.
Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>
From-SVN: r168793
Richard Guenther [Fri, 14 Jan 2011 15:02:20 +0000 (15:02 +0000)]
re PR tree-optimization/47179 (SPU: errno misoptimization around malloc call)
2011-01-14 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47179
* target.def (ref_may_alias_errno): New target hook.
* targhooks.h (default_ref_may_alias_errno): Declare.
* targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
(default_ref_may_alias_errno): New function.
* target.h (struct ao_ref_s): Declare.
* tree-ssa-alias.c: Include target.h.
(call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
* Makefile.in (tree-ssa-alias.o): Adjust dependencies.
(targhooks.o): Likewise.
* doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
* doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
From-SVN: r168788
Richard Guenther [Fri, 14 Jan 2011 14:58:01 +0000 (14:58 +0000)]
tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
2011-01-14 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
From-SVN: r168787
Eric Botcazou [Fri, 14 Jan 2011 14:52:44 +0000 (14:52 +0000)]
Fix formatting issues
From-SVN: r168786
Richard Guenther [Fri, 14 Jan 2011 13:20:22 +0000 (13:20 +0000)]
re PR tree-optimization/47280 (ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions -ftrapv)
2011-01-14 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47280
* tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
return CFG changes.
(tree_ssa_forward_propagate_single_use_vars): Deal with
CFG changes from associate_plusminus.
* g++.dg/opt/pr47280.C: New testcase.
From-SVN: r168784
Jason Merrill [Fri, 14 Jan 2011 13:08:11 +0000 (08:08 -0500)]
re PR c++/46903 ([C++0x] ICE unexpected expression of kind template_id_expr)
PR c++/46903
* typeck2.c (check_narrowing): Only check arithmetic types.
From-SVN: r168783
Jason Merrill [Fri, 14 Jan 2011 13:08:02 +0000 (08:08 -0500)]
re PR c++/46688 (g++ requires a function declaration when it should not)
PR c++/46688
* tree.c (build_vec_init_expr): Handle flexible array
properly.
From-SVN: r168782
Richard Guenther [Fri, 14 Jan 2011 12:39:09 +0000 (12:39 +0000)]
re PR middle-end/47281 (error: non-trivial conversion at assignment)
2011-01-14 Richard Guenther <rguenther@suse.de>
PR middle-end/47281
Revert
2011-01-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46076
* tree-ssa.c (useless_type_conversion_p): Conversions from
unprototyped to empty argument list function types are useless.
* gcc.dg/torture/pr47281.c: New testcase.
* gcc.dg/tree-ssa/pr46076.c: XFAIL.
From-SVN: r168781
Richard Guenther [Fri, 14 Jan 2011 12:15:43 +0000 (12:15 +0000)]
re PR tree-optimization/47286 (Invalid code when using register ... asm)
2011-01-14 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47286
* tree-ssa-structalias.c (new_var_info): Register variables
are global.
* gcc.dg/tree-ssa/pr47286.c: New testcase.
From-SVN: r168779
Martin Jambor [Fri, 14 Jan 2011 11:59:07 +0000 (12:59 +0100)]
re PR middle-end/46823 (ICE: edge points to wrong declaration)
2011-01-14 Martin Jambor <mjambor@suse.cz>
PR middle-end/46823
* tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
From-SVN: r168778
Tobias Burnus [Fri, 14 Jan 2011 07:18:54 +0000 (08:18 +0100)]
re PR fortran/47182 (libquadmath.texi: undefined flag: BUGURL)
2011-01-14 Tobias Burnus <burnus@net-b.de>
PR fortran/47182
* configure.ac: Use ACX_BUGURL.
* libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
* Makefile.am: Create libquadmath-vers.texi.
* configure.in: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r168776
Ian Lance Taylor [Fri, 14 Jan 2011 05:37:12 +0000 (05:37 +0000)]
The type of a string slice is the type of the string being sliced.
From-SVN: r168775
Ian Lance Taylor [Fri, 14 Jan 2011 03:27:32 +0000 (03:27 +0000)]
Move clearing of flag_strict_aliasing to gcc interface.
From-SVN: r168774
Paolo Carlini [Fri, 14 Jan 2011 01:21:51 +0000 (01:21 +0000)]
[multiple changes]
2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/25_algorithms/is_permutation/check_type.cc: New.
* testsuite/25_algorithms/is_permutation/requirements/
explicit_instantiation/2.cc: Likewise.
* testsuite/25_algorithms/is_permutation/requirements/
explicit_instantiation/pod.cc: Likewise.
* testsuite/25_algorithms/is_permutation/1.cc: Likewise.
2011-01-13 John Lakos <jlakos@bloomberg.net>
Pablo Halpern <phalpern@halpernwightsoftware.com>
Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_algo.h (is_permutation): Add, per N3068.
* include/bits/algorithmfwd.h: Add.
From-SVN: r168773
GCC Administrator [Fri, 14 Jan 2011 00:19:25 +0000 (00:19 +0000)]
Daily bump.
From-SVN: r168770
Tobias Burnus [Thu, 13 Jan 2011 22:00:50 +0000 (23:00 +0100)]
re PR libfortran/47268 (Documentation: missing (Optional) keyword for parameters of get_command_argument() and get_environment_variable())
2011-01-13 Tobias Burnus <burnus@net-b.de>
PR fortran/47268
* intrinsic.texi (get_command_argument,
* get_environment_variable):
Mark arguments as optional in the Arguments section.
From-SVN: r168766
Anatoly Sokolov [Thu, 13 Jan 2011 20:24:19 +0000 (23:24 +0300)]
xtensa.h (XTENSA_LIBCALL_VALUE, [...]): Remove macros.
* config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
* config/xtensa/xtensa.c (xtensa_libcall_value,
xtensa_function_value_regno_p): New functions.
(TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
From-SVN: r168765
Ian Lance Taylor [Thu, 13 Jan 2011 20:23:19 +0000 (20:23 +0000)]
Don't exit mksysinfo.sh if there is no _user_regs_struct.
From-SVN: r168764
Kai Tietz [Thu, 13 Jan 2011 20:01:57 +0000 (20:01 +0000)]
re PR c++/47213 (ICE: SIGSEGV in determine_visibility (decl2.c:2076) with -fvisibility-ms-compat)
2011-01-13 Kai Tietz <kai.tietz@onevision.com>
PR c++/47213
* g++.dg/ext/pr47213.C: New.
2011-01-13 Kai Tietz <kai.tietz@onevision.com>
PR c++/47213
* cp-tree.h (CLASSTYPE_VISIBILITY): Use
TYPE_MAIN_DECL instead of TYPE_NAME.
(CLASSTYPE_VISIBILITY_SPECIFIED): Likewise.
* decl2.c (determine_visibility): Add check
of CLASS_TYPE_P for underlying_type.
2011-01-13 Kai Tietz <kai.tietz@onevision.com>
PR c++/47213
* config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
PE specific hook.
* config/i386/i386-protos.h (i386_pe_assemble_visibility):
New function prototype.
* config/i386/winnt.c (i386_pe_assemble_visibility):
Warn only if attribute was specified by user.
From-SVN: r168763
John David Anglin [Thu, 13 Jan 2011 18:51:10 +0000 (18:51 +0000)]
backport: ltmain.sh (relink): Use absolute path when hardcoding with -L.
Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.
/:
* ltmain.sh (relink): Use absolute path when hardcoding with -L.
From-SVN: r168762
Rainer Orth [Thu, 13 Jan 2011 18:20:42 +0000 (18:20 +0000)]
* gfortran.dg/cray_pointers_2.f90: Use dg-timeout-factor 4.
From-SVN: r168759
Joel Brobecker [Thu, 13 Jan 2011 18:05:35 +0000 (18:05 +0000)]
Resync with GDB (from "port GDB to ia64-hpux (native).")
ChangeLog:
* configure.ac: Remove readline, mmalloc, and gdb from noconfigdirs
for ia64-hpux.
* configure: Regenerate.
From-SVN: r168758
Kai Tietz [Thu, 13 Jan 2011 18:04:03 +0000 (18:04 +0000)]
re PR fortran/47260 (DLLEXPORT: TREE_PUBLIC for procedures lost between trans-decl.c and tree.c)
2011-01-13 Kai Tietz <kai.tietz@onevision.com>
Tobias Burnus <burnus@net-b.de>
PR fortran/47260
* trans-decl.c (gfc_get_extern_function_decl,
build_function_decl): Set TREE_PUBLIC/TREE_EXTERNAL before
calling decl_attributes.
Co-Authored-By: Tobias Burnus <burnus@net-b.de>
From-SVN: r168757
Tobias Burnus [Thu, 13 Jan 2011 16:32:33 +0000 (17:32 +0100)]
re PR fortran/45848 ([OOP] ICE on invalid code in fortran/symbol.c:2410)
2011-01-13 Tobias Burnus <burnus@net-b.de>
Mikael Morin <mikael@gcc.gnu.org>
PR fortran/45848
PR fortran/47204
* gfortran.h (gfc_code): Move union ext's case_list into
the struct block.
* dump-parse-tree.c (show_code_node): Adapt by prefixing
* case_list
by "block.".
* frontend-passes.c (gfc_code_walker): Ditto.
* match.c (gfc_match_goto, gfc_match_call, gfc_match_case,
gfc_match_type_is, gfc_match_class_is): Ditto.
* resolve.c (resolve_select, resolve_select_type): Ditto.
* st.c (gfc_free_statement): Ditto.
* trans-stmt.c (gfc_trans_integer_select,
* gfc_trans_logical_select,
gfc_trans_character_select): Ditto.
* parse.c (resolve_all_program_units): For error recovery, avoid
segfault is proc_name is NULL.
2011-01-13 Tobias Burnus <burnus@net-b.de>
Mikael Morin <mikael@gcc.gnu.org>
PR fortran/45848
PR fortran/47204
* gfortran.dg/select_type_20.f90: New.
* gfortran.dg/select_type_21.f90: New.
Co-Authored-By: Mikael Morin <mikael@gcc.gnu.org>
From-SVN: r168753
Michael Meissner [Thu, 13 Jan 2011 15:59:19 +0000 (15:59 +0000)]
Fix 47251, failure in powerpc -mcpu=power7 -m32 -msoft-float
From-SVN: r168752
Andreas Krebbel [Thu, 13 Jan 2011 13:46:24 +0000 (13:46 +0000)]
pr36728-1.c: Disable arg1/2 checks for s390 and s390x.
2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.dg/guality/pr36728-1.c: Disable arg1/2 checks for s390 and
s390x.
* gcc.dg/guality/pr36728-2.c: Likewise.
From-SVN: r168749
Andreas Krebbel [Thu, 13 Jan 2011 13:45:00 +0000 (13:45 +0000)]
s390.c (print_operand_address): Replace 'error' with 'output_operand_lossage'.
2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (print_operand_address): Replace 'error' with
'output_operand_lossage'.
(print_operand): Likewise.
From-SVN: r168748
Jeff Law [Thu, 13 Jan 2011 13:41:03 +0000 (06:41 -0700)]
re PR rtl-optimization/39077 (GCSE-optimization causes enormous binary size increase (~20 times !))
* PR rtl-optimization/39077
* doc/invoke.texi (max-gcse-insertion-ratio): Document.
* params.h (MAX_GCSE_INSERTION_RATIO): Define.
* params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
* lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
* gcse.c (prune_insertions_deletions): New function.
(compute_pre_data): Use it.
From-SVN: r168747
Dodji Seketeli [Thu, 13 Jan 2011 09:48:04 +0000 (09:48 +0000)]
Fix PR debug/PR46973
gcc/
* dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
static function.
(prune_unused_types_mark): Use it.
gcc/testsuite/
* g++.dg/debug/dwarf2/template-params-9.C: New test.
From-SVN: r168743
Andrey Belevantsev [Thu, 13 Jan 2011 09:29:09 +0000 (12:29 +0300)]
re PR rtl-optimization/45352 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7058)
PR rtl-optimization/45352
* sel-sched.c: Update copyright years.
(reset_sched_cycles_in_current_ebb): Also recheck the DFA state
in the advancing loop when we have issued issue_rate insns.
* gcc.dg/pr45352-3.c: New.
From-SVN: r168742
Eric Botcazou [Thu, 13 Jan 2011 07:35:42 +0000 (07:35 +0000)]
Fix minor issues
From-SVN: r168741
Ian Lance Taylor [Thu, 13 Jan 2011 06:18:45 +0000 (06:18 +0000)]
Use GOARCH value of sparc64 rather than sparcv9.
From-SVN: r168740
Ian Lance Taylor [Thu, 13 Jan 2011 05:42:40 +0000 (05:42 +0000)]
Add some Solaris support to mksysinfo.sh.
From Rainer Orth.
From-SVN: r168739
Ian Lance Taylor [Thu, 13 Jan 2011 05:17:52 +0000 (05:17 +0000)]
Clean up syscalls, add some Solaris support.
From-SVN: r168738
Joseph Myers [Thu, 13 Jan 2011 02:30:06 +0000 (02:30 +0000)]
* ja.po: Update.
From-SVN: r168737
GCC Administrator [Thu, 13 Jan 2011 00:19:09 +0000 (00:19 +0000)]
Daily bump.
From-SVN: r168736
Jonathan Wakely [Thu, 13 Jan 2011 00:02:41 +0000 (00:02 +0000)]
re PR libstdc++/47045 (NetBSD: define changes in ctype.h)
2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/47045
* config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
From-SVN: r168732
Rodrigo Rivas Costa [Wed, 12 Jan 2011 23:52:56 +0000 (23:52 +0000)]
cp-tree.h (begin_for_scope): New prototype.
* cp-tree.h (begin_for_scope): New prototype.
(begin_for_stmt): Update prototype.
(begin_range_for_stmt): Update prototype.
* init.c (build_vec_init): Update call to begin_for_stmt.
* parser.c (cp_parser_for): New.
(cp_parser_c_for): Add three new parameters.
(cp_parser_range_for): Likewise. Most parsing code removed.
(cp_parser_iteration_statement): Call cp_parser_for instead of
cp_parser_c_for and cp_parser_range_for.
(cp_parser_for_init_statement): Add new parameter and return type.
(cp_parser_block_declaration): Update call to
cp_parser_simple_declaration.
(cp_parser_simple_declaration): Add new parameter.
Update call to cp_parser_init_declarator.
(cp_parser_init_declarator): Add new parameter.
* pt.c (tsubst_expr): Update call to begin_for_stmt.
* semantics.c (begin_for_scope): New.
(begin_for_stmt): Add two new parameters.
(begin_range_for_stmt): Likewise.
From-SVN: r168731
Ian Lance Taylor [Wed, 12 Jan 2011 23:06:13 +0000 (23:06 +0000)]
Use correct nm and nm options.
From-SVN: r168730
Ian Lance Taylor [Wed, 12 Jan 2011 21:56:10 +0000 (21:56 +0000)]
Make using DejaGNU work for libgo testing on a native system.
From-SVN: r168729
Richard Henderson [Wed, 12 Jan 2011 17:59:31 +0000 (09:59 -0800)]
mn10300: Auto-clobber the flags in asms.
From-SVN: r168725
Richard Henderson [Wed, 12 Jan 2011 17:56:15 +0000 (09:56 -0800)]
mn10300: Add delegitimize_address hook.
This suppresses warnings generated by the dwarf2 output
routines about uninterpretable addresses.
From-SVN: r168724
Richard Henderson [Wed, 12 Jan 2011 17:53:50 +0000 (09:53 -0800)]
mn10300: Add clzsi2.
From-SVN: r168723
Richard Henderson [Wed, 12 Jan 2011 17:51:40 +0000 (09:51 -0800)]
mn10300: Emit clr.
From-SVN: r168722
Richard Henderson [Wed, 12 Jan 2011 17:47:02 +0000 (09:47 -0800)]
mn10300: Force lower-subreg pass to run.
There are a number of tests that fail -- generally ones involving
generic vectorization -- at -O0 because we run out of registers.
The lower-subreg pass cleans things up sufficiently to allow these
tests to succeed.
From-SVN: r168721
Richard Henderson [Wed, 12 Jan 2011 17:45:42 +0000 (09:45 -0800)]
mn10300: Clean up trampoline handling
The old code was failing in the testsuite. I didn't try to
debug exactly why, since the existing code was needlessly
complex.
From-SVN: r168720
Anatoly Sokolov [Wed, 12 Jan 2011 17:40:06 +0000 (20:40 +0300)]
s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
* config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
* config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
* config/s390/s390.c (s390_output_addr_const_extra): Make static.
(TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
From-SVN: r168719
Kai Tietz [Wed, 12 Jan 2011 17:02:41 +0000 (17:02 +0000)]
re PR debug/47209 (ICE: SIGSEGV in should_emit_struct_debug (dwarf2out.c:627) with -f{no-,}emit-struct-debug-{baseonly,reduced} -g)
2011-01-12 Kai Tietz <kai.tietz@onevision.com>
PR debug/47209
* dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
of type.
2011-01-12 Kai Tietz <kai.tietz@onevision.com>
PR debug/47209
* g++.dg/debug/pr47209.C: New.
From-SVN: r168718
Jan Hubicka [Wed, 12 Jan 2011 15:47:29 +0000 (16:47 +0100)]
re PR driver/47244 (plugin linker is used unconditionally)
PR driver/47244
* gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
(PLUGIN_COND_CLOSE): New macro.
(LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
From-SVN: r168717