[PATCH] PR fortran/103782 - [9/10/11/12 Regression] internal error occurs when overloading intrinsic

Jerry D jvdelisle2@gmail.com
Fri Jan 14 03:16:40 GMT 2022


On 1/13/22 12:56 PM, Harald Anlauf via Fortran wrote:
> Dear all,
>
> there was a regression handling overloaded elemental intrinsics,
> leading to an ICE on valid code.  Reported by Urban Jost.
>
> The logic for when we need to scalarize a call to an intrinsic
> seems to have been broken during the 9-release.  The attached
> patch fixes the ICE and seems to work on the extended testcase
> as well as regtests fine on x86_64-pc-linux-gnu.
>
> OK for mainline?  Backport to affected branches?
>
Looks good to me. Go for mainline and backport.

Regards,

Jerry


More information about the Gcc-patches mailing list