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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-03-20
                 CC|                            |janus at gcc dot gnu.org
   Target Milestone|---                         |5.0
            Summary|ICE on bad code             |[4.8/4.9/5 Regression] ICE
                   |                            |on bad code
     Ever confirmed|0                           |1

--- Comment #1 from janus at gcc dot gnu.org ---
I can confirm the ICE with gfortran 4.7. With 4.4 and 4.6 I only see the
expected error message:

 type(my_type) :: crap
              1
Error: Derived type 'my_type' at (1) is being used before it is defined


With 4.9 and trunk, I don't actually get an ICE, but see some junk in the error
message:

c0.f90:6.14:

 type(my_type) :: crap
              1
Error: Derived type 'my_type' at (1) is being used before it is defined
c0.f90:9:

end module
1
Error: Procedure 'ȴ' in generic interface 'my_type' at (1) is neither
function nor subroutine

Reply via email to