From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout02-ext4.partage.renater.fr (smtpout02-ext4.partage.renater.fr [194.254.241.31]) by sourceware.org (Postfix) with ESMTP id DAAFC3858C56 for ; Mon, 28 Mar 2022 13:15:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DAAFC3858C56 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=synchrotron-soleil.fr Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=synchrotron-soleil.fr Received: from zmtaout04.partage.renater.fr (zmtaout04.partage.renater.fr [194.254.241.61]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 0B034C3BD0; Mon, 28 Mar 2022 15:15:49 +0200 (CEST) Received: from zmtaout04.partage.renater.fr (localhost [127.0.0.1]) by zmtaout04.partage.renater.fr (Postfix) with ESMTPS id 67C2E140175; Mon, 28 Mar 2022 15:15:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaout04.partage.renater.fr (Postfix) with ESMTP id 5972D14016C; Mon, 28 Mar 2022 15:15:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at zmtaout04.partage.renater.fr Received: from zmtaout04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaout04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yTW9HFDKOJ9f; Mon, 28 Mar 2022 15:15:32 +0200 (CEST) Received: from zstore-b3-012.partage.renater.fr (zstore-b3-012.partage.renater.fr [10.254.240.145]) by zmtaout04.partage.renater.fr (Postfix) with ESMTP id 2582314009A; Mon, 28 Mar 2022 15:15:32 +0200 (CEST) Date: Mon, 28 Mar 2022 15:15:31 +0200 (CEST) From: PICCA Frederic-Emmanuel To: Segher Boessenkool Cc: gcc-help@gcc.gnu.org Message-ID: <1980146585.3845762.1648473331834.JavaMail.zimbra@synchrotron-soleil.fr> In-Reply-To: <20220328131003.GG614@gate.crashing.org> References: <1898945244.2653051.1648218927634.JavaMail.zimbra@synchrotron-soleil.fr> <20220325151513.GC614@gate.crashing.org> <1260494190.3610782.1648459095479.JavaMail.zimbra@synchrotron-soleil.fr> <20220328131003.GG614@gate.crashing.org> Subject: Re: error: arrays of functions are not meaningful MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: Zimbra 8.8.15_GA_4173 (zclient/8.8.15_GA_4173) Thread-Topic: error: arrays of functions are not meaningful Thread-Index: ZJ82LBZ03XYNiwAi8xW9XoEC82BS7A== X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: -100 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, TXREP, T_SCC_BODY_TEXT_LINE, T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2022 13:15:58 -0000 ----- Segher Boessenkool a =C3=A9crit=C2=A0: > On Mon, Mar 28, 2022 at 11:18:15AM +0200, PICCA Frederic-Emmanuel wrote: > >=20 > > ----- Segher Boessenkool a =C3=A9crit=C2= =A0: > > > On Fri, Mar 25, 2022 at 03:35:27PM +0100, PICCA Frederic-Emmanuel wro= te: > > > > Hello, I try to activate the gcc10 analyzer > > > > but then I get this error message > > > >=20 > > > > hkl2.c: In function =E2=80=98trajectory_gen=E2=80=99: > > > > hkl2.c:219:1: error: arrays of functions are not meaningful > > > > 219 | generator_def(trajectory_gen, Engine, Trajectory, tconfig) > > >=20 > > > https://gcc.gnu.org/PR94689 ? > > >=20 > >=20 > > Hello, I checked and found that it works with gcc-11. > >=20 > > so it must be a bug in the gcc-10 implementation. >=20 > The patch that fixed this in GCC 10 was a rewrite of a large part of the > analyzer, so it is likely not suitable for backporting. I understand, this is just for record :) Have a nice day Fred