diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2024-11-02 10:26:24 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2024-11-04 18:24:43 -0500 |
commit | e1154e294b3d8f7267612afb2113b2572cb39e33 (patch) | |
tree | ace8a55c6b1eaa4a62df38f0e3e913d045f566ad /libobjc/config.h.in | |
parent | 66a3827379e8863d9025b7881543d2bffe771aee (diff) | |
download | gcc-releases/gcc-14.zip gcc-releases/gcc-14.tar.gz gcc-releases/gcc-14.tar.bz2 |
Don't call invert on VARYING.releases/gcc-14
When all cases go to one label and resul in a VARYING value, we can't
invert that value to remove all values from the default case. Simply
check for this case and set the default to UNDEFINED.
PR tree-optimization/117398
gcc/
* gimple-range-edge.cc (gimple_outgoing_range::calc_switch_ranges):
Check for VARYING and don't call invert () on it.
gcc/testsuite/
* gcc.dg/pr117398.c: New.
Diffstat (limited to 'libobjc/config.h.in')
0 files changed, 0 insertions, 0 deletions