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 target/63783] [4.9/5 Regression] [SH] Miscompilation of boolean negation on SH4 using -O2


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63783

--- Comment #24 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Sat Nov 22 16:07:25 2014
New Revision: 217970

URL: https://gcc.gnu.org/viewcvs?rev=217970&root=gcc&view=rev
Log:
gcc/
    Backport from mainline
    2014-11-22  Oleg Endo  <olegendo@gcc.gnu.org>

    PR target/63783
    PR target/51244
    * config/sh/sh_treg_combine.cc (sh_treg_combine::make_not_reg_insn):
    Do not emit bitwise not insn.  Emit logical not insn sequence instead.
    Adjust related comments throughout the file.

gcc/testsuite/
    Backport from mainline
    2014-11-22  Oleg Endo  <olegendo@gcc.gnu.org>

    PR target/63783
    PR target/51244
    * gcc.target/sh/torture/pr63783-1.c: New.
    * gcc.target/sh/torture/pr63783-2.c: New.
    * gcc.target/sh/pr51244-20.c: Adjust.
    * gcc.target/sh/pr51244-20-sh2a.c: Adjust.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/sh/torture/pr63783-1.c
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/sh/torture/pr63783-2.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/sh/sh_treg_combine.cc
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/sh/pr51244-20-sh2a.c
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/sh/pr51244-20.c


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