On Wed, Feb 03, 2016 at 02:10:46PM -0500, Tom Callaway wrote:
On 02/03/2016 01:57 PM, Florian Weimer wrote:
> Okay, self-contained test case is:
>
> struct GVector4 {
> GVector4(int);
> };
> struct GNamedSVGcolor {
> char Name[22];
> GVector4 RGBA;
> };
>
> static const GNamedSVGcolor SVGColors[1] = {
> { "aliceblue", GVector4(1) },
> };
>
> The RGBA member and the constructor argument appear required to trigger
> this.
I agree. Is anything explicitly wrong with that test case? It feels like
a false positive, but I'm not expert enough in C++ to be sure.
Looks like a g++ bug; I opened
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69658
to track it further.
Marek