diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2024-03-10 23:15:52 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2024-03-10 23:15:52 +0100 |
commit | 02250442a22b2310821214d5f2e2962d1b345a95 (patch) | |
tree | 79fdf4f857aae2185167dbb291df1f1c28c166df /contrib | |
parent | fe4ff2101af0bb23462fac5e0adaf4cef54f09af (diff) | |
parent | 6631fe419c6e47121e54fa3bbcc330dc04efd9a0 (diff) | |
download | gcc-02250442a22b2310821214d5f2e2962d1b345a95.zip gcc-02250442a22b2310821214d5f2e2962d1b345a95.tar.gz gcc-02250442a22b2310821214d5f2e2962d1b345a95.tar.bz2 |
Merge commit 'bc45e18d433f879a02e369d027829f90f9e85724^' into HEAD
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 11 | ||||
-rwxr-xr-x | contrib/bench-stringop | 4 | ||||
-rw-r--r-- | contrib/clang-format | 10 | ||||
-rw-r--r-- | contrib/reghunt/ChangeLog | 5 | ||||
-rwxr-xr-x | contrib/reghunt/bin/reg-hunt | 2 | ||||
-rwxr-xr-x | contrib/repro_fail | 4 |
6 files changed, 30 insertions, 6 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 1fc9154..f30bb85 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,14 @@ +2023-06-03 Lehua Ding <lehua.ding@rivai.ai> + + * clang-format (ForEachMacros): Add missing cases + for EXECUTE_IF_... macros. + +2023-05-18 Jonathan Wakely <jwakely@redhat.com> + + PR bootstrap/105831 + * bench-stringop: Use = operator instead of ==. + * repro_fail: Likewise. + 2023-04-28 Martin Liska <mliska@suse.cz> * filter_gcc_for_doxygen: Use python3 and not python2. diff --git a/contrib/bench-stringop b/contrib/bench-stringop index daf1bce..f058e06 100755 --- a/contrib/bench-stringop +++ b/contrib/bench-stringop @@ -87,7 +87,7 @@ test "$2" "$3" "-mstringop-strategy=rep_byte -malign-stringops" rep1 test "$2" "$3" "-mstringop-strategy=rep_byte -mno-align-stringops" rep1noalign test "$2" "$3" "-mstringop-strategy=rep_4byte -malign-stringops" rep4 test "$2" "$3" "-mstringop-strategy=rep_4byte -mno-align-stringops" rep4noalign -if [ "$mode" == 64 ] +if [ "$mode" = 64 ] then test "$2" "$3" "-mstringop-strategy=rep_8byte -malign-stringops" rep8 test "$2" "$3" "-mstringop-strategy=rep_8byte -mno-align-stringops" rep8noalign @@ -109,7 +109,7 @@ echo " $best" test_all_sizes() { -if [ "$mode" == 64 ] +if [ "$mode" = 64 ] then echo " block size libcall rep1 noalg rep4 noalg rep8 noalg loop noalg unrl noalg sse noalg byte PGO dynamic BEST" else diff --git a/contrib/clang-format b/contrib/clang-format index 5d264ae..8cfee99 100644 --- a/contrib/clang-format +++ b/contrib/clang-format @@ -194,7 +194,15 @@ ForEachMacros: [ 'FOR_EACH_WIDER_MODE', 'FOR_EXPR', 'FOR_INIT_STMT', -'FOR_SCOPE' +'FOR_SCOPE', +'EXECUTE_IF_SET_IN_BITMAP', +'EXECUTE_IF_AND_IN_BITMAP', +'EXECUTE_IF_AND_COMPL_IN_BITMAP', +'EXECUTE_IF_SET_IN_REG_SET', +'EXECUTE_IF_SET_IN_HARD_REG_SET', +'EXECUTE_IF_AND_COMPL_IN_REG_SET', +'EXECUTE_IF_AND_IN_REG_SET', +'EXECUTE_IF_SET_IN_SPARSESET' ] IndentCaseLabels: false NamespaceIndentation: None diff --git a/contrib/reghunt/ChangeLog b/contrib/reghunt/ChangeLog index af27b8f..eb8d8d4 100644 --- a/contrib/reghunt/ChangeLog +++ b/contrib/reghunt/ChangeLog @@ -1,3 +1,8 @@ +2023-05-18 Jonathan Wakely <jwakely@redhat.com> + + PR bootstrap/105831 + * bin/reg-hunt: Use = operator instead of ==. + 2010-06-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * bin/gcc-svn-ids: Fix unportable shell quoting. diff --git a/contrib/reghunt/bin/reg-hunt b/contrib/reghunt/bin/reg-hunt index 6427535..aff4e90 100755 --- a/contrib/reghunt/bin/reg-hunt +++ b/contrib/reghunt/bin/reg-hunt @@ -142,7 +142,7 @@ process_patch () { # build failures, quit now. if [ ${SKIP} -eq 0 ]; then - if [ "x${REG_NEWMID}" == "x" \ + if [ "x${REG_NEWMID}" = "x" \ -o ${TEST_ID} -eq ${LATER_THAN} \ -o ${TEST_ID} -eq ${EARLIER_THAN} ]; then error "build failed for ${TEST_ID}" diff --git a/contrib/repro_fail b/contrib/repro_fail index 9ea79f2..abb479d 100755 --- a/contrib/repro_fail +++ b/contrib/repro_fail @@ -42,10 +42,10 @@ if [ $# -lt 2 ] ; then exit 1 fi -if [ "$1" == "--debug" ] ; then +if [ "$1" = "--debug" ] ; then debug_args="-wrapper gdb,--args" shift -elif [ "$1" == "--debug-tui" ] ; then +elif [ "$1" = "--debug-tui" ] ; then debug_args="-wrapper gdb,--tui,--args" shift else |