diff options
author | Richard Biener <rguenther@suse.de> | 2024-05-23 14:36:39 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-05-23 15:45:08 +0200 |
commit | 2b2476d4d18c92b8aba3567ebccd2100c2f7c258 (patch) | |
tree | 3d5870564b340f5fcc224f4a2bdd3b6bbcdad640 /gcc/cp/module.cc | |
parent | f0a02467bbc35a478eb82f5a8a7e8870827b51fc (diff) | |
download | gcc-2b2476d4d18c92b8aba3567ebccd2100c2f7c258.zip gcc-2b2476d4d18c92b8aba3567ebccd2100c2f7c258.tar.gz gcc-2b2476d4d18c92b8aba3567ebccd2100c2f7c258.tar.bz2 |
tree-optimization/115197 - fix ICE w/ constant in LC PHI and loop distribution
Forgot a check for an SSA name before trying to replace a PHI arg with
its current definition.
PR tree-optimization/115197
* tree-loop-distribution.cc (copy_loop_before): Constant PHI
args remain the same.
* gcc.dg/pr115197.c: New testcase.
Diffstat (limited to 'gcc/cp/module.cc')
0 files changed, 0 insertions, 0 deletions