[Patch, Fortran] PR 89601: [8/9 Regression] [PDT] ICE: Segmentation fault (in resolve_component)

Janus Weil janus@gcc.gnu.org
Mon Mar 11 21:09:00 GMT 2019


Hi all,

the attached patch fixes an ICE-on-invalid problem with parametrized
derived types, more precisely a PDT without any parameters, and
regtests cleanly x86_64-linux-gnu. For the relevant standard quote,
see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89601#c4.

Technically the ICE is a regression, but since it happens on invalid
code only, backporting is not essential IMHO (but might still be
useful). Ok for trunk? And 8-branch?

Cheers,
Janus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr89601.diff
Type: text/x-patch
Size: 3044 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20190311/1deb9e12/attachment.bin>


More information about the Fortran mailing list