This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23060] %VAL, %REF and %DESCR constructs not implemented
- From: "dmarkman at mac dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2007 01:05:05 -0000
- Subject: [Bug fortran/23060] %VAL, %REF and %DESCR constructs not implemented
- References: <bug-23060-11040@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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