This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ICE in 4.8.2 with compound literal
- From: Marek Polacek <polacek at redhat dot com>
- To: Mason <mpeg dot blue at free dot fr>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 25 Nov 2014 10:27:18 +0100
- Subject: Re: ICE in 4.8.2 with compound literal
- Authentication-results: sourceware.org; auth=none
- References: <54743E0D dot 4060205 at free dot fr> <20141125084737 dot GT29446 at redhat dot com> <54744999 dot 5050806 at free dot fr>
On Tue, Nov 25, 2014 at 10:19:21AM +0100, Mason wrote:
> Aaah, you want me to post the bug report to BZ, not here...
Yep - the snippet + command-line options you posted was enough to reproduce
the bug. The GCC mailing list is not for reporting bugs.
> When you have a minute, can you take a look at my other message?
> "Using Compound Literal + type-punning to initialize static const array"
>
> You committed a patch that seems relevant just a few days ago. But the
> documentation lead me to believe that the feature I was looking for had
> been supported for a very long time (gcc 3.x at least)
I haven't read that in detail yet, but my patch just allowed the
initializing even for gnu99/gnu11 (formerly, it was only allowed in the
gnu89 mode).
Marek