This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/26859] [4.2 Regression] ICE Segmentation Fault



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]