On 11/10/25 12:06 PM, Jakub Jelinek wrote:
Hi!
Trivial relocation was voted out of C++26, the following patch
removes it (note, the libstdc++ part was still waiting for patch review
and so doesn't need to be removed).
This isn't a mere revert of r16-2206; I've kept -Wc++26-compat option,
from earlier patches the non-terminal stays to be class-property-specifier,
and I had to partially revert also various follow-up changes, e.g. for
modules to handle the new flags and test them, for -Wkeyword-macro
etc. to diagnose the conditional keywords or the feature test macro
etc.
Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
I think I would prefer to just remove it from -std=c++26, it's expected
to come back in C++29. Maybe give it a -ftrivial-relocation for now?
Jason