Commit Graph

129068 Commits

Author SHA1 Message Date
Martin Jambor
c18ff8a448 re PR middle-end/60647 (ICE in visit_ref_for_mod_analysis, at ipa-prop.c:2112)
2014-03-31  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/60647
	* tree-sra.c (callsite_has_enough_arguments_p): Renamed to
	callsite_arguments_match_p.  Updated all callers.  Also check types of
	corresponding formal parameters and actual arguments.
	(not_all_callers_have_enough_arguments_p) Renamed to
	some_callers_have_mismatched_arguments_p.

testsuite/
	* gcc.dg/pr60647-1.c: New test.
	* gcc.dg/pr60647-2.c: Likewise.

From-SVN: r208957
2014-03-31 14:28:33 +02:00
Richard Biener
9372710709 pr55113_0.c: Skip also for 32bit multilib on x86_64.
2014-03-31  Richard Biener  <rguenther@suse.de>

	* gcc.dg/lto/pr55113_0.c: Skip also for 32bit multilib on x86_64.

From-SVN: r208956
2014-03-31 10:12:52 +00:00
Yuri Rumyantsev
9a96d5b797 tree-inline.c (copy_loops): Add missed copy of 'safelen'.
gcc/
	* tree-inline.c (copy_loops): Add missed copy of 'safelen'.

From-SVN: r208955
2014-03-31 08:20:32 +00:00
GCC Administrator
24403edefc Daily bump.
From-SVN: r208953
2014-03-31 00:16:59 +00:00
Kugan Vivekanandarajah
6c031d8dfd re PR target/60034 ("invalid expression as operand" in aarch64 inline asm)
PR target/60034
* aarch64/aarch64.c (aarch64_classify_address): Fix alignment for
section anchor.

PR target/60034
* gcc.target/aarch64/pr60034.c: New file.

From-SVN: r208949
2014-03-30 22:41:59 +00:00
Uros Bizjak
429749e23b sse.md (FMAMODE_NOVF512): New mode iterator.
* config/i386/sse.md (FMAMODE_NOVF512): New mode iterator.
	(<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>):
	Split out
	<sd_mask_codefor>fma_fmadd_<VF_512:mode><sd_maskz_name><round_name>.
	Use FMAMODE_NOVF512 mode iterator.
	(<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>): Ditto.
	(<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>): Ditto.
	(<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>): Ditto.
	(<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>):
	Split out
	<sd_mask_codefor>fma_fmaddsub_<VF_512:mode><sd_maskz_name><round_name>.
	Use VF_128_256 mode iterator.
	(<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>):
	Ditto.

From-SVN: r208948
2014-03-30 19:38:57 +02:00
Eric Botcazou
368348abbb re PR ada/60703 (System.Address not preelaborable on MIPS)
PR ada/60703
	* system-linux-alpha.ads: Adjust for Ada 2005.
	* system-linux-mips.ads: Likewise.
	* system-linux-mips64el.ads: Likewise.
	* system-linux-mipsel.ads: Likewise.
	* system-linux-s390.ads: Likewise.
	* system-linux-s390x.ads: Likewise.
	* system-linux-sparc.ads: Likewise.
	* system-linux-sparcv9.ads: Likewise.
	* system-rtems.ads: Likewise.
	* system-vxworks-arm.ads: Likewise.

From-SVN: r208945
2014-03-30 15:47:43 +00:00
GCC Administrator
1e3cdc9d94 Daily bump.
From-SVN: r208944
2014-03-30 00:16:59 +00:00
Adam Butcher
4b0040a6a5 re PR c++/60626 ([c++1y] ICE with pointer to function with auto parameter)
Fix PR c++/60626

	PR c++/60626
	* parser.c (cp_parser_init_declarator): Handle erroneous generic type
	usage in non-functions with pushed scope.

	PR c++/60626
	* g++.dg/cpp1y/pr60626.C: New testcase.

