Re: [PATCH] c++: ICE with nested anonymous union [PR117153]

2025-01-15 Thread Jason Merrill
On 1/15/25 9:43 AM, Jason Merrill wrote: On 11/25/24 4:46 PM, Marek Polacek wrote: Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14? -- >8 -- In a template, for    union { union {    T d; };    }; build_anon_union_vars crates a malformed COMPONENT_REF: we have no D

Re: [PATCH] c++: ICE with nested anonymous union [PR117153]

2025-01-15 Thread Jason Merrill
On 11/25/24 4:46 PM, Marek Polacek wrote: Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14? -- >8 -- In a template, for union { union { T d; }; }; build_anon_union_vars crates a malformed COMPONENT_REF: we have no DECL_NAME for the nested anon union so we c

Re: [PATCH] c++: ICE with nested anonymous union [PR117153]

2024-12-20 Thread Marek Polacek
Ping. On Mon, Nov 25, 2024 at 04:46:56PM -0500, Marek Polacek wrote: > Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14? > > -- >8 -- > In a template, for > > union { > union { > T d; > }; > }; > > build_anon_union_vars crates a malformed COMPONENT_REF: we have n

[PATCH] c++: ICE with nested anonymous union [PR117153]

2024-11-25 Thread Marek Polacek
Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14? -- >8 -- In a template, for union { union { T d; }; }; build_anon_union_vars crates a malformed COMPONENT_REF: we have no DECL_NAME for the nested anon union so we create something like "object.". Most of the front