[Patch, Fortran, OOP] PR 45290/45271: pointer initialization / vtab init
Janus Weil
janus@gcc.gnu.org
Fri Aug 20 15:17:00 GMT 2010
Hi Dominique,
> With your third patch, I see linker errors of the kind:
>
> Undefined symbols:
> "_strategy_pre_update_", referenced from:
> ___basestrategy_MOD_vtab$strategy in ccA9fpVZ.o
> "_strategy_post_update_", referenced from:
> ___basestrategy_MOD_vtab$strategy in ccA9fpVZ.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> (test in comment #1 of pr44863).
thanks for noticing. Do you also get this with the first version of
the patch I posted?
> Also the following code
>
> module m
> implicit none
> integer, target, save :: t1
> integer, pointer :: p1 => t1
> integer, pointer :: p2 => p1 ! ICE
> end module m
>
> gives an ICE
>
> pr45290_db.f90:7:0: internal compiler error: in record_reference, at cgraphbuild.c:60
Yes, this is another part of PR45290, which I haven't claimed to fix :)
Cheers,
Janus
More information about the Fortran
mailing list