From-SVN: r208940
2014-03-29 19:23:44 +00:00
Joseph Myers
cfdc23868b pr45416.c: Allow bextr on x86.
* gcc.dg/pr45416.c: Allow bextr on x86.
	* gcc.target/i386/fma4-builtin.c, gcc.target/i386/fma4-fma-2.c,
	gcc.target/i386/fma4-fma.c, gcc.target/i386/fma4-vector-2.c,
	gcc.target/i386/fma4-vector.c: Use -mno-fma.
	* gcc.target/i386/l_fma_double_1.c,
	gcc.target/i386/l_fma_double_2.c,
	gcc.target/i386/l_fma_double_3.c,
	gcc.target/i386/l_fma_double_4.c,
	gcc.target/i386/l_fma_double_5.c,
	gcc.target/i386/l_fma_double_6.c, gcc.target/i386/l_fma_float_1.c,
	gcc.target/i386/l_fma_float_2.c, gcc.target/i386/l_fma_float_3.c,
	gcc.target/i386/l_fma_float_4.c, gcc.target/i386/l_fma_float_5.c,
	gcc.target/i386/l_fma_float_6.c: Use -mno-fma4.
	* gcc.target/i386/pr27971.c: Use -mno-tbm.
	* gcc.target/i386/pr42542-4a.c: Use -mno-avx.
	* gcc.target/i386/pr59390.c: Use -mno-fma -mno-fma4.

From-SVN: r208939
2014-03-29 15:39:34 +00:00
Jakub Jelinek
f67c829e48 re PR target/60648 (ICE (segmentation fault) in expand_binop)
PR target/60648
	* g++.dg/pr60648.C: Move test to...
	* g++.dg/torture/pr60648.C: ... here.  Run on all targets, remove
	dg-options, add for fpic targets dg-additional-options -fPIC.

From-SVN: r208933
2014-03-29 12:10:25 +01:00
GCC Administrator
df438771cc Daily bump.
From-SVN: r208930
2014-03-29 00:17:10 +00:00
Jan Hubicka
1f91035fef cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear static chain if needed.
* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear
	static chain if needed.
	* g++.dg/torture/pr60659.C: New testcase.

From-SVN: r208927
2014-03-28 22:19:27 +00:00
Vladimir Makarov
6e071b1e8f re PR target/60697 ([aarch64] LRA ICE (Segfault) while building 435.gromacs)
2014-03-28  Vladimir Makarov  <vmakarov@redhat.com>

	PR target/60697
	* lra-constraints.c (index_part_to_reg): New.
	(process_address): Use it.

2014-03-28  Vladimir Makarov  <vmakarov@redhat.com>

	PR target/60697
	* gcc.target/aarch64/pr60697.c: New.

From-SVN: r208926
2014-03-28 22:14:36 +00:00
Jakub Jelinek
4bb66ef337 Fixup ChangeLog formatting.
From-SVN: r208925
2014-03-28 23:10:12 +01:00
Jeff Law
e7f3178934 re PR target/60648 (ICE (segmentation fault) in expand_binop)
PR target/60648
       * expr.c (do_tablejump): Use simplify_gen_binary rather than
       gen_rtx_{PLUS,MULT} to build up the address expression.

       * i386/i386.c (ix86_legitimize_address): Use copy_addr_to_reg to avoid
       creating non-canonical RTL.

       PR target/60648
       * g++.dg/pr60648.C: New test.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r208924
2014-03-28 16:02:32 -06:00
Adam Butcher
5294e4c32d re PR c++/60573 ([c++1y] ICE with defining generic function of nested class in class scope)
Fix PR c++/60573

	PR c++/60573
	* name-lookup.h (cp_binding_level): New transient field defining_class_p
	to indicate whether a scope is in the process of defining a class.
	* semantics.c (begin_class_definition): Set defining_class_p.
	* name-lookup.c (leave_scope): Reset defining_class_p.
	* parser.c (synthesize_implicit_template_parm): Use cp_binding_level::
	defining_class_p rather than TYPE_BEING_DEFINED as the predicate for
	unwinding to class-defining scope to handle the erroneous definition of
	a generic function of an arbitrarily nested class within an enclosing
	class.

	PR c++/60573
	* g++.dg/cpp1y/pr60573.C: New testcase.

