This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/63783] [4.9/5 Regression] [SH] Miscompilation of boolean negation on SH4 using -O2
- From: "gcc-bugzilla at mkarcher dot dialup.fu-berlin.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 21 Nov 2014 18:53:38 +0000
- Subject: [Bug target/63783] [4.9/5 Regression] [SH] Miscompilation of boolean negation on SH4 using -O2
- Auto-submitted: auto-generated
- References: <bug-63783-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63783
--- Comment #15 from Michael Karcher <gcc-bugzilla at mkarcher dot dialup.fu-berlin.de> ---
I did not get around to test your proposed patch yet, but it seems like the new
"logical not" operation always compares only the low 32 bit against zero, even
if there is a 64 bit operand. If my analysis is correct, the long long test
program should fail if you replace "decision = 1;" by "decision =
0x100000000LL;"