This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50548] New: gfortran -fcheck=all run time would be nice to detect different shapes
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Sep 2011 09:06:05 +0000
- Subject: [Bug fortran/50548] New: gfortran -fcheck=all run time would be nice to detect different shapes
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: zeccav@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