diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2022-08-02 17:31:37 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2022-08-02 19:23:47 -0400 |
commit | 70daecc03235aa7187b03681cebed6e04b32678e (patch) | |
tree | fb23690d47bf2152bf5f72296892bcd37b804349 /gcc/d | |
parent | 502605a277d36cee1b0570982a16d97a43eace67 (diff) | |
download | gcc-70daecc03235aa7187b03681cebed6e04b32678e.zip gcc-70daecc03235aa7187b03681cebed6e04b32678e.tar.gz gcc-70daecc03235aa7187b03681cebed6e04b32678e.tar.bz2 |
Do not register edges for statements not understood.
Previously, all gimple_cond types were undserstoof, with float values,
this is no longer true. We should gracefully do nothing if the
gcond type is not supported.
PR tree-optimization/106510
gcc/
* gimple-range-fold.cc (fur_source::register_outgoing_edges):
Check for unsupported statements early.
gcc/testsuite
* gcc.dg/pr106510.c: New.
Diffstat (limited to 'gcc/d')
0 files changed, 0 insertions, 0 deletions