------- Comment #1 from burnus at gcc dot gnu dot org 2008-07-02 18:10 ------- With gfortran 4.1 and 4.2:
Error: FUNCTION attribute conflicts with SUBROUTINE attribute in 'initialdiatomicx' at (1) The same error is also shown for the following - also 4.3/4.4 do so: print *, foo() call foo() end If one changes the order between call and function declaration, one gets the following error message: "Error: 'initialdiatomicx' at (1) has a type, which is not consistent with the CALL at (2)" -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-07-02 18:10:59 date| | Summary|ICE on calling a function |[4.3/4.4 Regression] ICE on | |calling a function http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36700