re PR rtl-optimization/91656 (wrong code with -fgcse-after-reload)
authorRichard Biener <rguenther@suse.de>
Thu, 5 Sep 2019 13:23:28 +0000 (13:23 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 5 Sep 2019 13:23:28 +0000 (13:23 +0000)
commit5a4c9a493153f6f579cd81905d0ab743dd88a33d
tree74df7584708383ed16be9de9238146fe383d781b
parentb101938436936b04ea3913c44cea7b58204a9765
re PR rtl-optimization/91656 (wrong code with -fgcse-after-reload)

2019-09-05  Richard Biener  <rguenther@suse.de>

PR rtl-optimization/91656
* postreload-gcse.c (record_last_mem_set_info): Revert addition
of early out.

* gcc.dg/torture/pr91656-1.c: New testcase.
* gcc.dg/torture/pr91656-2.c: Likewise.
* gcc.dg/torture/pr91656-3.c: Likewise.

From-SVN: r275406
gcc/ChangeLog
gcc/postreload-gcse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr91656-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr91656-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr91656-3.c [new file with mode: 0644]