diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2023-10-24 11:30:53 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2023-10-24 11:30:53 +0100 |
commit | 3e901615ff16547aaf376e7762d417b0b4d98619 (patch) | |
tree | fae2864c8c191aa50536b5bd4c296e46a3eefbdf /gcc/tree-ssa-phiopt.cc | |
parent | d0eb4aceaa93eabd6153853b22e0e8c843de4184 (diff) | |
download | gcc-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