[Bug tree-optimization/116079] [15 Regression] ice during GIMPLE pass lim
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 25 10:45:28 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116079
--- Comment #7 from GCC 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:3bf05516d9ffea2a39939b656f0e51052000653e
commit r15-2303-g3bf05516d9ffea2a39939b656f0e51052000653e
Author: Richard Biener <rguenther@suse.de>
Date: Thu Jul 25 08:58:42 2024 +0200
tree-optimization/116079 - store motion and clobbers
When we move a store out of an inner loop and remove a clobber in
the process, analysis of the inner loop can run into the clobber
via the meta-data and crash when accessing its basic-block. The
following avoids this by clearing the VDEF which is how it identifies
already processed stores.
PR tree-optimization/116079
* tree-ssa-loop-im.cc (hoist_memory_references): Clear
VDEF of elided clobbers.
* gcc.dg/torture/pr116079.c: New testcase.
More information about the Gcc-bugs
mailing list