------- Comment #1 from burnus at gcc dot gnu dot org 2007-02-20 14:14 ------- Error message:
USE M1 1 Error: Dummy 'd1' at (1) cannot have an initializer Works with g95, nagf95 and ifort. It also works with gfortran if one changes the ENTRY E1 into a separate function or if one removes the default initializer for the derived type T1. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |rejects-valid Last reconfirmed|0000-00-00 00:00:00 |2007-02-20 14:14:13 date| | Summary|incorrect error message for |Derived types with default |valid code |value -- function with | |ENTRY: rejected at compile | |time http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30880