------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-19 
07:14 -------
TYPE TEST
 REAL, POINTER :: A
END TYPE
INTEGER, POINTER :: IP
TYPE(TEST) :: DD
DD=TEST(NULL(IP))
END


Intel says "The type of the NULL(MOLD) element in a structure-constructor
differs from the type of the component in the derived-type-def." while gfortran
doesn't say anything.


If the "DD=" line is changed into "DD=TEST(IP)" then gfortran segfaults.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
 GCC target triplet|i686-pc-linux-gnu           |
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-19 07:14:43
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20889

Reply via email to