[PATCH] Fortran: ICE due to missing locus with data statement for coarray [PR99838]
Andre Vehreschild
vehre@gmx.de
Tue Jun 3 19:03:12 GMT 2025
Hi Harald,
Lgtm. That patch is nearly obvious. Ok for trunk and backport.
Thanks for the patch,
Andre
Andre Vehreschild * vehre@gmx.de
Am 3. Juni 2025 20:43:52 schrieb Harald Anlauf <anlauf@gmx.de>:
> Dear all,
>
> here's a fix for another one of Gerhard's "torture tests" that triggers
> an ICE with -Warray-temporaries. The cause was that the locus was not
> set for the initializer of the symbol for the testcase. The obvious
> fix is to then use the locus from the array constructor generated for
> the data values.
>
> Regtested on x86_64-pc-linux-gnu. OK for mainline?
>
> Thanks,
> Harald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20250603/e0f8fc5d/attachment.htm>
More information about the Fortran
mailing list