Re: [PATCH PR71503/PR71683]Fix ICE in tree-if-conv.c

2016-07-19 Thread Jeff Law
On 07/19/2016 07:39 AM, Bin.Cheng wrote: On Thu, Jul 14, 2016 at 6:49 PM, Jeff Law wrote: On 07/14/2016 10:12 AM, Bin Cheng wrote: Hi, This is a simple patch fixing ICE in tree-if-conv.c. Existing code does not setup a variable (cond) when predicate of basic block is true and it asserts on t

Re: [PATCH PR71503/PR71683]Fix ICE in tree-if-conv.c

2016-07-19 Thread Jeff Law
On 07/15/2016 02:33 AM, Bin.Cheng wrote: On Thu, Jul 14, 2016 at 6:49 PM, Jeff Law wrote: On 07/14/2016 10:12 AM, Bin Cheng wrote: Hi, This is a simple patch fixing ICE in tree-if-conv.c. Existing code does not setup a variable (cond) when predicate of basic block is true and it asserts on t

Re: [PATCH PR71503/PR71683]Fix ICE in tree-if-conv.c

2016-07-19 Thread Bin.Cheng
On Thu, Jul 14, 2016 at 6:49 PM, Jeff Law wrote: > On 07/14/2016 10:12 AM, Bin Cheng wrote: >> >> Hi, >> This is a simple patch fixing ICE in tree-if-conv.c. Existing code does >> not setup a variable (cond) when predicate of basic block is true and it >> asserts on the variable. Interesting thi

Re: [PATCH PR71503/PR71683]Fix ICE in tree-if-conv.c

2016-07-15 Thread Bin.Cheng
On Thu, Jul 14, 2016 at 6:49 PM, Jeff Law wrote: > On 07/14/2016 10:12 AM, Bin Cheng wrote: >> >> Hi, >> This is a simple patch fixing ICE in tree-if-conv.c. Existing code does >> not setup a variable (cond) when predicate of basic block is true and it >> asserts on the variable. Interesting thi

Re: [PATCH PR71503/PR71683]Fix ICE in tree-if-conv.c

2016-07-14 Thread Jeff Law
On 07/14/2016 10:12 AM, Bin Cheng wrote: Hi, This is a simple patch fixing ICE in tree-if-conv.c. Existing code does not setup a variable (cond) when predicate of basic block is true and it asserts on the variable. Interesting thing is dead code is not cleaned up before ifcvt, but that's ano

[PATCH PR71503/PR71683]Fix ICE in tree-if-conv.c

2016-07-14 Thread Bin Cheng
Hi, This is a simple patch fixing ICE in tree-if-conv.c. Existing code does not setup a variable (cond) when predicate of basic block is true and it asserts on the variable. Interesting thing is dead code is not cleaned up before ifcvt, but that's another story. Bootstrap and test on x86_64.