Commit Graph

106181 Commits

Author SHA1 Message Date
Tobias Burnus 0ecf8f6684 re PR fortran/47295 (libquadmath: List __complex128 and constants in the .texi file)
2011-01-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47295
        * libquadmath.text: Document typedef and constants.

From-SVN: r168930
2011-01-17 20:03:28 +01:00
Richard Henderson 8a5b544900 rx: Split adddi3 and subdi3 after reload.
The formulation of the pre-reload pattern allows the lower_subreg
pass to properly split the patterns.  This also required re-writing
rx_source_operand and related predicates to accept subregs.

From-SVN: r168929
2011-01-17 10:22:04 -08:00
Richard Henderson 784f69be19 rx: Replace sat builtin with ssaddsi3 pattern.
A standalone __builtin_rx_sat isn't implementable due to needing
to keep the flags live before reload.  Instead provide a saturating
add pattern, which hopefully will be pattern-matched by high-level
optimizations.

From-SVN: r168928
2011-01-17 10:18:24 -08:00
Richard Henderson f033541c61 rx: Rewrite the bit manipulation patterns.
The patterns represented with ashift 1 canonically need to have
the ashift as the first operand of the logical operation.

Leave insv represented as a zero_extract store.
Implement a variable store to a 1 bit field as tst+bmne.
Implement a variable store of a condition into a 1 bit field with bmcc.

From-SVN: r168927
2011-01-17 10:16:39 -08:00
Richard Henderson 34fee389ff rx: Fix incorrect usage of + in output operands.
From-SVN: r168926
2011-01-17 10:12:45 -08:00
Richard Henderson 265c835fcf rx: Cleanup non-VOIDmode SETs.
SET should always have VOIDmode.  A number of places used
SImode or QImode for the mode of the SET rtx itself.

From-SVN: r168925
2011-01-17 10:11:49 -08:00
Richard Henderson b4d83be3f3 rx: Cleanup flags generation.
All arithmetic should only clobber the flags by default;
setting the flags to a useful value should be done by a
separate pattern.

From-SVN: r168924
2011-01-17 10:06:28 -08:00
Richard Henderson d0acb939c9 rx: Implement cstoresf4.
From-SVN: r168923
2011-01-17 09:59:20 -08:00
Richard Henderson c06fc3d9a0 rx: Remove %B workaround.
This was delayed until all compare+operate patterns were converted.

From-SVN: r168922
2011-01-17 09:58:21 -08:00
Richard Henderson 2882702b64 rx: Split movsicc post-reload.
This will allow elimination of the compare.

From-SVN: r168921
2011-01-17 09:57:15 -08:00
Richard Henderson 6f7310f2b4 rx: Split cstoresi4 post-reload.
This will allow elimination of the compare.

From-SVN: r168920
2011-01-17 09:55:33 -08:00
Richard Henderson e963cb1a8a rx: Cleanup conditional branches.
Use match_operator, not code_iterators.  Use a new helper function,
rx_split_cbranch.  Get the modes right on the comparisons.  Distinguish
fp comparisons with CC_Fmode.

From-SVN: r168919
2011-01-17 09:53:55 -08:00
Richard Henderson af530bb412 rx: Remove rx_compare_redundant.
To be replaced by the generic compare_elim pass, but we need to disable
this before fiddling with the arrangement of the arithmetic instructions,
as required by the generic pass.

From-SVN: r168916
2011-01-17 09:40:59 -08:00
Richard Henderson 27bf36f3e5 rx: Move SELECT_CC_MODE to function.
Rewrite to look at comparison codes, not arithmetic codes.

From-SVN: r168915
2011-01-17 09:39:44 -08:00
Paolo Carlini 999209d01b stl_queue.h (queue<>::swap, [...]): Implement DR 1198.
2011-01-17  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
	Implement DR 1198.
	* include/bits/stl_stack.h (stack<>::swap): Likewise.

