diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-10-06 19:11:08 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-10-06 22:40:50 +0200 |
commit | 49b9a8c8cc498b1ed2f566bee858e651e14ba37b (patch) | |
tree | ba30488673d752d265d0924ff18e6ffd79818a3c /libgomp | |
parent | 629b4813e91aba0a8fc9b18434ec1808776a4b3d (diff) | |
download | gcc-49b9a8c8cc498b1ed2f566bee858e651e14ba37b.zip gcc-49b9a8c8cc498b1ed2f566bee858e651e14ba37b.tar.gz gcc-49b9a8c8cc498b1ed2f566bee858e651e14ba37b.tar.bz2 |
[PR107170] Avoid copying incompatible types in legacy VRP.
Legacy VRP is calling ranger deep inside the bowels, and then trying to
copy an incompatible type. My previous patch in this area assumed that
the only possibility out of vr_values::get_value_range for an
unsupported type was VARYING, but UNDEFINED can also be returned.
PR tree-optimization/107170
gcc/ChangeLog:
* vr-values.cc (vr_values::range_of_expr): Do not die on
unsupported types.
gcc/testsuite/ChangeLog:
* gcc.dg/tree-ssa/pr107170.c: New test.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions