[Bug tree-optimization/93946] Bogus redundant store removal
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 8 17:28:14 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946
--- Comment #21 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:dd9ca9d770a18ce4b16d867f49fef3293b483ff5
commit r10-7635-gdd9ca9d770a18ce4b16d867f49fef3293b483ff5
Author: Richard Biener <rguenther@suse.de>
Date: Wed Apr 8 14:04:35 2020 +0200
rtl-optimization/93946 - fix TBAA for redundant store removal in CSE
It turns out RTL CSE tries to remove redundant stores but fails to
do the usual validity check what such a change is TBAA neutral to
later loads.
This now triggers with the PR93946 testcases on nios2.
2020-04-08 Richard Biener <rguenther@suse.de>
PR rtl-optimization/93946
* cse.c (cse_insn): Record the tabled expression in
src_related. Verify a redundant store removal is valid.
More information about the Gcc-bugs
mailing list