http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50549
Bug #: 50549 Summary: should detect different type parameters in structure constructors (r178939) Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: zec...@gmail.com ! should detect different type parameters in structure constructors (r178939) interface function f1() character(1),pointer :: f1 end end interface type t character(2), pointer :: p2 end type character(1), pointer :: p1 type(t) u u=t(p1) ! different character length u=t(f1()) ! type parameters are different (Fortran 95 section 4.4.4) end