[Bug target/63783] [4.9/5 Regression] [SH] Miscompilation of boolean negation on SH4 using -O2
olegendo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 22 03:28:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63783
Oleg Endo <olegendo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #34062|0 |1
is obsolete| |
--- Comment #16 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Created attachment 34072
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34072&action=edit
Proposed patch
Other existing test cases needed some adjustments. Tested on trunk with
make -k check RUNTESTFLAGS="--target_board=sh-sim\{-m4/-ml,-m4/-mb}"
and no new failures. Applies also on 4.9 branch without problems. Tested on
4.9 briefly with make all-gcc and checking the generated code for the
problematic test case. I will apply this patch if there are no further
objections.
More information about the Gcc-bugs
mailing list