fortran address problem?

Mathew Yeates mat.yeates@gmail.com
Fri Sep 17 13:55:00 GMT 2010


(gdb) p &opt_depth_up_bd_mask
$11 = (PTR TO -> ( logical(kind=4) (*,*))) 0x2926ee0
(gdb) p &opt_depth_up_bd_mask(2,1)
$12 = (PTR TO -> ( logical(kind=4) )) 0x2926ee4
(gdb) p &opt_depth_up_bd_mask(1,2)
$15 = (PTR TO -> ( logical(kind=4) )) 0x2926ee4

opt_depth_up_bd_mask(2,1) and opt_depth_up_bd_mask(1,2) refer to the
same location??


-Mathew



More information about the Gdb mailing list