[Bug tree-optimization/58978] [4.9 Regression] ICE: Segmentation fault

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 4 10:59:00 GMT 2013


--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #6)
> Created attachment 31148 [details]
> gcc49-pr58978.patch
> While your patch will work too, I think it is better to fix it differently,
> the problem is that single_imm_use modifies the use_stmt argument even if it
> returns false, which I didn't expect.

Yeah, that looks good to me.

More information about the Gcc-bugs mailing list