http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50548
Bug #: 50548 Summary: gfortran -fcheck=all run time would be nice to detect different shapes 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 ! gfortran -fcheck=all run time would be nice to detect different shapes type t character,pointer :: c(:) end type type(t) :: u allocate(u%c(1)) u%c(1)='q' if(all(u%c==(/'q','w'/))) stop 'error' ! here end