diff options
author | Richard Biener <rguenther@suse.de> | 2021-01-22 10:34:42 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-01-22 10:37:51 +0100 |
commit | fd61ca67f97acc5462d02676380af92329c37bb2 (patch) | |
tree | 8b2f0f563677b6bb8e2ec3bfd3c3a907308f8e69 /gcc/tree-data-ref.c | |
parent | 4e3beaca15cab2de88a68d76f0aabc68e68f678a (diff) | |
download | gcc-fd61ca67f97acc5462d02676380af92329c37bb2.zip gcc-fd61ca67f97acc5462d02676380af92329c37bb2.tar.gz gcc-fd61ca67f97acc5462d02676380af92329c37bb2.tar.bz2 |
tree-optimization/98786 - fix issue with phiopt and abnormals
This fixes factor_out_conditional_conversion to avoid creating overlapping
lifetimes for abnormals. It also makes sure we do deal with a conditional
conversion (at least for one PHI arg def) - for the testcase that wasn't the case.
2021-01-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/98786
* tree-ssa-phiopt.c (factor_out_conditional_conversion): Avoid
adding new uses of abnormals. Verify we deal with a conditional
conversion.
* gcc.dg/torture/pr98786.c: New testcase.
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions