This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/65469] [4.8/4.9/5 Regression] ICE on bad code


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]