From-SVN: r208921
2014-03-28 20:41:45 +00:00
Jakub Jelinek
eee32b5ea3 Add PR60576 to the ChangeLog entry.
From-SVN: r208920
2014-03-28 21:30:36 +01:00
Mikael Morin
61b6bed7e7 re PR fortran/60576 (FAIL: gfortran.dg/assumed_rank_7.f90)
2014-03-28  Mikael Morin  <mikael@gcc.gnu.org>
            Tobias Burnus  <burnus@net-b.de>

        PR fortran/60576
        * trans-expr.c (gfc_conv_derived_to_class): Avoid
        generation of out-of-bounds range expr.


Co-Authored-By: Tobias Burnus <burnus@net-b.de>

From-SVN: r208918
2014-03-28 21:04:01 +01:00
Jan Hubicka
4cd8957f51 re PR ipa/60243 (IPA is slow on large cgraph tree)
PR ipa/60243
	* ipa-inline.c (want_inline_small_function_p): Short circuit large
	functions; reorganize to make cheap checks first.
	(inline_small_functions): Do not estimate growth when dumping;
	it is expensive.
	* ipa-inline.h (inline_summary): Add min_size.
	(growth_likely_positive): New function.
	* ipa-inline-analysis.c (dump_inline_summary): Add min_size.
	(set_cond_stmt_execution_predicate): Cleanup.
	(estimate_edge_size_and_time): Compute min_size.
	(estimate_calls_size_and_time): Likewise.
	(estimate_node_size_and_time): Likewise.
	(inline_update_overall_summary): Update min_size.
	(do_estimate_edge_time): Likewise.
	(do_estimate_edge_size): Update.
	(do_estimate_edge_hints): Update.
	(growth_likely_positive): New function.

From-SVN: r208916
2014-03-28 19:50:28 +00:00
Jakub Jelinek
ff76f4e2c0 re PR target/60693 (ICE on funny memcpy)
PR target/60693
	* config/i386/i386.c (ix86_copy_addr_to_reg): Call copy_addr_to_reg
	also if addr has VOIDmode.

	* gcc.target/i386/pr60693.c: New test.

From-SVN: r208915
2014-03-28 20:31:17 +01:00
Vishnu K S
27f083b845 pr59940.c (si): Use 32-bit SI mode instead of int.
2014-03-28  Vishnu K S  <Vishnu.k_s@atmel.com>

	* gcc.dg/pr59940.c (si): Use 32-bit SI mode instead of int.

From-SVN: r208914
2014-03-28 19:19:03 +00:00
Mikael Morin
f6b80ca0b8 re PR fortran/60677 (FAIL: gfortran.dg/ichar_3.f90 -O (test for excess errors))
fortran/
        PR fortran/60677
        * trans-intrinsic.c (gfc_conv_intrinsic_ichar): Enlarge argument
        list buffer.

From-SVN: r208913
2014-03-28 18:58:44 +00:00
Jakub Jelinek
8edbfaa667 re PR c++/60689 (Bogus error with atomic::exchange)
PR c++/60689
	* c-tree.h (c_build_function_call_vec): New prototype.
	* c-typeck.c (build_function_call_vec): Don't call
	resolve_overloaded_builtin here.
	(c_build_function_call_vec): New wrapper function around
	build_function_call_vec.  Call resolve_overloaded_builtin here.
	(convert_lvalue_to_rvalue, build_function_call, build_atomic_assign):
	Call c_build_function_call_vec instead of build_function_call_vec.
	* c-parser.c (c_parser_postfix_expression_after_primary): Likewise.
	* c-decl.c (finish_decl): Likewise.

	* c-common.c (add_atomic_size_parameter): When creating new
	params vector, push the size argument first.

	* c-c++-common/pr60689.c: New test.

From-SVN: r208912
2014-03-28 19:16:32 +01:00
Kyrylo Tkachov
ed6eb6dc9f [ARM/AArch64][2/2] Crypto intrinsics tuning for Cortex-A53 - pipeline description
* config/arm/aarch-common.c (aarch_crypto_can_dual_issue): New.
	* config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
	Declare extern.
	* config/arm/cortex-a53.md: Add reservations and bypass for crypto
	instructions as well as AdvancedSIMD loads.

