Re: [PATCH] Fix handling of computed goto in tree-nested.c (PR middle-end/71494)

2016-06-10 Thread Jeff Law
On 06/10/2016 01:13 PM, Jakub Jelinek wrote: Hi! As can be seen on the following (IMNSHO valid) testcase, we need to walk ops of GIMPLE_GOTO, except when it has (non-local) LABEL_DECL in it. There is code to do this, but it was setting *handled_ops_p to true and thus not actually walking those (

Re: [PATCH] Fix handling of computed goto in tree-nested.c (PR middle-end/71494)

2016-06-10 Thread Richard Biener
On June 10, 2016 9:13:09 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >As can be seen on the following (IMNSHO valid) testcase, we need to >walk >ops of GIMPLE_GOTO, except when it has (non-local) LABEL_DECL in it. >There is code to do this, but it was setting *handled_ops_p to true and >thus not act

[PATCH] Fix handling of computed goto in tree-nested.c (PR middle-end/71494)

2016-06-10 Thread Jakub Jelinek
Hi! As can be seen on the following (IMNSHO valid) testcase, we need to walk ops of GIMPLE_GOTO, except when it has (non-local) LABEL_DECL in it. There is code to do this, but it was setting *handled_ops_p to true and thus not actually walking those (therefore tweaks of wi->* were useless). Fixed