> >
> > No, we shouldn't arrive with a NULL use_stmt here.
>
> I think a proper fix will be to fail if there are no uses.
> I'll prepare a patch on Sunday.
>
Here is the patch. It bails out if LHS has no uses.
Bootstrapped and tested on powerpc64-suse-linux.
Committed.
Ira
ChangeLog:
On 11-05-20 10:17 AM, Richard Guenther wrote:
On Fri, May 20, 2011 at 4:06 PM, Ryan Mansfield wrote:
There is a crash in vect_is_slp_reduction where use_stmt doesn't get
initialized in the FOR_EACH_IMM_USE_FAST loop.
1718 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, lhs)
(gdb) call debug_t
gcc-patches-ow...@gcc.gnu.org wrote on 20/05/2011 05:17:47 PM:
>
> On Fri, May 20, 2011 at 4:06 PM, Ryan Mansfield
wrote:
> > There is a crash in vect_is_slp_reduction where use_stmt doesn't get
> > initialized in the FOR_EACH_IMM_USE_FAST loop.
> >
> > 1718 FOR_EACH_IMM_USE_FAST (use_
On Fri, May 20, 2011 at 4:06 PM, Ryan Mansfield wrote:
> There is a crash in vect_is_slp_reduction where use_stmt doesn't get
> initialized in the FOR_EACH_IMM_USE_FAST loop.
>
> 1718 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, lhs)
> (gdb) call debug_tree(lhs)
> type size
>