From-SVN: r208910
2014-03-28 17:24:52 +00:00
Kyrylo Tkachov
b10baa9584 [ARM/AArch64][1/2] Crypto intrinsics tuning for Cortex-A53 - "type" Attribute restructuring
* config/aarch64/aarch64-simd.md (aarch64_crypto_aes<aes_op>v16qi):
     Use crypto_aese type.
     (aarch64_crypto_aes<aesmc_op>v16qi): Use crypto_aesmc type.
     * config/arm/arm.md (is_neon_type): Replace crypto_aes with
     crypto_aese, crypto_aesmc.  Move to types.md.
     * config/arm/types.md (crypto_aes): Split into crypto_aese,
     crypto_aesmc.
     * config/arm/iterators.md (crypto_type): Likewise.

From-SVN: r208908
2014-03-28 17:22:47 +00:00
Jakub Jelinek
97b733ac56 re PR c++/58678 (pykde4-4.11.2 link error (devirtualization too trigger happy))
PR c++/58678
	* g++.dg/abi/thunk6.C: Scan assembler for _ZTv0_n32_N1CD1Ev
	only for lp64 targets and scan for _ZTv0_n16_N1CD1Ev for ilp32
	targets.

From-SVN: r208907
2014-03-28 18:17:56 +01:00
Jan Hubicka
23a042164f cgraph.c: Include expr.h and tree-dfa.h.
* cgraph.c: Include expr.h and tree-dfa.h.
	(cgraph_redirect_edge_call_stmt_to_callee): If call in noreturn; remove LHS.

From-SVN: r208901
2014-03-28 15:30:58 +00:00
Vladimir Makarov
a4971e6893 re PR target/60675 ([aarch64] internal compiler error: Max. number of generated reload insns per insn is achieved (90))
2014-03-28  Vladimir Makarov  <vmakarov@redhat.com>

	PR target/60675
	* lra-assigns.c (find_hard_regno_for): Remove unavailable hard
	regs from checking multi-reg pseudos.

2014-03-28  Vladimir Makarov  <vmakarov@redhat.com>

	PR target/60675
	* gcc.target/aarch64/pr60675.C: New.

From-SVN: r208900
2014-03-28 15:27:58 +00:00
Richard Biener
2486c24a8c simple-object.c (simple_object_internal_read): Handle EINTR and short reads.
2014-03-28  Richard Biener  <rguenther@suse.de>

	libiberty/
	* simple-object.c (simple_object_internal_read): Handle
	EINTR and short reads.

	lto-plugin/
	* lto-plugin.c (process_symtab): Handle EINTR and short reads.

From-SVN: r208898
2014-03-28 14:05:49 +00:00
Andreas Krebbel
44d627891f ssa-dom-thread-4.c: Remove s390 special option.
2014-03-28  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.dg/tree-ssa/ssa-dom-thread-4.c: Remove s390 special
          option.
	* lib/target-supports.exp: Return true for s390
          in check_effective_logical_op_short_circuit.

From-SVN: r208897
2014-03-28 13:44:58 +00:00
Ramana Radhakrishnan
7ac84c0218 Fix A12 multilib rule.
This affects only arm-none-eabi targets and those using t-aprofile in
their multilib lists. The problem here is that when the A12 support
was added, we mistakenly added this to the MULTILIB_MATCHES rule for
the A15 rather than putting out a separate line for this.

Fixed thusly and verified that the correct multilibs are now chosen.


     * config/arm/t-aprofile (MULTILIB_MATCHES): Correct A12 rule.

From-SVN: r208896
2014-03-28 13:43:21 +00:00
Ulrich Weigand
bd302a183a rs6000.c (fusion_gpr_load_p): Refuse optimization if it would clobber the stack pointer, even temporarily.
* config/rs6000/rs6000.c (fusion_gpr_load_p): Refuse optimization
	if it would clobber the stack pointer, even temporarily.

