diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2024-03-22 09:26:05 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2024-03-22 09:26:05 +0100 |
commit | 884c2b766e4a1fd514b446aa7c39a159ec80a4a8 (patch) | |
tree | e4987015c7c96c4c8a4586d30309d06c85362c37 /contrib | |
parent | a8514ae513dd82742e10dcb6dcf5fbb627c43a90 (diff) | |
parent | 9afc19159c2947cddee0c833429da1f190fe34ca (diff) | |
download | gcc-884c2b766e4a1fd514b446aa7c39a159ec80a4a8.zip gcc-884c2b766e4a1fd514b446aa7c39a159ec80a4a8.tar.gz gcc-884c2b766e4a1fd514b446aa7c39a159ec80a4a8.tar.bz2 |
Merge commit 'a945c346f57ba40fc80c14ac59be0d43624e559d^' into HEAD
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 19 | ||||
-rwxr-xr-x | contrib/compare_tests | 6 | ||||
-rwxr-xr-x | contrib/gcc-git-customization.sh | 5 | ||||
-rwxr-xr-x | contrib/update-copyright.py | 6 |
4 files changed, 32 insertions, 4 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 04b99f1..e3b7a4d 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,22 @@ +2023-12-21 Alexandre Oliva <oliva@adacore.com> + + * compare_tests: Add tool to test lines. Match tabs besides + blanks to insert tool and target. Don't print undefined fname. + +2023-12-20 Jason Merrill <jason@redhat.com> + + * gcc-git-customization.sh: Add git gcc-style alias. + +2023-12-14 Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> + Arthur Cohen <arthur.cohen@embecosm.com> + + * gcc_update: Add libgrust file dependencies. + +2023-12-14 Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> + Arthur Cohen <arthur.cohen@embecosm.com> + + * gcc-changelog/git_commit.py: Add libgrust. + 2023-12-13 Arsen Arsenović <arsen@aarsen.me> * download_prerequisites diff --git a/contrib/compare_tests b/contrib/compare_tests index 2dfa864..e09fc4f 100755 --- a/contrib/compare_tests +++ b/contrib/compare_tests @@ -96,7 +96,7 @@ if [ -d "$1" -a -d "$2" ] ; then ret=$? if [ $ret -ne 0 ]; then exit_status=`expr $exit_status + 1` - echo "## Differences found: $fname" + echo "## Differences found" fi if [ $exit_status -ne 0 ]; then echo "# $exit_status differences in $cmnsums common sum files found" @@ -108,8 +108,8 @@ elif [ -d "$1" -o -d "$2" ] ; then usage "Must specify either two directories or two files" fi -sed 's/^XFAIL/FAIL/; s/^ERROR/FAIL/; s/^XPASS/PASS/' < "$1" | awk '/^Running target / {target = $3} { if (target != "unix") { sub(/: /, "&"target": " ); }; print $0; }' | cut -c1-2000 >$tmp1 -sed 's/^XFAIL/FAIL/; s/^ERROR/FAIL/; s/^XPASS/PASS/' < "$2" | awk '/^Running target / {target = $3} { if (target != "unix") { sub(/: /, "&"target": " ); }; print $0; }' | cut -c1-2000 >$tmp2 +sed 's/^XFAIL/FAIL/; s/^ERROR/FAIL/; s/^XPASS/PASS/' < "$1" | awk '/^[ ]*=== [^ ]* tests ===$/ {tool = $2} /^Running target / {target = $3} { if (tool != "") { sub(/:[ ]/, "&"tool": " ); }; if (target != "unix") { sub(/:[ ]/, "&"target": " ); }; print $0; }' | cut -c1-2000 >$tmp1 +sed 's/^XFAIL/FAIL/; s/^ERROR/FAIL/; s/^XPASS/PASS/' < "$2" | awk '/^[ ]*=== [^ ]* tests ===$/ {tool = $2} /^Running target / {target = $3} { if (tool != "") { sub(/:[ ]/, "&"tool": " ); }; if (target != "unix") { sub(/:[ ]/, "&"target": " ); }; print $0; }' | cut -c1-2000 >$tmp2 before=$tmp1 now=$tmp2 diff --git a/contrib/gcc-git-customization.sh b/contrib/gcc-git-customization.sh index 2e173e8..54bd35e 100755 --- a/contrib/gcc-git-customization.sh +++ b/contrib/gcc-git-customization.sh @@ -30,6 +30,11 @@ git config alias.gcc-backport '!f() { "`git rev-parse --show-toplevel`/contrib/g git config alias.gcc-fix-changelog '!f() { "`git rev-parse --show-toplevel`/contrib/git-fix-changelog.py" $@; } ; f' git config alias.gcc-mklog '!f() { "`git rev-parse --show-toplevel`/contrib/mklog.py" $@; } ; f' git config alias.gcc-commit-mklog '!f() { "`git rev-parse --show-toplevel`/contrib/git-commit-mklog.py" "$@"; }; f' +git config alias.gcc-style '!f() { + check=`git rev-parse --show-toplevel`/contrib/check_GNU_style.py; + arg=; if [ $# -ge 1 ] && [ "$1" != "-f" ]; then arg="$1"; shift; + elif [ $# -eq 3 ]; then arg="$3"; set -- "$1" "$2"; fi + git show $arg | $check "$@" -; }; f' # Make diff on MD files use "(define" as a function marker. # Use this in conjunction with a .gitattributes file containing diff --git a/contrib/update-copyright.py b/contrib/update-copyright.py index edd8b49..b5383c4 100755 --- a/contrib/update-copyright.py +++ b/contrib/update-copyright.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2013-2023 Free Software Foundation, Inc. +# Copyright (C) 2013-2024 Free Software Foundation, Inc. # # This script is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -83,6 +83,7 @@ class GenericFilter: 'gpl_v3.texi', 'fdl-1.3.xml', 'gpl-3.0.xml', + 'gpl_v3_without_node.texi', # Skip auto- and libtool-related files 'aclocal.m4', @@ -556,6 +557,9 @@ class GCCFilter (GenericFilter): self.skip_files |= set ([ # Not part of GCC 'math-68881.h', + + # Weird ways to compose copyright year + 'GmcOptions.cc', ]) self.skip_dirs |= set ([ |