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/35612] testsuite ISO_C_BIND code error



------- Comment #5 from mikael at gcc dot gnu dot org  2009-01-07 13:51 -------
(In reply to comment #4)
> For TARGET, I agree because the standard says about c_f_pointer:
>    The value of CPTR shall not be the C address of a Fortran variable that does
>    not have the TARGET attribute.
> 
Hum, I don't agree with myself. Only the pointee shall have the TARGET
attribute. 
Not the pointer. Thus, I think the testcase is OK as is.


-- 


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


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