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