From: PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
To: Segher Boessenkool <segher@kernel.crashing.org>
Cc: gcc-help@gcc.gnu.org
Subject: Re: error: arrays of functions are not meaningful
Date: Mon, 28 Mar 2022 15:15:31 +0200 (CEST) [thread overview]
Message-ID: <1980146585.3845762.1648473331834.JavaMail.zimbra@synchrotron-soleil.fr> (raw)
In-Reply-To: <20220328131003.GG614@gate.crashing.org>
----- Segher Boessenkool <segher@kernel.crashing.org> a écrit :
> On Mon, Mar 28, 2022 at 11:18:15AM +0200, PICCA Frederic-Emmanuel wrote:
> >
> > ----- Segher Boessenkool <segher@kernel.crashing.org> a écrit :
> > > 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
> > > >
> > > > hkl2.c: In function ‘trajectory_gen’:
> > > > hkl2.c:219:1: error: arrays of functions are not meaningful
> > > > 219 | generator_def(trajectory_gen, Engine, Trajectory, tconfig)
> > >
> > > https://gcc.gnu.org/PR94689 ?
> > >
> >
> > Hello, I checked and found that it works with gcc-11.
> >
> > so it must be a bug in the gcc-10 implementation.
>
> 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
prev parent reply other threads:[~2022-03-28 13:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-25 14:35 PICCA Frederic-Emmanuel
2022-03-25 15:15 ` Segher Boessenkool
2022-03-28 9:18 ` PICCA Frederic-Emmanuel
2022-03-28 13:10 ` Segher Boessenkool
2022-03-28 13:15 ` PICCA Frederic-Emmanuel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1980146585.3845762.1648473331834.JavaMail.zimbra@synchrotron-soleil.fr \
--to=frederic-emmanuel.picca@synchrotron-soleil.fr \
--cc=gcc-help@gcc.gnu.org \
--cc=segher@kernel.crashing.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).