This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42207] [OOP] Compile-time errors on typed allocation and pointer function result assignment
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2010 18:08:40 -0000
- Subject: [Bug fortran/42207] [OOP] Compile-time errors on typed allocation and pointer function result assignment
- References: <bug-42207-15301@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from dominiq at lps dot ens dot fr 2010-08-03 18:08 -------
With the patch in comment #16 (and the patches for pr44065 and pr44857)
gfortran.dg/typebound_operator_4.f03 fails:
FAIL: gfortran.dg/typebound_operator_4.f03 -O (test for excess errors)
the extra errors are:
/opt/gcc/work/gcc/testsuite/gfortran.dg/typebound_operator_4.f03:73.7:
USE m
1
Error: Invalid expression in the derived type constructor for pointer component
'$extends' at (1) in PURE procedure
/opt/gcc/work/gcc/testsuite/gfortran.dg/typebound_operator_4.f03:73.7:
USE m
1
Error: Invalid expression in the derived type constructor for pointer component
'$extends' at (1) in PURE procedure
at the beginning and
/opt/gcc/work/gcc/testsuite/gfortran.dg/typebound_operator_4.f03:89.14:
x = x .PLUS. 5 ! { dg-error "Unknown operator" }
1
Error: Unknown operator 'plus' at (1)
at the end. I also see the change reported in comment #15.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42207