Re: [PATCH] c++: [[deprecated]] on template redecl [PR84542]

2023-12-18 Thread Jason Merrill
On 12/18/23 14:56, Marek Polacek wrote: On Mon, Dec 18, 2023 at 02:50:04PM -0500, Patrick Palka wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? LGTM but... -- >8 -- The deprecated and unavailable attributes weren't working when used on a template

Re: [PATCH] c++: [[deprecated]] on template redecl [PR84542]

2023-12-18 Thread Marek Polacek
On Mon, Dec 18, 2023 at 02:50:04PM -0500, Patrick Palka wrote: > Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look > OK for trunk? LGTM but... > -- >8 -- > > The deprecated and unavailable attributes weren't working when used on > a template redeclaration ultimately because the

[PATCH] c++: [[deprecated]] on template redecl [PR84542]

2023-12-18 Thread Patrick Palka
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? -- >8 -- The deprecated and unavailable attributes weren't working when used on a template redeclaration ultimately because the corresponding tree flags on the underlying decls weren't being merged across