------- Comment #16 from dmarkman at mac dot com 2007-01-26 01:05 ------- it looks like that suggested code doesn't work for x86_64 platform. I changed ADDR declaration to INTEGER *8 and gfortran -m64 percentval.f returns the following errors: CALL SUB1( %VAL( ADDR ), SIZE ) 1 Error: Kind of by-value argument at (1) is larger than default kind I did it on Mac OS X 10.4.8 and with gcc 4.2 but I guess it could work on Leopard 10.5 but I didn't check it
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23060