Re: [PATCH] c++: diagnose failed qualified lookup into current inst

2024-07-23 Thread Andrew Pinski
On Wed, Jul 17, 2024 at 10:55 AM Patrick Palka wrote: > > Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look > OK for trunk? Just an FYI. This broke xalancbmk_r in SPEC 2017. clang has a flag to delay the checking until instantiation time to work around this buggy code, -fdelayed-t

Re: [PATCH] c++: diagnose failed qualified lookup into current inst

2024-07-17 Thread Jason Merrill
On 7/17/24 1:54 PM, Patrick Palka wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? OK. -- >8 -- When the scope of a qualified name is the current instantiation, and qualified lookup finds nothing at template definition time, then we know it'll find nothi

[PATCH] c++: diagnose failed qualified lookup into current inst

2024-07-17 Thread Patrick Palka
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? -- >8 -- When the scope of a qualified name is the current instantiation, and qualified lookup finds nothing at template definition time, then we know it'll find nothing at instantiation time (unless the current insta