From-SVN: r208895
2014-03-28 12:42:40 +00:00
Kirill Yukhin
efeaaaafad avx512f-vshuff32x4-2.c: Fix initialization of second source operand.
gcc/testsuite
	* gcc.target/i386/avx512f-vshuff32x4-2.c: Fix initialization
	  of second source operand.
	* gcc.target/i386/avx512f-vshuff64x2-2.c: Ditto.
	* gcc.target/i386/avx512f-vshufi32x4-2.c: Ditto.
	* gcc.target/i386/avx512f-vshufi64x2-2.c: Ditto.

From-SVN: r208894
2014-03-28 11:10:13 +00:00
Jakub Jelinek
54689b4fc9 re PR ipa/60315 (template constructor switch optimization)
PR ipa/60315
	* g++.dg/torture/pr60315.C: Add -std=c++11 to dg-options.

From-SVN: r208893
2014-03-28 11:25:34 +01:00
Eric Botcazou
cee9defb69 * mode-switching.c: Make small adjustments to the top comment.
From-SVN: r208892
2014-03-28 10:20:41 +00:00
Tobias Burnus
066adee80c cilk-plus-dg.exp: New.
2014-03-28  Tobias Burnus  <burnus@net-b.de>

        * lib/cilk-plus-dg.exp: New.
        * g++.dg/cilk-plus/cilk-plus.exp: Use it.
        * gcc.dg/cilk-plus/cilk-plus.exp: Use it.

From-SVN: r208889
2014-03-28 07:57:54 +01:00
Ian Lance Taylor
3700e94730 re PR other/59545 (Signed integer overflow issues)
PR other/59545
compiler: Fix bogus invalid static_cast to Unary_expression.

From-SVN: r208888
2014-03-28 05:20:48 +00:00
GCC Administrator
c63de3b3f8 Daily bump.
From-SVN: r208886
2014-03-28 00:17:18 +00:00
Thomas Koenig
4f83d583ec re PR fortran/60522 (WHERE construct causes an ICE in gfc_trans_where_2)
2014-04-27  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/60522
	* frontend-passes.c (cfe_code):  Do not walk subtrees
	for WHERE.

2014-04-27  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/60522
	* gfortran.dg/where_4.f90:  New test case.

From-SVN: r208883
2014-03-27 22:21:35 +00:00
Michael Meissner
6788164be4 extend.texi (PowerPC AltiVec/VSX Built-in Functions): Document use of vec_xxsldwi and vec_xxpermdi builtins.
2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
	Document use of vec_xxsldwi and vec_xxpermdi builtins.

From-SVN: r208880
2014-03-27 21:43:27 +00:00
Tobias Burnus
7651172f59 re PR fortran/58880 ([OOP] ICE on valid with FINAL function and type extension)
2014-03-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/58880
        * trans-expr.c (gfc_conv_scalar_to_descriptor): Fix handling
        of nonpointers.

2014-03-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/58880
        * gfortran.dg/finalize_24.f90: New.

From-SVN: r208879
2014-03-27 22:17:43 +01:00
Michael Meissner
117f16fbba re PR testsuite/60672 (FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y (test for errors, line 7))
[gcc]
2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* config/rs6000/constraints.md (wD constraint): New constraint to
	match the constant integer to get the top DImode/DFmode out of a
	vector in a VSX register.

	* config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to
	match the constant integer to get the top DImode/DFmode out of a
	vector in a VSX register.

	* config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin
	for ISA 2.07.

	* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
	vbpermq builtins.

	* config/rs6000/rs6000.c (rs6000_debug_reg_global): If
	-mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT.

	* config/rs6000/vsx.md (vsx_extract_<mode>, V2DI/V2DF modes):
	Optimize vec_extract of 64-bit values, where the value being
	extracted is in the top word, where we can use scalar
	instructions.  Add direct move and store support.  Combine the big
	endian/little endian vector select load support into a single
	insn.
	(vsx_extract_<mode>_internal1): Likewise.
	(vsx_extract_<mode>_internal2): Likewise.
	(vsx_extract_<mode>_load): Likewise.
	(vsx_extract_<mode>_store): Likewise.
	(vsx_extract_<mode>_zero): Delete, big and little endian insns are
	combined into vsx_extract_<mode>_load.
	(vsx_extract_<mode>_one_le): Likewise.

	* config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to
	define the top 64-bit vector element.

	* doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD
	constraint.

	PR target/60672
	* config/rs6000/altivec.h (vec_xxsldwi): Add missing define to
	enable use of xxsldwi and xxpermdi builtin functions.
	(vec_xxpermdi): Likewise.

	* doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
	Document use of vec_xxsldwi and vec_xxpermdi builtins.

