aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-12-04 10:46:11 +0100
committerRichard Biener <rguenther@suse.de>2023-12-04 12:53:55 +0100
commitde0ab339a795352c843f6e9b2dfce222f26588de (patch)
tree9ef451aa44f70cf0b093a79961dcdb7ddd3241ed /gcc/function.h
parent7804b4e24cd16283067225d4c2c4a4483a2b31bc (diff)
downloadgcc-de0ab339a795352c843f6e9b2dfce222f26588de.zip
gcc-de0ab339a795352c843f6e9b2dfce222f26588de.tar.gz
gcc-de0ab339a795352c843f6e9b2dfce222f26588de.tar.bz2
tree-optimization/112827 - corrupt SCEV cache during SCCP
The following avoids corrupting the SCEV cache by my last change to propagate constant final values immediately. The easiest fix is to keep a dead initialization around. PR tree-optimization/112827 * tree-scalar-evolution.cc (final_value_replacement_loop): Do not release SSA name but keep a dead initialization around. * gcc.dg/torture/pr112827-1.c: New testcase. * gcc.dg/torture/pr112827-2.c: Likewise.
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions