[Bug fortran/50960] [OOP] vtables not marked as constant
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 2 15:08:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50960
--- Comment #6 from janus at gcc dot gnu.org 2011-11-02 15:08:28 UTC ---
(In reply to comment #1)
> I'll try if the following patch survives regtesting
It fails at least on:
FAIL: gfortran.dg/dynamic_dispatch_4.f03 -O0 (test for excess errors)
FAIL: gfortran.dg/dynamic_dispatch_5.f03 -O0 (test for excess errors)
> gfortran-4.7 dynamic_dispatch_4.f03
dynamic_dispatch_4.f03:79.6:
use s_bar_mod
1
Error: Interface mismatch for procedure-pointer component 'getit' in structure
constructor at (1): Type/rank mismatch in argument 'a'
> gfortran-4.7 dynamic_dispatch_5.f03
dynamic_dispatch_5.f03:176.8:
use s_mat_mod
1
Error: Interface mismatch for procedure-pointer component 's_scals' in
structure constructor at (1): Type/rank mismatch in argument 'a'
More information about the Gcc-bugs
mailing list