[Bug tree-optimization/26859] [4.2 Regression] ICE Segmentation Fault
sebastian dot pop at cri dot ensmp dot fr
gcc-bugzilla@gcc.gnu.org
Wed Mar 29 00:27:00 GMT 2006
------- Comment #9 from sebastian dot pop at cri dot ensmp dot fr 2006-03-29 00:27 -------
Created an attachment (id=11147)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11147&action=view)
proposed fix
this patch (not tested yet) fixes the problem: it avoids a division by zero.
Part of the problem is that convert returns a step for which it sets the
overflow flag when converting unsigned ffffffe to int -2. The patch resets
the overflow flag that has no sense for the step of a sequence.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26859
More information about the Gcc-bugs
mailing list