This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54832] [4.8 Regression] [OOP] Type-bound operator not picked up with RESULT variable
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 06 Oct 2012 14:03:14 +0000
- Subject: [Bug fortran/54832] [4.8 Regression] [OOP] Type-bound operator not picked up with RESULT variable
- Auto-submitted: auto-generated
- References: <bug-54832-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54832
--- Comment #4 from janus at gcc dot gnu.org 2012-10-06 14:03:14 UTC ---
Author: janus
Date: Sat Oct 6 14:03:08 2012
New Revision: 192160
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192160
Log:
2012-10-06 Janus Weil <janus@gcc.gnu.org>
PR fortran/54832
* resolve.c (resolve_fl_derived0): Correctly copy the 'class_ok'
attribute for proc-ptr components with RESULT variable.
2012-10-06 Janus Weil <janus@gcc.gnu.org>
PR fortran/54832
* gfortran.dg/typebound_operator_17.f90: New.
Added:
trunk/gcc/testsuite/gfortran.dg/typebound_operator_17.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog