This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/61562] Compiler crash when combining -Wstrict-overflow=4 -O2
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Jun 2014 17:11:44 +0000
- Subject: [Bug middle-end/61562] Compiler crash when combining -Wstrict-overflow=4 -O2
- Auto-submitted: auto-generated
- References: <bug-61562-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61562
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-06-19
CC| |iant at google dot com,
| |manu at gcc dot gnu.org
Component|c |middle-end
Ever confirmed|0 |1
--- Comment #1 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
Also in trunk.
if (strict_overflow_p)
fold_overflow_warning (("assuming signed overflow does not "
"occur when simplifying "
"X % (power of two)"),
WARN_STRICT_OVERFLOW_MISC);
The % should probably be %%.
Everybody (even people that do not need approval) should add testcases when
adding new warnings and errors.