Commit 6fe66ee8 by Richard Biener Committed by Richard Biener

re PR middle-end/57287 (Bogus uninitialized warning with abnormal control flow)

2013-09-03  Richard Biener  <rguenther@suse.de>

	PR middle-end/57287
	* gcc.dg/pr57287-2.c: Use setjmp, not __sigsetjmp.

From-SVN: r202197
parent 8017b2fc
2013-09-03 Richard Biener <rguenther@suse.de>
PR middle-end/57287
* gcc.dg/pr57287-2.c: Use setjmp, not __sigsetjmp.
2013-09-02 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/PR56519
......
......@@ -12,7 +12,7 @@ struct node
struct node *list;
struct node *head (void);
sigjmp_buf *bar (void);
jmp_buf *bar (void);
int baz (void)
{
......@@ -25,8 +25,8 @@ int baz (void)
if (!varseen)
varseen = 1;
sigjmp_buf *buf = bar (); /* { dg-bogus "may be used uninitialized" "" } */
__sigsetjmp (*buf, 1);
jmp_buf *buf = bar (); /* { dg-bogus "may be used uninitialized" "" } */
setjmp (*buf);
}
if (!varseen)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment