Re: [PATCH] Fix doloop ICE (PR rtl-optimization/80112)

2017-03-24 Thread Jeff Law
On 03/21/2017 09:00 AM, Jakub Jelinek wrote: Hi! doloop_condition_get computes cmp in several places, and in one of them wants to fail if the condition inside of it isn't NE against const0_rtx. The problem with that is that nothing checked what cmp is yet, /* Check for (set (pc) (if_then_else

[PATCH] Fix doloop ICE (PR rtl-optimization/80112)

2017-03-21 Thread Jakub Jelinek
Hi! doloop_condition_get computes cmp in several places, and in one of them wants to fail if the condition inside of it isn't NE against const0_rtx. The problem with that is that nothing checked what cmp is yet, /* Check for (set (pc) (if_then_else (condition)