Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump gcc into 14.2 release version. #1531

Merged
merged 5 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gcc
Submodule gcc updated from c891d8 to 04696d
34 changes: 24 additions & 10 deletions test/allowlist/gcc/common.log
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,37 @@
# 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
FAIL: g++.dg/modules/bad-mapper-3.C
#
# We didn't define TARGET_HAVE_SPECULATION_SAFE_VALUE or
# speculation_barrier pattern
#
FAIL: c-c++-common/spec-barrier-1.c
#
# Fix upstream (9fde76a) but no backport
#
FAIL: gcc.target/riscv/arch-19.c
#
# Fix upstream (77f3b3419d4) but no backport
#
UNRESOLVED: gcc.target/riscv/mcpu-6.c
UNRESOLVED: gcc.target/riscv/mcpu-7.c
FAIL: g++.dg/vect/pr95401.cc
FAIL: gcc.dg/Wstringop-overflow-47.c
#
# Still fail on upstream(2024.8.12)
#
FAIL: gcc.dg/vect/costmodel/riscv/rvv/pr113281-1.c
FAIL: gcc.dg/vect/costmodel/riscv/rvv/pr113281-2.c
FAIL: gcc.dg/vect/costmodel/riscv/rvv/pr113281-5.c
FAIL: gcc.dg/tree-ssa/ssa-dom-cse-2.c
FAIL: gcc.dg/tree-ssa/update-threading.c
FAIL: gcc.dg/vect/pr65310.c
FAIL: gcc.dg/vect/pr88598-1.c
FAIL: gcc.dg/vect/pr88598-2.c
FAIL: gcc.dg/vect/pr88598-3.c
FAIL: gcc.dg/vect/vect-gather-2.c
FAIL: gcc.dg/plugin/cpython-plugin-test-PyList_Append.c
FAIL: gcc.dg/plugin/cpython-plugin-test-PyList_New.c
FAIL: gcc.dg/plugin/cpython-plugin-test-PyLong_FromLong.c
#
# Fail when don't have floating point support
# see https://github.com/riscv-collab/riscv-gnu-toolchain/pull/1531#issuecomment-2373636158
#
FAIL: gcc.dg/pr110279-1.c
59 changes: 54 additions & 5 deletions test/allowlist/gcc/glibc.log
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# XXX: Need review why.
#
FAIL: gfortran.dg/matmul_15.f90
FAIL: gfortran.dg/ieee/comparisons_3.F90
FAIL: gfortran.dg/ieee/ieee_1.F90
FAIL: gfortran.dg/ieee/ieee_2.f90
FAIL: gfortran.dg/ieee/ieee_6.f90
Expand All @@ -14,12 +15,60 @@ FAIL: gfortran.dg/ieee/rounding_1.f90
#
FAIL: gfortran.dg/ieee/rounding_3.f90
#
# Synchronization problem.
# Fixed but not backport
#
UNRESOLVED: gcc.target/riscv/rvv/autovec/vls-vlmax/full-vec-move1.c
FAIL: gcc.target/riscv/rvv/autovec/vls-vlmax/full-vec-move1.c
#
# Unknown random fail case.
#
FAIL: gcc.dg/tree-prof/time-profiler-2.c
#
# Fix upstream
# https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=c9a19621a07e246385ae075b61283140b23c3b5a
# RVV fail cases(still exist on upstream)
#
FAIL: gcc.dg/analyzer/data-model-4.c
FAIL: gcc.dg/analyzer/torture/conftest-1.c
FAIL: gcc.dg/vect/costmodel/riscv/rvv/pr113112-2.c
FAIL: gcc.target/riscv/rvv/autovec/bug-1.c
FAIL: gcc.target/riscv/rvv/autovec/pr113087-2.c
FAIL: gcc.target/riscv/rvv/autovec/vls/misalign-1.c
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-fixed-1.c
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-fixed-2.c
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-save-restore.c
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1-zcmp.c
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-1.c
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-2-save-restore.c
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-2-zcmp.c
FAIL: gcc.target/riscv/rvv/base/abi-callee-saved-2.c
FAIL: gcc.target/riscv/rvv/base/pr110943.c
FAIL: gcc.target/riscv/rvv/base/pr111533-2.c
FAIL: gcc.target/riscv/rvv/base/pr112743-2.c
FAIL: gcc.target/riscv/rvv/base/pr114639-1.c
FAIL: gcc.target/riscv/rvv/base/pr115456-1.c
FAIL: gcc.target/riscv/rvv/base/pr115456-2.c
FAIL: gcc.target/riscv/rvv/base/pr115456-3.c
FAIL: gcc.target/riscv/rvv/base/vlmul_ext-1.c
FAIL: gcc.target/riscv/rvv/vsetvl/pr111234.c
FAIL: gcc.target/riscv/rvv/vsetvl/pr115214.c
FAIL: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c
UNRESOLVED: gcc.dg/vect/costmodel/riscv/rvv/pr113112-2.c
UNRESOLVED: gcc.target/riscv/rvv/autovec/bug-1.c
UNRESOLVED: gcc.target/riscv/rvv/autovec/pr113087-2.c
UNRESOLVED: gcc.target/riscv/rvv/autovec/vls/misalign-1.c
UNRESOLVED: gcc.target/riscv/rvv/base/abi-callee-saved-1-fixed-1.c
UNRESOLVED: gcc.target/riscv/rvv/base/abi-callee-saved-1-fixed-2.c
UNRESOLVED: gcc.target/riscv/rvv/base/abi-callee-saved-1-save-restore.c
UNRESOLVED: gcc.target/riscv/rvv/base/abi-callee-saved-1-zcmp.c
UNRESOLVED: gcc.target/riscv/rvv/base/abi-callee-saved-1.c
UNRESOLVED: gcc.target/riscv/rvv/base/abi-callee-saved-2-save-restore.c
UNRESOLVED: gcc.target/riscv/rvv/base/abi-callee-saved-2-zcmp.c
UNRESOLVED: gcc.target/riscv/rvv/base/abi-callee-saved-2.c
UNRESOLVED: gcc.target/riscv/rvv/base/pr110943.c
UNRESOLVED: gcc.target/riscv/rvv/base/pr111533-2.c
UNRESOLVED: gcc.target/riscv/rvv/base/pr112743-2.c
UNRESOLVED: gcc.target/riscv/rvv/base/pr114639-1.c
UNRESOLVED: gcc.target/riscv/rvv/base/pr115456-1.c
UNRESOLVED: gcc.target/riscv/rvv/base/pr115456-2.c
UNRESOLVED: gcc.target/riscv/rvv/base/pr115456-3.c
UNRESOLVED: gcc.target/riscv/rvv/base/vlmul_ext-1.c
UNRESOLVED: gcc.target/riscv/rvv/vsetvl/pr111234.c
UNRESOLVED: gcc.target/riscv/rvv/vsetvl/pr115214.c
UNRESOLVED: gcc.target/riscv/rvv/vsetvl/vsetvl-24.c
47 changes: 2 additions & 45 deletions test/allowlist/gcc/newlib.log
Original file line number Diff line number Diff line change
@@ -1,25 +1,4 @@
#
# 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
UNRESOLVED: gcc.target/riscv/inline-atomics-2.c
UNRESOLVED: gcc.target/riscv/inline-atomics-3.c
UNRESOLVED: gcc.target/riscv/inline-atomics-4.c
UNRESOLVED: gcc.target/riscv/inline-atomics-5.c
UNRESOLVED: gcc.target/riscv/inline-atomics-6.c
UNRESOLVED: gcc.target/riscv/inline-atomics-7.c
UNRESOLVED: gcc.target/riscv/inline-atomics-8.c
#
# We didn't init thread pointer in qemu nor newlib.
#
FAIL: g++.dg/cpp2a/decomp2.C
Expand All @@ -30,28 +9,6 @@ FAIL: gcc.c-torture/execute/user-printf.c
FAIL: gcc.c-torture/execute/fprintf-2.c
FAIL: gcc.c-torture/execute/printf-2.c
#
# -lc not enough to link final executable for newlib.
#
FAIL: g++.dg/abi/pure-virtual1.C
#
# newlib header issue, `reent.h`has complication warning when compile
# with `-Wall`
#
FAIL: g++.dg/warn/Wstringop-overflow-6.C

