diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-09-25 20:48:53 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2023-09-25 20:50:57 +0200 |
commit | 19df06f67c982b4e5427c4a056319d6a51c03481 (patch) | |
tree | 96c72414566c306ad627852b08b169fde7629d96 /gcc/tree-ssa-phiopt.cc | |
parent | bf3c19903a801063551e43bdc2b8b7ea2f69b781 (diff) | |
download | gcc-19df06f67c982b4e5427c4a056319d6a51c03481.zip gcc-19df06f67c982b4e5427c4a056319d6a51c03481.tar.gz gcc-19df06f67c982b4e5427c4a056319d6a51c03481.tar.bz2 |
Add missing return in gori_compute::logical_combine
The varying case currently falls through to the 1/true case.
gcc/
* gimple-range-gori.cc (gori_compute::logical_combine): Add missing
return statement in the varying case.
gcc/testsuite/
* gnat.dg/opt102.adb:New test.
* gnat.dg/opt102_pkg.adb, gnat.dg/opt102_pkg.ads: New helper.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions