From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14530 invoked by alias); 9 Dec 2008 17:30:01 -0000 Received: (qmail 13557 invoked by uid 48); 9 Dec 2008 17:28:36 -0000 Date: Tue, 09 Dec 2008 17:30:00 -0000 Message-ID: <20081209172836.13556.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/37829] ICE in resolve_symbol In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus 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: 2008-12/txt/msg00844.txt.bz2 ------- Comment #5 from burnus at gcc dot gnu dot org 2008-12-09 17:28 ------- (In reply to comment #4) > For example, I tried to adapt the testcase in PR 33295 to the c_funloc case. > The resulting program is rejected with the following error: > Error: Can't convert TYPE(_gfortran_iso_c_binding_c_funptr) to TYPE(c_funptr) > at (1) > The question is: Is it valid/Do we want to support this? I don't see why it should be invalid (though I have not spend too much time on finding a reason). It also compiles just fine with ifort and g95. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37829