[Bug target/69403] [4.9/5/6 Regression] Wrong thumb2_ior_scc_strict_it insn pattern.

2016-08-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69403

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|4.9.5   |4.9.4

[Bug target/69403] [4.9/5/6 Regression] Wrong thumb2_ior_scc_strict_it insn pattern.

2016-01-22 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69403

--- Comment #4 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Fri Jan 22 13:58:11 2016
New Revision: 232727

URL: https://gcc.gnu.org/viewcvs?rev=232727=gcc=rev
Log:
[ARM] Fix PR target/69403: Bug in thumb2_ior_scc_strict_it pattern

PR target/69403
* config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
define_insn_and_split.  Ensure operands[1] and operands[0] do not
get assigned the same register.

* gcc.c-torture/execute/pr69403.c: New test.


Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr69403.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/thumb2.md
trunk/gcc/testsuite/ChangeLog

[Bug target/69403] [4.9/5/6 Regression] Wrong thumb2_ior_scc_strict_it insn pattern.

2016-01-22 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69403

--- Comment #6 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Fri Jan 22 15:42:30 2016
New Revision: 232734

URL: https://gcc.gnu.org/viewcvs?rev=232734=gcc=rev
Log:
[ARM] Fix PR target/69403: Bug in thumb2_ior_scc_strict_it pattern

Backport from mainline
2016-01-22  Kyrylo Tkachov  

PR target/69403
* config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
define_insn_and_split.  Ensure operands[1] and operands[0] do not
get assigned the same register.

* gcc.c-torture/execute/pr69403.c: New test.


Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr69403.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/config/arm/thumb2.md
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog

[Bug target/69403] [4.9/5/6 Regression] Wrong thumb2_ior_scc_strict_it insn pattern.

2016-01-22 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69403

--- Comment #5 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Fri Jan 22 15:37:50 2016
New Revision: 232733

URL: https://gcc.gnu.org/viewcvs?rev=232733=gcc=rev
Log:
[ARM] Fix PR target/69403: Bug in thumb2_ior_scc_strict_it pattern

Backport from mainline
2016-01-22  Kyrylo Tkachov  

PR target/69403
* config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
define_insn_and_split.  Ensure operands[1] and operands[0] do not
get assigned the same register.

* gcc.c-torture/execute/pr69403.c: New test.


Added:
branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr69403.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/arm/thumb2.md
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/69403] [4.9/5/6 Regression] Wrong thumb2_ior_scc_strict_it insn pattern.

2016-01-22 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69403

ktkachov at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from ktkachov at gcc dot gnu.org ---
Fixed on all active branches.
Thanks for pinpointing the problematic pattern.

[Bug target/69403] [4.9/5/6 Regression] Wrong thumb2_ior_scc_strict_it insn pattern.

2016-01-21 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69403

ktkachov at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||wrong-code
   Assignee|unassigned at gcc dot gnu.org  |ktkachov at gcc dot 
gnu.org
   Target Milestone|--- |4.9.5
Summary|Wrong   |[4.9/5/6 Regression] Wrong
   |thumb2_ior_scc_strict_it|thumb2_ior_scc_strict_it
   |insn pattern.   |insn pattern.
  Known to fail||4.9.4, 5.3.1, 6.0