From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115192 invoked by alias); 31 Aug 2018 12:34:03 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 115175 invoked by uid 89); 31 Aug 2018 12:34:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*F:D*fr, Hx-spam-relays-external:sk:mailhos, H*RU:sk:mailhos, H*r:sk:mailhos X-HELO: nef2.ens.fr Received: from nef2.ens.fr (HELO nef2.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 31 Aug 2018 12:34:01 +0000 X-ENS-nef-client: 129.199.120.1 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id w7VCXwma003565 ; Fri, 31 Aug 2018 14:33:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id 17B8914F; Fri, 31 Aug 2018 14:33:58 +0200 (CEST) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aeDgGmj6VtYy; Fri, 31 Aug 2018 14:33:58 +0200 (CEST) Received: from [192.168.1.10] (log78-1-82-242-47-10.fbx.proxad.net [82.242.47.10]) by mailhost.lps.ens.fr (Postfix) with ESMTPSA id D5069142; Fri, 31 Aug 2018 14:33:57 +0200 (CEST) From: =?utf-8?Q?Dominique_d=27Humi=C3=A8res?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: [Patch, Fortran, F08] PR 86888: allocatable components of indirectly recursive type Message-Id: <54601FBE-6F7E-4075-8F11-E9D894177AE0@lps.ens.fr> Date: Fri, 31 Aug 2018 12:34:00 -0000 Cc: gfortran To: Janus Weil X-SW-Source: 2018-08/txt/msg00117.txt.bz2 Hi Janus, > Thanks, Paul. Committed as r263782. Up to revision r263781, gfortran compiles the following test (pr71764 comme= nt 3) module sqlite3_primitive use iso_c_binding, only: c_funptr end module sqlite3_primitive module fsqlite_runtime use sqlite3_primitive use, intrinsic :: iso_c_binding, only : c_null_funptr, c_funptr implicit none contains subroutine fsqlite_exec type(c_funptr) to_cb=20 to_cb =3D c_null_funptr=20 end subroutine end module Starting at r263782, I get the error pr71764_1.f90:7:6: 7 | use sqlite3_primitive | 1 Error: Derived type 'c_funptr' at (1) has not been declared Is this expected? If no, I=E2=80=99ll file a new PR. If yes, why (the error= message is quite confusing)?=20 I also get the same error with the first test in comment 4, but not with th= e other variants. TIA Dominique