[gcc/testsuite]
2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* gcc.target/powerpc/p8vector-vbpermq.c: New test to test the
	vbpermq builtin.

	* gcc.target/powerpc/vsx-extract-1.c: New test to test VSX
	vec_select optimizations.
	* gcc.target/powerpc/vsx-extract-2.c: Likewise.
	* gcc.target/powerpc/vsx-extract-3.c: Likewise.

	PR target/60672
	* gcc.target/powerpc/pr60676.c: New file, make sure xxsldwi and
	xxpermdi builtins are supported.

From-SVN: r208877
2014-03-27 20:07:16 +00:00
Vladimir Makarov
9e038952c5 re PR rtl-optimization/60650 ([ARM] LRA ICE in assign_by_spills)
2014-03-27  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/60650
	* lra-asign.c (find_hard_regno_for, spill_for): Add parameter
	first_p.  Use it.
	(find_spills_for): New.
	(assign_by_spills): Pass the new parameter to find_hard_regno_for.
	Spill all pseudos on the second iteration.

2014-03-27  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/60650
	* gcc.target/arm/pr60650.c: New.

From-SVN: r208876
2014-03-27 18:49:44 +00:00
Jonathan Wakely
ffcbf03ffb * doc/html/*: Regenerate.
From-SVN: r208875
2014-03-27 18:22:46 +00:00
Jonathan Wakely
b08d3b681a containers.xml (associative.bitset.size_variable): Fix bad s/part/chapter/ substitutions.
* doc/xml/manual/containers.xml (associative.bitset.size_variable):
	Fix bad s/part/chapter/ substitutions.
	* doc/xml/manual/io.xml (std.io): Likewise.
	* doc/xml/manual/numerics.xml (std.numerics.generalized_ops): Likewise.
	* doc/xml/manual/strings.xml (strings.string.Cstring): Likewise.

From-SVN: r208874
2014-03-27 18:22:38 +00:00
Jonathan Wakely
6f8b5e0cda faq.xml (faq): Refer to clauses instead of chapters.
* doc/xml/faq.xml (faq): Refer to clauses instead of chapters.
	* doc/xml/manual/appendix_contributing.xml (contrib.design_notes):
	Likewise.
	* doc/xml/manual/backwards_compatibility.xml (backwards.third):
	Likewise.
	* doc/xml/manual/test.xml (test.organization.layout): Likewise.

From-SVN: r208873
2014-03-27 18:22:33 +00:00
Jonathan Wakely
25d24c421a * doc/xml/manual/io.xml (std.io.objects): Additional markup.
From-SVN: r208872
2014-03-27 18:22:27 +00:00
Jonathan Wakely
3941b26033 re PR libstdc++/60612 (Throwing exception, catching and rethrowing (std::exception_ptr) in destructor leads to segfault)
PR libstdc++/60612
	* libsupc++/eh_ptr.cc: Assert __cxa_dependent_exception layout is
	compatible with __cxa_exception.
	* libsupc++/unwind-cxx.h (__cxa_dependent_exception): Add padding.
	Fix typos in comments.
	* testsuite/18_support/exception_ptr/60612-terminate.cc: New.
	* testsuite/18_support/exception_ptr/60612-unexpected.cc: New.

From-SVN: r208871
2014-03-27 18:07:25 +00:00
Marek Polacek
324dc401fe re PR c/50347 (unexpected -Wconversion error from gcc builtin)
PR c/50347
	* doc/extend.texi (ffs Builtins): Change unsigned types to signed
	types.

From-SVN: r208870
2014-03-27 15:59:07 +00:00