Re: [PATCH] Fix PR middle-end/80775, -O3 produces ice in group_case_labels_stmt

2017-05-17 Thread Peter Bergner
On 5/17/17 2:21 AM, Richard Biener wrote: > On Tue, 16 May 2017, Peter Bergner wrote: >> This bootstrapped and regtested with no regressions on both powerpc64le-linux >> and x86_64-linux. Is this ok for trunk? > > Ok. Committed as revision 248155. Thanks. Peter

Re: [PATCH] Fix PR middle-end/80775, -O3 produces ice in group_case_labels_stmt

2017-05-17 Thread Richard Biener
On Tue, 16 May 2017, Peter Bergner wrote: > The test case in PR80775 exposes a problem in handling two separate > case labels that lead to the same block that contains a call to > __builtin_unreachable(). The current code handles the first label > and deletes the associated edge/block, but

[PATCH] Fix PR middle-end/80775, -O3 produces ice in group_case_labels_stmt

2017-05-16 Thread Peter Bergner
The test case in PR80775 exposes a problem in handling two separate case labels that lead to the same block that contains a call to __builtin_unreachable(). The current code handles the first label and deletes the associated edge/block, but trips up when we see the second case label that now