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
This commit is contained in:
parent
8017b2fcd3
commit
6fe66ee84a
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user