aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2023-10-08 17:39:52 +0200
committerChristoph Müllner <christophm30@gmail.com>2023-10-10 22:43:58 +0200
commit1d9d2ce4058faadc56922746da7b41f557efafd1 (patch)
tree6d38b08fc3949a8754c18fa4fa812804d6769019
parentf7186fa52b4011684408858987840950e3e93417 (diff)
downloadriscv-gnu-toolchain-1d9d2ce4058faadc56922746da7b41f557efafd1.zip
riscv-gnu-toolchain-1d9d2ce4058faadc56922746da7b41f557efafd1.tar.gz
riscv-gnu-toolchain-1d9d2ce4058faadc56922746da7b41f557efafd1.tar.bz2
Bump GCC to 13.2.0
This commit bumps GCC from 12.2.0 to 13.2.0 and adjusts the allowlist accordingly (for glibc and newlib multilib builds). Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
-rw-r--r--.gitmodules2
m---------gcc0
-rw-r--r--test/allowlist/gcc/common.log44
-rw-r--r--test/allowlist/gcc/glibc.ilp32.log2
-rw-r--r--test/allowlist/gcc/glibc.log13
-rw-r--r--test/allowlist/gcc/glibc.lp64.log2
-rw-r--r--test/allowlist/gcc/glibc.rv32.f.log2
-rw-r--r--test/allowlist/gcc/glibc.rv32.log10
-rw-r--r--test/allowlist/gcc/lp64.log5
-rw-r--r--test/allowlist/gcc/newlib.log14
-rw-r--r--test/allowlist/gcc/rv64.log4
11 files changed, 34 insertions, 64 deletions
diff --git a/.gitmodules b/.gitmodules
index 340189f..d47dfbf 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -5,7 +5,7 @@
[submodule "gcc"]
path = gcc
url = https://gcc.gnu.org/git/gcc.git
- branch = releases/gcc-12
+ branch = releases/gcc-13
[submodule "glibc"]
path = glibc
url = https://sourceware.org/git/glibc.git
diff --git a/gcc b/gcc
-Subproject 2ee5e4300186a92ad73f1a1a64cb918dc76c8d6
+Subproject c891d8dc23e1a46ad9f3e757d09e57b500d4004
diff --git a/test/allowlist/gcc/common.log b/test/allowlist/gcc/common.log
index 51c8697..3fb3ad5 100644
--- a/test/allowlist/gcc/common.log
+++ b/test/allowlist/gcc/common.log
@@ -1,47 +1,19 @@
#
-# Check for nop insns fails due to ".option nopic".
-#
-FAIL: c-c++-common/patchable_function_entry-decl.c
-FAIL: c-c++-common/patchable_function_entry-default.c
-FAIL: c-c++-common/patchable_function_entry-definition.c
-#
# XXX: Need review.
#
XPASS: gcc.dg/attr-alloc_size-11.c
+XPASS: gcc.dg/tree-ssa/ssa-fre-3.c
+FAIL: gcc.dg/lto/save-temps
+FAIL: gcc.dg/pr90838.c
+FAIL: gcc.target/riscv/promote-type-for-libcall.c
+FAIL: g++.dg/contracts/contracts-tmpl-spec2.C
+FAIL: g++.dg/modules/xtreme-header-5_c.C
#
# We didn't define TARGET_HAVE_SPECULATION_SAFE_VALUE or
# speculation_barrier pattern
#
FAIL: c-c++-common/spec-barrier-1.c
#
-# Upstream fail cases due to target check with 'vect_slp_v2hi_store_align' and 'vect_slp_v4hi_store_unalign'
-#
-FAIL: gcc.dg/Warray-bounds-48.c
-FAIL: gcc.dg/Wzero-length-array-bounds-2.c
-FAIL: gcc.dg/uninit-pred-9_b.c
-XPASS: gcc.dg/uninit-pred-7_a.c
-# Upstream regression,
-# Patch by Palmer:
-# https://gcc.gnu.org/pipermail/gcc-patches/2022-May/593995.html
-# Discuss in:
-# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892
-FAIL: gcc.dg/analyzer/pr104308.c
-FAIL: gcc.dg/pr102892-1.c
-#
-# Upstream fail cases due to tree dump check
-#
-# Patch by Palmer:
-# https://gcc.gnu.org/pipermail/gcc-patches/2022-September/600932.html
-#
-FAIL: gcc.dg/tree-ssa/ssa-sink-18.c
-#
-# Upstream fixed cases
+# Fix upstream (9fde76a) but no backport
#
-# By Palmer:
-# https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=010af1040bcf4870c8f1aac88a7b1538f622858b
-FAIL: gcc.dg/debug/btf/btf-datasec-1.c
-# By Jiawei:
-# https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=dc32901a0221a43e121591b9819b4e33bcc2fd0a
-FAIL: g++.dg/opt/const7.C
-# https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b18e5d7e5f9df69759f0fbc2bed91d5e51313e79
-FAIL: gcc.target/riscv/pr105666.c
+FAIL: gcc.target/riscv/arch-19.c
diff --git a/test/allowlist/gcc/glibc.ilp32.log b/test/allowlist/gcc/glibc.ilp32.log
deleted file mode 100644
index 4e27b28..0000000
--- a/test/allowlist/gcc/glibc.ilp32.log
+++ /dev/null
@@ -1,2 +0,0 @@
-FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c
-XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c
diff --git a/test/allowlist/gcc/glibc.log b/test/allowlist/gcc/glibc.log
index 922ee5f..10303b9 100644
--- a/test/allowlist/gcc/glibc.log
+++ b/test/allowlist/gcc/glibc.log
@@ -1,9 +1,18 @@
#
# XXX: Need review why.
#
-FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c
-XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c
+FAIL: gfortran.dg/matmul_15.f90
+FAIL: gfortran.dg/ieee/ieee_1.F90
+FAIL: gfortran.dg/ieee/ieee_2.f90
FAIL: gfortran.dg/ieee/ieee_6.f90
+FAIL: gfortran.dg/ieee/large_2.f90
+FAIL: gfortran.dg/ieee/large_3.F90
+FAIL: gfortran.dg/ieee/modes_1.f90
+FAIL: gfortran.dg/ieee/rounding_1.f90
+#
+# Fails if there is no F extension
+#
+FAIL: gfortran.dg/ieee/rounding_3.f90
#
# Synchronization problem.
#
diff --git a/test/allowlist/gcc/glibc.lp64.log b/test/allowlist/gcc/glibc.lp64.log
deleted file mode 100644
index 4e27b28..0000000
--- a/test/allowlist/gcc/glibc.lp64.log
+++ /dev/null
@@ -1,2 +0,0 @@
-FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c
-XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c
diff --git a/test/allowlist/gcc/glibc.rv32.f.log b/test/allowlist/gcc/glibc.rv32.f.log
deleted file mode 100644
index 8a92e06..0000000
--- a/test/allowlist/gcc/glibc.rv32.f.log
+++ /dev/null
@@ -1,2 +0,0 @@
-# Relocation truncated.
-FAIL: gcc.dg/torture/vec-cvt-1.c -O0 (test for excess errors)
diff --git a/test/allowlist/gcc/glibc.rv32.log b/test/allowlist/gcc/glibc.rv32.log
deleted file mode 100644
index 2ab1dbc..0000000
--- a/test/allowlist/gcc/glibc.rv32.log
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-FAIL: g++.dg/torture/pr86763.C
-#
-# It's new failed case since GCC 11,
-# this case only failed on -O0
-# But...I (Kito) don't know fortran too much,
-# so put this here for now until someday we have time to
-# investigating...
-#
-FAIL: gfortran.dg/assumed_rank_bounds_3.f90
diff --git a/test/allowlist/gcc/lp64.log b/test/allowlist/gcc/lp64.log
deleted file mode 100644
index e2b1413..0000000
--- a/test/allowlist/gcc/lp64.log
+++ /dev/null
@@ -1,5 +0,0 @@
-#
-# fesetround not work with soft-fp
-#
-#FAIL: gcc.dg/torture/fp-int-convert-timode-3.c
-#FAIL: gcc.dg/torture/fp-int-convert-timode-4.c
diff --git a/test/allowlist/gcc/newlib.log b/test/allowlist/gcc/newlib.log
index 0c1c274..37f2c20 100644
--- a/test/allowlist/gcc/newlib.log
+++ b/test/allowlist/gcc/newlib.log
@@ -1,4 +1,18 @@
#
+# XXX: Need review why.
+#
+FAIL: gcc.dg/analyzer/fd-4.c
+#
+# Missing A extension (rv32i and rm32im only)
+#
+FAIL: gcc.target/riscv/inline-atomics-2.c
+FAIL: gcc.target/riscv/inline-atomics-3.c
+FAIL: gcc.target/riscv/inline-atomics-4.c
+FAIL: gcc.target/riscv/inline-atomics-5.c
+FAIL: gcc.target/riscv/inline-atomics-6.c
+FAIL: gcc.target/riscv/inline-atomics-7.c
+FAIL: gcc.target/riscv/inline-atomics-8.c
+#
# We didn't init thread pointer in qemu nor newlib.
#
FAIL: g++.dg/cpp2a/decomp2.C
diff --git a/test/allowlist/gcc/rv64.log b/test/allowlist/gcc/rv64.log
deleted file mode 100644
index 6d53000..0000000
--- a/test/allowlist/gcc/rv64.log
+++ /dev/null
@@ -1,4 +0,0 @@
-#
-# XXX: Need review
-#
-XPASS: gcc.dg/tree-ssa/ssa-fre-3.c