[Bug c++/55652] [4.8 Regression] ICE (segfault) with templates and structs
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 1 14:06:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55652
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-01 14:05:52 UTC ---
Author: jakub
Date: Fri Feb 1 14:05:42 2013
New Revision: 195653
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195653
Log:
Backported from mainline
2012-12-13 Jakub Jelinek <jakub@redhat.com>
PR c++/55652
* typeck2.c (merge_exception_specifiers): Don't call operand_equal_p
if noex is NULL.
* g++.dg/cpp0x/noexcept19.C: New test.
2012-12-06 Jakub Jelinek <jakub@redhat.com>
PR c++/54207
* except.c (build_noexcept_spec): Avoid direct comparison
with boolean_true_node or boolean_false_node, instead use
operand_equal_p and/or INTEGER_CST check.
* pt.c (tsubst_exception_specification): Likewise.
* typeck2.c (merge_exception_specifiers): Likewise.
* g++.dg/cpp0x/noexcept18.C: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/noexcept18.C
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/noexcept19.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/except.c
branches/gcc-4_7-branch/gcc/cp/pt.c
branches/gcc-4_7-branch/gcc/cp/typeck2.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list