This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/46838] [OOP] Initialization of polymorphic allocatable components


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46838

--- Comment #6 from Salvatore Filippone <sfilippone at uniroma2 dot it> 2010-12-28 13:40:52 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> > Here's a patch:
> 
> The patch in comment #4 had a few regressions (e.g. on alloc_comp_basics_1.f90
> etc), but the following version regtests cleanly:
> 
> 

For me, it cures the reduced test case (bug28.f90) in comment #0, so it's
definitely a step in the right direction. 
Unfortunately in the full application I still get this: 


[localhost:15473] Signal: Segmentation fault (11)
[localhost:15473] Signal code: Address not mapped (1)
[localhost:15473] Failing at address: 0x13440000133b
[localhost:15472] [ 0] /lib64/libpthread.so.0(+0xf4a0) [0x7fae89b8b4a0]
[localhost:15472] [ 1] /lib64/libc.so.6(cfree+0x1c) [0x7fae898782dc]
[localhost:15472] [ 2]
./ppde(__copy_psb_gen_block_map_mod_psb_gen_block_map_+0x143) [0x4c45b3]
[localhost:15472] [ 3] ./ppde(psb_cdcpy_+0x700) [0x4bf850]
[localhost:15472] [ 4] ./ppde(psb_dcdbldext_+0x7e2) [0x4b2762]
[localhost:15472] [ 5] ./ppde() [0x41985f]
[localhost:15472] [ 6] ./ppde() [0x41c6dd]
[localhost:15472] [ 7] /lib64/libc.so.6(__libc_start_main+0xfd)
[0x7fae8981cc5d]
[localhost:15472] [ 8] ./ppde() [0x418ef9]
[localhost:15472] *** End of error message ***

I suppose this means that the original test case did not catch all there was; 
I guess it would be best to declare this fixed and open a new one, as soon as I
have time to get a new reduced test case.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]