[Bug c/30477] Integer Overflow detection code optimised away, -fwrapv broken
tg at mirbsd dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 16 17:49:00 GMT 2007
------- Comment #12 from tg at mirbsd dot org 2007-01-16 17:49 -------
Reopening this bug because http://gcc.gnu.org/ml/gcc/2006-12/msg00749.html
states that:
"For example, GCC itself assumes wrapv semantics internally,"
This implies that gcc2 and gcc3 cannot compile gcc correctly,
unless using -O0. Adding -fwrapv to autoconf's defaults won't
help gcc2 and gcc3 users either, without a fix for this PR.
--
tg at mirbsd dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30477
More information about the Gcc-bugs
mailing list