aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2codeview.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-06-22 14:59:09 +0200
committerRichard Biener <rguenther@suse.de>2024-06-23 11:23:48 +0200
commit8a1795bddcd34284936af4706f762d89c60fc69c (patch)
tree6e00577b6d1bf27c58643ca03466859c657c5c92 /gcc/dwarf2codeview.h
parent4c957d7ba84d8bbce6e778048f38e92ef71806c8 (diff)
downloadgcc-8a1795bddcd34284936af4706f762d89c60fc69c.zip
gcc-8a1795bddcd34284936af4706f762d89c60fc69c.tar.gz
gcc-8a1795bddcd34284936af4706f762d89c60fc69c.tar.bz2
tree-optimization/115579 - fix wrong code with store-motion
The recent change to relax store motion for variables that cannot have store data races broke the optimization to share flag vars for stores that all happen in the same single BB. The following fixes this. PR tree-optimization/115579 * tree-ssa-loop-im.cc (execute_sm): Return the auxiliary data created. (hoist_memory_references): Record the flag var that's eventually created and re-use it when all stores are in the same BB. * gcc.dg/pr115579.c: New testcase.
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions