------- Comment #1 from bdsatish at gmail dot com 2010-07-13 17:30 -------
Reported by Satish at http://gcc.gnu.org/ml/fortran/2010-07/msg00152.html
Simplified testcase by Janus Weil:
type :: real_type
end type
class(real_type), allocatable :: obj
allocate(real_type :: obj)
end
This is a simple parsing bug, triggered by the fact that
type name starts with "real", which is being confused with the
intrinsic type REAL.
--
bdsatish at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bdsatish at gmail dot com,
| |janus at gcc dot gnu dot org
Summary|[OOP] Intrinsic type |[OOP] Parsing error of
| |derived type name starting
| |with 'REAL'
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44929