This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/65469] [4.8/4.9/5 Regression] ICE on bad code
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 04 Apr 2015 10:34:05 +0000
- Subject: [Bug fortran/65469] [4.8/4.9/5 Regression] ICE on bad code
- Auto-submitted: auto-generated
- References: <bug-65469-4 at http dot gcc dot gnu dot org/bugzilla/>
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.