mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 10:40:50 +08:00
re PR c++/34953 (ICE on destructor + noreturn-function at -O3)
2008-01-24 Richard Guenther <rguenther@suse.de> PR middle-end/34953 * g++.dg/torture/pr34953.C: New testcase. From-SVN: r131782
This commit is contained in:
parent
134c2de333
commit
366784f820
@ -1,12 +1,17 @@
|
||||
2008-01-24 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR middle-end/34953
|
||||
* g++.dg/torture/pr34953.C: New testcase.
|
||||
|
||||
2008-01-24 Jakub Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/34934
|
||||
* gcc.c-torture/compile/20080124-1.c: New test.
|
||||
|
||||
2008-01-24 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/34872
|
||||
* gfortran.dg/function_charlen_3.f: New test.
|
||||
2008-01-24 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/34872
|
||||
* gfortran.dg/function_charlen_3.f: New test.
|
||||
|
||||
2008-01-23 Michael Matz <matz@suse.de>
|
||||
|
||||
|
17
gcc/testsuite/g++.dg/torture/pr34953.C
Normal file
17
gcc/testsuite/g++.dg/torture/pr34953.C
Normal file
@ -0,0 +1,17 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-w" } */
|
||||
|
||||
void B_CLEAR(void* ret);
|
||||
void B_NeverReturns(void* ret) __attribute__((noreturn));
|
||||
|
||||
int main()
|
||||
{
|
||||
const struct AutoErrPop { ~AutoErrPop() { } } AutoErrPopper = { };
|
||||
B_NeverReturns(0);
|
||||
}
|
||||
|
||||
void B_NeverReturns(void* ret)
|
||||
{
|
||||
B_CLEAR(ret); /* Never returns (does a setjmp/goto) */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user