This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/63667] [OOP] ICE with DEFERRED procedure
- 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: Wed, 30 Nov 2016 10:49:40 +0000
- Subject: [Bug fortran/63667] [OOP] ICE with DEFERRED procedure
- Auto-submitted: auto-generated
- References: <bug-63667-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63667
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |7.0
--- Comment #2 from janus at gcc dot gnu.org ---
On current trunk ...
gcc version 7.0.0 20161130 (experimental) [trunk revision 243005] (GCC)
... the ICE is gone and gfortran gives the following output on the test case:
c0.f90:21:48:
CLASS( cu_user_function_type ) :: user_func
1
Error: Component ‘user_func’ with CLASS at (1) must be allocatable or pointer
c0.f90:32:29:
write(*,*) this%user_func%evaluate ( r )
1
Error: ‘user_func’ at (1) is not a member of the ‘cu_type’ structure
Closing as fixed.