Re: [pushed] c++: #pragma target and deferred instantiation [PR115403]

2024-07-26 Thread Patrick Palka
On Thu, 25 Jul 2024, Jason Merrill wrote: > Tested x86_64-pc-linux-gnu, applying to trunk. > > Also built highway to check. > > -- 8< -- > > My patch for 109753 applies the current #pragma target/optimize to a > function when we compile it, which was a problem for a template > instantiation def

[pushed] c++: #pragma target and deferred instantiation [PR115403]

2024-07-25 Thread Jason Merrill
Tested x86_64-pc-linux-gnu, applying to trunk. Also built highway to check. -- 8< -- My patch for 109753 applies the current #pragma target/optimize to a function when we compile it, which was a problem for a template instantiation deferred until EOF, where different #pragmas are active. So let