[Bug c/31707] Spurious 'variable' may be used uninitialized in this function warnings when using __builtin_setjmp

2007-04-25 Thread hackbunny at reactos dot com


--- Comment #1 from hackbunny at reactos dot com  2007-04-25 23:28 ---
Created an attachment (id=13442)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13442action=view)
Preprocessor output


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31707



[Bug c/31707] Spurious 'variable' may be used uninitialized in this function warnings when using __builtin_setjmp

2007-04-25 Thread hackbunny at reactos dot com


--- Comment #2 from hackbunny at reactos dot com  2007-04-25 23:29 ---
Created an attachment (id=13443)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13443action=view)
GIMPLE source for the test case


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31707



[Bug c/31707] Spurious 'variable' may be used uninitialized in this function warnings when using __builtin_setjmp

2007-04-25 Thread hackbunny at reactos dot com


--- Comment #3 from hackbunny at reactos dot com  2007-04-25 23:30 ---
Created an attachment (id=13444)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13444action=view)
Final tree dump for the test case

By going through the tree dump, it appears the warning has no reason to be


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31707



[Bug c/31707] Spurious 'variable' may be used uninitialized in this function warnings when using __builtin_setjmp

2007-04-25 Thread hackbunny at reactos dot com


--- Comment #4 from hackbunny at reactos dot com  2007-04-25 23:33 ---
A couple more notes:
 * no warning if setjmp is used instead of __builtin_setjmp
 * no warning if the call to bar() is removed
 * no warning in GCC 4.1.2


-- 

hackbunny at reactos dot com changed:

   What|Removed |Added

 CC||hackbunny at reactos dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31707