Re: [PATCH] Fix __builtin_setjmp handling (PR tree-optimization/60003)

2014-01-31 Thread Richard Biener
On January 31, 2014 10:24:22 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >As described in the PR, __builtin_setjmp_receiver isn't declared to >returns_twice, and thus after dce cfun->calls_setjmp might be no longer >true. >At RTL __builtin_setjmp_receiver is handled as non-local label, so this >pat

[PATCH] Fix __builtin_setjmp handling (PR tree-optimization/60003)

2014-01-31 Thread Jakub Jelinek
Hi! As described in the PR, __builtin_setjmp_receiver isn't declared to returns_twice, and thus after dce cfun->calls_setjmp might be no longer true. At RTL __builtin_setjmp_receiver is handled as non-local label, so this patch just forces cfun->has_nonlocal_label already in GIMPLE, so that e.g. t