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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The change of behavior occurred between revisions r214073 (2014-08-17, ICE)
> and r214113 (2014-08-18, error). A candidate could be r214076,
> but I don't see why.

This seems to depend on the mood of my machine:

[Book15] f90/bug% /opt/gcc/gcc4.10p-214113/bin/gfortran pr59024.f90
gfortran: warning: couldn't understand kern.osversion '14.1.0
pr59024.f90:6.6:

  TYPE tc
      1
Error: Syntax error in PUBLIC statement at (1)
pr59024.f90:7.5:

  END TYPE tc
     1
Error: Expecting END MODULE statement at (1)
pr59024.f90:15.12:

    TYPE(tc) t
            1
Error: Derived type 'tc' at (1) is being used before it is defined
f951: internal compiler error: Segmentation fault: 11

f951: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Abort
[Book15] f90/bug% /opt/gcc/gcc4.10p-214113/bin/gfortran pr59024.f90
gfortran: warning: couldn't understand kern.osversion '14.1.0
pr59024.f90:6.6:

  TYPE tc
      1
Error: Syntax error in PUBLIC statement at (1)
pr59024.f90:7.5:

  END TYPE tc
     1
Error: Expecting END MODULE statement at (1)
pr59024.f90:15.12:

    TYPE(tc) t
            1
Error: Derived type 'tc' at (1) is being used before it is defined
pr59024.f90:17.14:

END MODULE mtc
              1
Error: Procedure 'C_PTR_1' in generic interface 'tc' at (1) is neither function
nor subroutine
[Book15] f90/bug% /opt/gcc/gcc4.10p-214073/bin/gfortran pr59024.f90
gfortran: warning: couldn't understand kern.osversion '14.1.0
pr59024.f90:6.6:

  TYPE tc
      1
Error: Syntax error in PUBLIC statement at (1)
pr59024.f90:7.5:

  END TYPE tc
     1
Error: Expecting END MODULE statement at (1)
pr59024.f90:15.12:

    TYPE(tc) t
            1
Error: Derived type 'tc' at (1) is being used before it is defined
pr59024.f90:17.14:

END MODULE mtc
              1
Error: Procedure 'C_PTR_1' in generic interface 'tc' at (1) is neither function
nor subroutine

So the bisection is not accurate, probably for the same reason as for pr59016.

Reply via email to