re PR tree-optimization/78218 (wrong code at -Os and above on x86_64-linux-gnu (in...
authorRichard Biener <rguenther@suse.de>
Mon, 7 Nov 2016 12:26:00 +0000 (12:26 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 7 Nov 2016 12:26:00 +0000 (12:26 +0000)
commit20770eb80bf59f4fe1d71408b841669c70550e6c
tree40cda2f82959c26f706bbc6c773b5682bba61a36
parent32894793ff96f4c56b90e0f0e1d961e526a6edc7
re PR tree-optimization/78218 (wrong code at -Os and above on x86_64-linux-gnu (in both 32-bit and 64-bit modes))

2016-11-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/78218
* gimple-ssa-store-merging.c
(pass_store_merging::terminate_all_aliasing_chains):
Drop unused argument, fix alias check to also consider uses.
(pass_store_merging::execute): Adjust.

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

From-SVN: r241900
gcc/ChangeLog
gcc/gimple-ssa-store-merging.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr78218.c [new file with mode: 0644]