From-SVN: r168914
2011-01-17 17:35:55 +00:00
Rainer Orth 6c7d1b312d * g++.old-deja/g++.other/init19.C: Don't XFAIL on mips-sgi-irix*.
From-SVN: r168911
2011-01-17 16:58:23 +00:00
Richard Henderson d7fde127b8 * except.c (dump_eh_tree): Fix stray ; after for statement.
From-SVN: r168910
2011-01-17 08:50:09 -08:00
Andreas Krebbel fe1d7b0e4d pr36728-1.c: Replace XFAIL for s390(x) with a target check.
2011-01-17  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.dg/guality/pr36728-1.c: Replace XFAIL for s390(x) with a
	target check.
	* gcc.dg/guality/pr36728-2.c: Likewise.

From-SVN: r168908
2011-01-17 15:12:55 +00:00
Richard Guenther 6ff3823053 re PR middle-end/47313 (ICE: PHI argument is not a GIMPLE value)
2011-01-17  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/47313
	* tree-inline.c (tree_function_versioning): Move DECL_RESULT
	handling before copying the body.  Properly deal with
	by-reference result in SSA form.

	* g++.dg/torture/pr47313.C: New testcase.

From-SVN: r168907
2011-01-17 14:48:35 +00:00
Rainer Orth bf5cd92b16 Note PR.
From-SVN: r168902
2011-01-17 13:46:32 +00:00
Ian Lance Taylor 114ce554bd sparc.c (sparc_sr_alias_set): Don't define.
* config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
	(struct_value_alias_set): Don't define.
	(sparc_option_override): Don't set sparc_sr_alias_set and
	struct_value_alias_set.
	(save_or_restore_regs): Use gen_frame_mem rather than calling
	set_mem_alias_set.
	(sparc_struct_value_rtx): Likewise.

From-SVN: r168901
2011-01-17 13:43:37 +00:00
H.J. Lu 98c6d93c59 Correct mask operand for AVX mask load/store.
gcc/

