]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: add -fabi-version=21
authorJason Merrill <jason@redhat.com>
Tue, 22 Apr 2025 20:37:30 +0000 (16:37 -0400)
committerJason Merrill <jason@redhat.com>
Fri, 25 Apr 2025 15:50:52 +0000 (11:50 -0400)
commitb13bb5045c5010f38169b9786819a024f64fb59d
tree5d8240e6bc61c33311e9589897ac39386f79197e
parent79ad792bf04dfa1109d1afdae93cee9fb457439b
c++: add -fabi-version=21

I'm about to add a bugfix that changes the ABI of noexcept lambdas, so first
let's add the new ABI version.  And I think it's time to update the
compatibility version; let's bump to GCC 13, before the addition of concepts
mangling.

gcc/ChangeLog:

* common.opt: Add ABI v21.

gcc/c-family/ChangeLog:

* c-opts.cc (c_common_post_options): Bump default ABI to 21
and compat ABI to 18.

gcc/testsuite/ChangeLog:

* g++.dg/abi/macro0.C: Update for -fabi-version=21.
gcc/c-family/c-opts.cc
gcc/common.opt
gcc/testsuite/g++.dg/abi/macro0.C