1. 17 Jan, 2011 7 commits
  2. 16 Jan, 2011 15 commits
    • composite-type.c: Pass -Wno-unused. · 6302e79d
      gcc/testsuite/
      	* gcc.dg/fixed-point/composite-type.c: Pass -Wno-unused.
      	* gcc.dg/fixed-point/struct-union.c: Update error messages.
      
      From-SVN: r168876
      Richard Sandiford committed
    • 20101011-1.c: Skip test for MIPS16 Linux-based targets. · c28ea82c
      gcc/testsuite/
      	* gcc.c-torture/execute/20101011-1.c: Skip test for MIPS16
      	Linux-based targets.
      
      From-SVN: r168875
      Richard Sandiford committed
    • mips.c (mips_classify_symbol): Don't return SYMBOL_PC_RELATIVE for nonlocal labels. · 4377fad9
      gcc/
      	* config/mips/mips.c (mips_classify_symbol): Don't return
      	SYMBOL_PC_RELATIVE for nonlocal labels.
      
      From-SVN: r168874
      Richard Sandiford committed
    • re PR libstdc++/47320 (FAIL: 18_support/numeric_limits/lowest.cc execution test) · 89a5f486
      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
      Paolo Carlini committed
    • re PR libfortran/47322 (libquadmath breaks bootstrap on x86_64-unknown-freebsd8.2) · d6713cb8
      	PR libfortran/47322
      	* math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
      
      From-SVN: r168872
      Jakub Jelinek committed
    • re PR libstdc++/47321 (FAIL: 21_strings/basic_string/requirements/typedefs.cc… · 85b1217a
      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
      Paolo Carlini committed
    • * configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS. · f1d4ab26
      From-SVN: r168858
      Gerald Pfeifer committed
    • re PR fortran/47177 (bad example of using -dM in manual) · fc1e05d2
      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
      Tobias Burnus committed
    • re PR fortran/46625 (libquadmath: Mangle internal symbols; rename __float128 <-> string functions) · e313241f
      	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 committed
    • quadmath.h (__quadmath_throw, [...]): Define. · 327f73c1
      	* quadmath.h (__quadmath_throw, __quadmath_nth): Define.
      	Use it for all prototypes.
      
      From-SVN: r168855
      Jakub Jelinek committed
    • re PR fortran/46416 (libquadmath: missing functions) · dbc9f6c6
      	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 committed
    • re PR fortran/46416 (libquadmath: missing functions) · fa23b182
      	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 committed
    • re PR fortran/46402 (libquadmath: Add fmalq) · e8d42d28
      	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
      Jakub Jelinek committed
    • erase_after1_neg.cc: Move to this. · 5b8901ca
      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
      François Dumont committed
    • Daily bump. · aad4166e
      From-SVN: r168849
      GCC Administrator committed
  3. 15 Jan, 2011 6 commits
    • * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo. · 55959ffa
      From-SVN: r168845
      Eric Botcazou committed
    • re PR tree-optimization/47276 (ICE in function_and_variable_visibility, at… · be46831f
      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
      Jan Hubicka committed
    • re PR c++/33558 ('mutable' incorrectly accepted on reference members) · 620437f2
      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
      Giovanni Funchal committed
    • re PR fortran/47296 (I/O Segfault when running out of file descriptors) · 050d1a59
      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
      Jerry DeLisle committed
    • re PR libstdc++/36104 (gnu-versioned-namespace is broken) · 7c3e9502
      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
      Benjamin Kosnik committed
    • Daily bump. · 6227ed7d
      From-SVN: r168830
      GCC Administrator committed
  4. 14 Jan, 2011 12 commits