[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#169862: [Bug optimization/1823] -ftrapv aborts with pointer difference due to division optimization



PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1823



------- Additional Comments From falk at debian dot org  2003-07-06 18:09 -------
Created an attachment (id=4354)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4354&action=view)
suggested patch

This patch fixes it. I don't think it's worth bothering to "save" the 
optimization, -ftrapv code sucks anyway. Probably there are more similar
pitfalls
in expmed, I didn't check carefully. Opinions?




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: