[patch, fortran] Fix ICE with use of INT32 et al from ISO_FORTRAN_ENV

Jerry D jvdelisle2@gmail.com
Thu Oct 17 20:56:22 GMT 2024


On 10/17/24 12:52 PM, Thomas Koenig wrote:
> Hello world,
> 
> The attached patch fixes an ICE when an UNSIGNED-specific constant
> is used from ISO_FORTRAN_ENV.  The error message is not particularly
> great, it is
> 
> Error: Unsigned: The symbol 'uint32', referenced at (1), is not in the 
> selected standard
> 
> but it is better than an ICE.
> 
> OK for trunk?

Looks good to me, yes OK.

Jerry

> 
> Best regards
> 
>      Thomas
> 
> gcc/fortran/ChangeLog:
> 
>          * error.cc (notify_std_msg): Handle GFC_STD_UNSIGNED.
> 
> gcc/testsuite/ChangeLog:
> 
>          * gfortran.dg/unsigned_37.f90: New test.



More information about the Fortran mailing list