aboutsummaryrefslogtreecommitdiff
path: root/include/gdb/gdb-index.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-07-25 08:58:42 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-07-25 12:44:57 +0200
commit3bf05516d9ffea2a39939b656f0e51052000653e (patch)
tree810f6b709518b9445fe18de5a39cdac9aba50a87 /include/gdb/gdb-index.h
parentcfd3f06b4c65e15d4f6af8bd4862b835efd61a72 (diff)
downloadgcc-3bf05516d9ffea2a39939b656f0e51052000653e.zip
gcc-3bf05516d9ffea2a39939b656f0e51052000653e.tar.gz
gcc-3bf05516d9ffea2a39939b656f0e51052000653e.tar.bz2
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.
Diffstat (limited to 'include/gdb/gdb-index.h')
0 files changed, 0 insertions, 0 deletions