From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30451 invoked by alias); 7 Jan 2009 13:52:10 -0000 Received: (qmail 30407 invoked by uid 48); 7 Jan 2009 13:51:58 -0000 Date: Wed, 07 Jan 2009 13:52:00 -0000 Message-ID: <20090107135158.30406.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/35612] testsuite ISO_C_BIND code error In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mikael at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg00725.txt.bz2 ------- 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