https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66493
--- Comment #9 from Gerhard Steinmetz
---
Update, backtraces added :
$ gfortran-7-20160828 pr66493.f90
f951: internal compiler error: in resolve_typebound_procedure, at
fortran/resolve.c:12603
0x6e31ac
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66493
--- Comment #7 from Gerhard Steinmetz gerhard.steinmetz.fort...@t-online.de
---
Interestingly, there are some tests in the test suite already,
especially altreturn_3.f90 and altreturn_8.f90.
The latter is using a nopass attribute and compiles.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66493
--- Comment #8 from Gerhard Steinmetz gerhard.steinmetz.fort...@t-online.de
---
Case zarc1_2_pass.f90 should be definitely illegal code.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66493
Dominique d'Humieres dominiq at lps dot ens.fr changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66493
kargl at gcc dot gnu.org changed:
What|Removed |Added
CC||kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66493
kargl at gcc dot gnu.org changed:
What|Removed |Added
Assignee|kargl at gcc dot gnu.org |unassigned at gcc dot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66493
--- Comment #4 from kargl at gcc dot gnu.org ---
Created attachment 35749
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35749action=edit
test program with tbp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66493
--- Comment #3 from kargl at gcc dot gnu.org ---
Created attachment 35748
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35748action=edit
test program without type bound procedure
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66493
--- Comment #5 from kargl at gcc dot gnu.org ---
Created attachment 35750
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35750action=edit
Patch that gets rid of ICE