]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Allow new-abi-baseline target to overwrite existing file
authorJonathan Wakely <jwakely@redhat.com>
Wed, 7 Jan 2026 14:29:44 +0000 (14:29 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 6 Feb 2026 09:54:14 +0000 (09:54 +0000)
commit5bec884b2e890ffb950f1a3ccf325d92c3bf8496
tree1fc3a9cf2ceeeefedb1ceead0d3dac26838c6639
parent786e316de5c25a3fddeaa2003f6efb64fb5ab4a9
libstdc++: Allow new-abi-baseline target to overwrite existing file

There doesn't seem to be much benefit to writing the symbols to
baseline_symbols.txt.new when an existing file is already present. It
just adds a manual step for maintainers to move the .txt.new file to
replace the .txt one. Overwriting the file directly allows you to use
git diff to see what changed immediately, and you can easly use git
commands to revert to the original file too.

libstdc++-v3/ChangeLog:

* testsuite/Makefile.am (new-abi-baseline): Overwrite existing
file instead of creating baseline_symbols.txt.new.
* testsuite/Makefile.in: Regenerate.
libstdc++-v3/testsuite/Makefile.am
libstdc++-v3/testsuite/Makefile.in