Skip to content

Commit

Permalink
2008-01-24 Richard Guenther <rguenther@suse.de>
Browse files Browse the repository at this point in the history
	PR middle-end/34953
	* g++.dg/torture/pr34953.C: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131782 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
rguenth committed Jan 24, 2008
1 parent 4b53147 commit 140425b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
13 changes: 9 additions & 4 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -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>

Expand Down
17 changes: 17 additions & 0 deletions gcc/testsuite/g++.dg/torture/pr34953.C
Original file line number Diff line number Diff line change
@@ -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) */
}

0 comments on commit 140425b

Please sign in to comment.