#
# Fixed with https://github.com/gcc-mirror/gcc/commit/fba0f47e4617e164716d3bce587fc6948088e225
# Spike execution fail
#
FAIL: gcc.c-torture/execute/20000822-1.c
FAIL: gcc.c-torture/execute/931002-1.c
FAIL: gcc.c-torture/execute/921215-1.c
FAIL: gcc.c-torture/execute/nestfunc-1.c
FAIL: gcc.c-torture/execute/nestfunc-2.c
FAIL: gcc.c-torture/execute/nestfunc-3.c
FAIL: gcc.c-torture/execute/nestfunc-5.c
FAIL: gcc.c-torture/execute/nestfunc-6.c
FAIL: gcc.dg/trampoline-1.c
FAIL: gcc.dg/torture/pr86389.c
FAIL: gcc.dg/torture/stackalign/nested-5.c
FAIL: gcc.dg/torture/stackalign/nested-6.c
FAIL: gcc.dg/tree-ssa/tailcall-7-run.c
FAIL: g++.dg/vect/pr84556.cc
8 changes: 8 additions & 0 deletions test/allowlist/gcc/newlib.rv32.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# RV32 only
#
UNRESOLVED: g++.dg/vect/pr115278.cc
FAIL: g++.dg/vect/pr115278.cc
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-11.c
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-8.c
FAIL: gcc.dg/analyzer/out-of-bounds-diagram-10.c
5 changes: 5 additions & 0 deletions test/allowlist/gcc/rv32.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# RV32 only
#
FAIL: gcc.target/riscv/rvv/base/vwaddsub-1.c
FAIL: gcc.dg/torture/pr113026-1.c
Loading