[Patch] Fortran: Fix gfc_conv_gfc_desc_to_cfi_desc with NULL [PR104126]

Harald Anlauf anlauf@gmx.de
Tue Mar 8 21:44:11 GMT 2022


Hi Tobias,

Am 07.03.22 um 15:16 schrieb Tobias Burnus:
> Pre-remark: Related NULL, there some accepts-invalid issues, not 
> addressed in this
> patch. See https://gcc.gnu.org/PR104819
> 
> This patch fixes an ICE (12 regression) with NULL() that has no MOLD 
> argument.

the patch does fix the ICE.  But given your short pre-remark:
are you saying that the testcase is invalid, and with the patch
we silently accept it now?

(The testcase compiles with Intel, but triggers a funny bug in
crayftn, which made me read 16.9.144 to learn more about the
tricks of NULL.  But I tend to think this case is valid.)

> OK for mainline?

LGTM.

Thanks for the patch!

Harald

> Tobias
> -----------------
> Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 
> 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: 
> Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; 
> Registergericht München, HRB 106955




More information about the Fortran mailing list