[Bug c/44947] Optimizer doesn't see setjmp()

2010-07-15 Thread cm1 at mumac dot de
--- Comment #4 from cm1 at mumac dot de 2010-07-15 10:14 --- Thanks for the quick explanation and sorry for joining the club of "submit first, read the specs later" folks -- I actually thought I knew them ;) It makes of course sense to use volatile in the presence of setjmp/l

[Bug c/44947] Optimizer doesn't see setjmp()

2010-07-15 Thread cm1 at mumac dot de
--- Comment #1 from cm1 at mumac dot de 2010-07-15 09:15 --- Sorry, I edited the contents of the precompiler output to make it more readable and messed up the auto variable name. Please use this code: #include #include #include #define EXC_TRY 1 #define EXC_CATCH 2 func

[Bug c/44947] New: Optimizer doesn't see setjmp()

2010-07-15 Thread cm1 at mumac dot de
-- Summary: Optimizer doesn't see setjmp() Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cm1 at mumac dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44947