aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.cc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2023-10-24 11:30:53 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2023-10-24 11:30:53 +0100
commit3e901615ff16547aaf376e7762d417b0b4d98619 (patch)
treefae2864c8c191aa50536b5bd4c296e46a3eefbdf /gcc/tree-ssa-phiopt.cc
parentd0eb4aceaa93eabd6153853b22e0e8c843de4184 (diff)
downloadgcc-3e901615ff16547aaf376e7762d417b0b4d98619.zip
gcc-3e901615ff16547aaf376e7762d417b0b4d98619.tar.gz
gcc-3e901615ff16547aaf376e7762d417b0b4d98619.tar.bz2
rtl-ssa: Avoid creating duplicated phis
If make_uses_available was called twice for the same use, we could end up trying to create duplicate definitions for the same extended live range. gcc/ * rtl-ssa/blocks.cc (function_info::create_degenerate_phi): Check whether the requested phi already exists.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions