Re: [PATCH] Fix ICEs with bogus computed goto (PR tree-optimization/58164)

2013-08-15 Thread Richard Biener
Jakub Jelinek wrote: >Hi! > >gimple_goto_dest is is_gimple_val, so can be ADDR_EXPR (though just for >bad >testcases), and in that case we weren't walking it in some cases. > >I've tried to reject ADDR_EXPRs in gimple_goto_dest, but that turned >out to >be much larger patch and still incomplete. >

[PATCH] Fix ICEs with bogus computed goto (PR tree-optimization/58164)

2013-08-15 Thread Jakub Jelinek
Hi! gimple_goto_dest is is_gimple_val, so can be ADDR_EXPR (though just for bad testcases), and in that case we weren't walking it in some cases. I've tried to reject ADDR_EXPRs in gimple_goto_dest, but that turned out to be much larger patch and still incomplete. Bootstrapped/regtested on x86_6