[PATCH] PR fortran/102520 - [10/11/12 Regression] ICE in expand_constructor, at fortran/array.c:1802

Thomas Koenig tkoenig@netcologne.de
Tue Sep 28 21:15:00 GMT 2021


Hi Harald,

> Gerhard's testcase triggers a NULL pointer dereference during the
> attempt to expand an invalid constructor.  The simple and obvious
> solution is to catch that case.
> 
> Regtested on x86_64-pc-linux-gnu.  OK for all affected branches?

OK.

Thanks for the patch!

Best regards

	Thomas


More information about the Fortran mailing list