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/23060] %VAL, %REF and %DESCR constructs not implemented



------- 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


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