https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65469

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Comment 4 was based on

[Book15] f90/bug% gfc pr65469.f90 
pr65469.f90:6:14:

  type(my_type) :: crap
              1
Error: Derived type 'my_type' at (1) is being used before it is defined
[Book15] f90/bug%

However running the same compilation later gave

[Book15] f90/bug% gfc pr65469.f90
pr65469.f90:6:14:

  type(my_type) :: crap
              1
Error: Derived type 'my_type' at (1) is being used before it is defined
f951: internal compiler error: Segmentation fault: 11
...

So if this PR is not a duplicate of pr59016, both bugs seem related to
p->sym->name being in an unpredictable state.

Reply via email to