2011-01-17  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/47318
	* config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
	__m128i.
	(_mm_maskstore_pd): Likewise.
	(_mm_maskload_ps): Likewise.
	(_mm_maskstore_ps): Likewise.
	(_mm256_maskload_pd): Change mask to __m256i.
	(_mm256_maskstore_pd): Likewise.
	(_mm256_maskload_ps): Likewise.
	(_mm256_maskstore_ps): Likewise.

	* config/i386/i386-builtin-types.def: Updated.
	(ix86_expand_special_args_builtin): Likewise.

	* config/i386/i386.c (bdesc_special_args): Update
	__builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
	__builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
	__builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
	__builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.

	* config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
	Use <avxpermvecmode> on mask register.
	(avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.

gcc/testsuite/

2011-01-17  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/47318
	* gcc.target/i386/avx-vmaskmovpd-1.c: New.
	* gcc.target/i386/avx-vmaskmovpd-2.c: Likewise.
	* gcc.target/i386/avx-vmaskmovps-1.c: Likewise.
	* gcc.target/i386/avx-vmaskmovps-1.c: Likewise.

	* gcc.target/i386/avx-vmaskmovpd-256-1.c (avx_test): Load mask
	as __m256i.
	* gcc.target/i386/avx-vmaskmovpd-256-2.c (avx_test): Likewise.
	* gcc.target/i386/avx-vmaskmovps-256-1.c (avx_test): Likewise.
	* gcc.target/i386/avx-vmaskmovps-256-2.c (avx_test): Likewise.

From-SVN: r168899
2011-01-17 04:47:21 -08:00
Olivier Hainque b9361af2c3 re PR target/46655 (invalid '.line 0' directive emitted with -g)
PR target/46655
	* xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
	if <= USHRT_MAX in 32-bit mode.

Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
Co-Authored-By: Michael Haubenwallner <michael.haubenwallner@salomon.at>

From-SVN: r168897
2011-01-17 12:35:21 +00:00
Richard Guenther f4c69f53f9 re PR tree-optimization/45967 (gcc-4.5.x optimizes code with side-effects away)
2011-01-17  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/45967
	* gcc.dg/torture/pr45967-2.c: New testcase.
	* gcc.dg/torture/pr45967-3.c: Likewise.

From-SVN: r168896
2011-01-17 11:50:47 +00:00
Tobias Burnus b5d4b580ad re PR fortran/46817 (Missing copyright header in libquadmath/*.[hc])
2011-01-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46817
        * quadmath-imp.h: Refer to libquadmath not ot libiberty,
        bump copyright year and use /**/ instead of // comments.
        * quadmath.h: Ditto.
        * quadmath-weak.h: Ditto.
        * quadmath_io.c: Ditto.

From-SVN: r168892
2011-01-17 10:14:41 +01:00
Ralf Wildenhues b7ae9eb502 doc: wrap long lines in install.texi.
gcc/:
	* doc/install.texi (Configuration, Specific): Wrap long
	lines in examples.  Allow line wrapping in long options
	and URLs where beneficial for PDF output.

From-SVN: r168889
2011-01-17 06:38:47 +00:00
Janne Blomqvist 9cd72574bc PR47296 Segfault when running out of file descriptors
From-SVN: r168888
2011-01-17 07:48:10 +02:00
Paolo Carlini 124b5e3620 re PR libstdc++/47323 (FAIL: 28_regex/08_basic_regex/requirements/constexpr_data.cc (test for excess errors))
2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/47323
	* testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
	Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.

From-SVN: r168887
2011-01-17 02:33:30 +00:00
John David Anglin 9fe018dca2 re PR testsuite/47325 (FAIL: g++.dg/ext/pr47213.C (test for excess errors))
PR testsuite/47325
	g++.dg/ext/pr47213.C: Require visibility.

From-SVN: r168886
2011-01-17 00:35:30 +00:00
GCC Administrator cca5b738c7 Daily bump.
From-SVN: r168885
2011-01-17 00:18:27 +00:00
Richard Sandiford 6302e79df6 composite-type.c: Pass -Wno-unused.
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
2011-01-16 22:02:04 +00:00
Richard Sandiford c28ea82c23 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
2011-01-16 21:55:03 +00:00
Richard Sandiford 4377fad9da 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
2011-01-16 21:52:37 +00:00
Paolo Carlini 89a5f4865a 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
2011-01-16 20:55:30 +00:00
Jakub Jelinek d6713cb805 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
2011-01-16 21:48:24 +01:00
Paolo Carlini 85b1217ad1 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
2011-01-16 20:42:57 +00:00
Gerald Pfeifer f1d4ab26bc * configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS.
From-SVN: r168858
2011-01-16 19:38:04 +00:00
Tobias Burnus fc1e05d293 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
2011-01-16 18:14:48 +01:00
Jakub Jelinek e313241f91 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
2011-01-16 17:55:27 +01:00
Jakub Jelinek 327f73c19e quadmath.h (__quadmath_throw, [...]): Define.
* quadmath.h (__quadmath_throw, __quadmath_nth): Define.
	Use it for all prototypes.

From-SVN: r168855
2011-01-16 17:48:59 +01:00
Jakub Jelinek dbc9f6c6ee 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
2011-01-16 17:44:35 +01:00
Jakub Jelinek fa23b18209 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
2011-01-16 17:42:37 +01:00
Jakub Jelinek e8d42d280e 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
2011-01-16 17:40:05 +01:00
François Dumont 5b8901caa0 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
2011-01-16 10:35:28 +00:00
GCC Administrator aad4166ed5 Daily bump.
From-SVN: r168849
2011-01-16 00:18:19 +00:00
Eric Botcazou 55959ffa64 * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
From-SVN: r168845
2011-01-15 18:47:40 +00:00
Jan Hubicka be46831f5a 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
2011-01-15 15:44:56 +00:00
Giovanni Funchal 620437f2d4 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
2011-01-15 14:41:09 +00:00
Jerry DeLisle 050d1a59d1 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
2011-01-15 06:42:30 +00:00
Benjamin Kosnik 7c3e9502c3 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
2011-01-15 00:27:10 +00:00