On Tue, Sep 17, 2024 at 12:13:29PM -0400, Patrick Palka wrote:
> On Tue, 17 Sep 2024, Marek Polacek wrote:
>
> > Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14/13?
>
> Why not backport this to 12 as well?
It didn't seem important enough but I've backported it to 12 as well.
Mare
On Tue, 17 Sep 2024, Marek Polacek wrote:
> Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14/13?
Why not backport this to 12 as well?
>
> -- >8 --
> r12-3495 added maybe_warn_about_constant_value which will crash if
> it gets a nameless VAR_DECL, which is what happens in this PR.
On 9/17/24 3:26 PM, Marek Polacek wrote:
Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14/13?
OK.
-- >8 --
r12-3495 added maybe_warn_about_constant_value which will crash if
it gets a nameless VAR_DECL, which is what happens in this PR.
We created this VAR_DECL in cp_parser_dec
Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14/13?
-- >8 --
r12-3495 added maybe_warn_about_constant_value which will crash if
it gets a nameless VAR_DECL, which is what happens in this PR.
We created this VAR_DECL in cp_parser_decomposition_declaration.
PR c++/116676
gc