[PATCH] PR fortran/68568 - ICE with automatic character object and save, in combination with some options

Harald Anlauf anlauf@gmx.de
Fri Aug 6 21:06:32 GMT 2021

Dear Fortranners,

I intend to commit the following pretty obvious fix within the next
24 hours unless there are objections.

Regtested on x86_64-pc-linux-gnu.


Fortran: ICE with automatic character object, save, and various options


	PR fortran/68568
	* primary.c (gfc_expr_attr): Variable attribute can only be
	inquired when symtree is non-NULL.


	PR fortran/68568
	* gfortran.dg/pr68568.f90: New test.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr68568.patch
Type: text/x-patch
Size: 994 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210806/fdc63c26/attachment.bin>

More information about the Gcc-patches mailing list