]> gcc.gnu.org Git - gcc.git/commit
backport: re PR middle-end/89008 (O2 and O1 results differ for simple test)
authorRichard Biener <rguenther@suse.de>
Thu, 24 Jan 2019 11:07:19 +0000 (11:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 24 Jan 2019 11:07:19 +0000 (11:07 +0000)
commit5402bc4ab8d82b8d4b7274c261a5f3e692ad27c0
treef712b0c418293fa4d375a14331c7fb6a1f311b0a
parent3068600f90329ff9dd54bc3f1c8b12a43de56980
backport: re PR middle-end/89008 (O2 and O1 results differ for simple test)

2019-01-24  Richard Biener  <rguenther@suse.de>

Backport from mainline
2019-01-23  Richard Biener  <rguenther@suse.de>

PR tree-optimization/89008
* tree-ssa-reassoc.c (eliminate_using_constants): For * 0 do
not leave another stray operand.

* gcc.dg/torture/pr89008.c: New testcase.

From-SVN: r268235
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr89008.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c
This page took 0.062686 seconds and 5 git commands to generate.