From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout01-ext2.partage.renater.fr (smtpout01-ext2.partage.renater.fr [194.254.240.33]) by sourceware.org (Postfix) with ESMTP id 23AD93857C71 for ; Mon, 28 Mar 2022 09:18:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 23AD93857C71 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 zmtaout03.partage.renater.fr (zmtaout03.partage.renater.fr [194.254.240.61]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id 367A76824D; Mon, 28 Mar 2022 11:18:40 +0200 (CEST) Received: from zmtaout03.partage.renater.fr (localhost [127.0.0.1]) by zmtaout03.partage.renater.fr (Postfix) with ESMTPS id C752C400A3; Mon, 28 Mar 2022 11:18:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaout03.partage.renater.fr (Postfix) with ESMTP id BEAB7400B3; Mon, 28 Mar 2022 11:18:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at zmtaout03.partage.renater.fr Received: from zmtaout03.partage.renater.fr ([127.0.0.1]) by localhost (zmtaout03.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ShONYo5Cl2OR; Mon, 28 Mar 2022 11:18:15 +0200 (CEST) Received: from zstore-b3-012.partage.renater.fr (zstore-b3-012.partage.renater.fr [10.254.240.145]) by zmtaout03.partage.renater.fr (Postfix) with ESMTP id 9101E400A3; Mon, 28 Mar 2022 11:18:15 +0200 (CEST) Date: Mon, 28 Mar 2022 11:18:15 +0200 (CEST) From: PICCA Frederic-Emmanuel To: Segher Boessenkool Cc: gcc-help@gcc.gnu.org Message-ID: <1260494190.3610782.1648459095479.JavaMail.zimbra@synchrotron-soleil.fr> In-Reply-To: <20220325151513.GC614@gate.crashing.org> References: <1898945244.2653051.1648218927634.JavaMail.zimbra@synchrotron-soleil.fr> <20220325151513.GC614@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: 9Y6gE5eNlA3hZC175+o6F4lYV3FxQw== X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: -100 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_MSPIKE_H4, 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 09:18:52 -0000 ----- Segher Boessenkool a =C3=A9crit=C2=A0: > On Fri, Mar 25, 2022 at 03:35:27PM +0100, PICCA Frederic-Emmanuel wrote: > > 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 Hello, I checked and found that it works with gcc-11. so it must be a bug in the gcc-10 implementation. Cheers Frederic