[PATCH] Add missing return in gori_compute::logical_combine

Andrew MacLeod amacleod@redhat.com
Mon Sep 25 17:09:30 GMT 2023


OK for trunk at least.   Thanks.  I presume it'll be fine for the other 
releases.

Andrew

On 9/25/23 11:51, Eric Botcazou wrote:
> Hi,
>
> the varying case currently falls through to the 1/true case.
>
> Tested on x86_64-suse-linux, OK for mainline, 13 and 12 branches?
>
>
> 2023-09-25  Eric Botcazou  <ebotcazou@adacore.com>
>
> 	* gimple-range-gori.cc (gori_compute::logical_combine): Add missing
> 	return statement in the varying case.
>
>
> 2023-09-25  Eric Botcazou  <ebotcazou@adacore.com>
>
> 	* gnat.dg/opt102.adb:New test.
> 	* gnat.dg/opt102_pkg.adb, gnat.dg/opt102_pkg.ads: New helper.
>



More information about the Gcc-patches mailing list