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 c/32757] Optimizer too aggressive



------- Comment #5 from frederic dot merizen at gmail dot com  2007-07-13 21:44 -------
OK. I assumed signed overflow was at least defined to yield an integer (i.e. a
quantity that is consistently negative or non-negative) but that is actually
not specified. I don't quite know what I'll do with our library yet. Adding
lots of unsigned/signed casts is an option, but it's likely to break a lot of
valid optimizations so I'll try to avoid that. Would the -fno-strict-overflow
option be a valid workaround in the meantime?


-- 


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


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