This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20889] error needed
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jun 2005 07:14:44 -0000
- Subject: [Bug fortran/20889] error needed
- References: <20050408160247.20889.jv244@cam.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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