diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f1feea290e9..62df5168d29 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,12 +23,16 @@ jobs: - mode: musl compiler: llvm steps: - - uses: actions/checkout@v2 - - - name: initialize submodules + - name: Remove unneeded frameworks to recover disk space run: | - git submodule init - git submodule update --recursive --progress --recommend-shallow + echo "-- Before --" + df -h + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + echo "-- After --" + df -h + + - uses: actions/checkout@v4 - name: install dependencies run: sudo ./.github/setup-apt.sh @@ -52,6 +56,12 @@ jobs: run: | sudo make report-${{ matrix.mode }} -j $(nproc) + - name: recover space + run: | + sudo du -hs / 2> /dev/null || true + sudo rm -rf binutils dejagnu gcc gdb glibc llvm musl newlib pk qemu spike || true + sudo du -hs / 2> /dev/null || true + - name: tarball build run: tar czvf riscv.tar.gz -C /opt/ riscv/ @@ -67,9 +77,9 @@ jobs: *) MODE="elf";; esac - echo ::set-output name=TOOLCHAIN_NAME::riscv$BITS-$MODE-${{ matrix.os }}-${{ matrix.compiler }}-nightly + echo "TOOLCHAIN_NAME=riscv$BITS-$MODE-${{ matrix.os }}-${{ matrix.compiler }}-nightly" >> $GITHUB_OUTPUT - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: ${{ steps.toolchain-name-generator.outputs.TOOLCHAIN_NAME }} path: riscv.tar.gz @@ -86,12 +96,16 @@ jobs: - sim: spike mode: linux steps: - - uses: actions/checkout@v2 - - - name: initialize submodules + - name: Remove unneeded frameworks to recover disk space run: | - git submodule init - git submodule update --recursive --progress --recommend-shallow + echo "-- Before --" + df -h + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + echo "-- After --" + df -h + + - uses: actions/checkout@v4 - name: install dependencies run: sudo ./.github/setup-apt.sh @@ -114,12 +128,16 @@ jobs: mode: [newlib, linux] target: [rv64gc-lp64d] steps: - - uses: actions/checkout@v2 - - - name: initialize submodules + - name: Remove unneeded frameworks to recover disk space run: | - git submodule init - git submodule update --recursive --progress --recommend-shallow + echo "-- Before --" + df -h + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + echo "-- After --" + df -h + + - uses: actions/checkout@v4 - name: install dependencies run: sudo ./.github/setup-apt.sh @@ -149,9 +167,9 @@ jobs: *) MODE="elf";; esac - echo ::set-output name=TOOLCHAIN_NAME::riscv$BITS-$MODE-${{ matrix.os }}-multilib-nightly + echo "TOOLCHAIN_NAME=riscv$BITS-$MODE-${{ matrix.os }}-multilib-nightly" >> $GITHUB_OUTPUT - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: ${{ steps.toolchain-name-generator.outputs.TOOLCHAIN_NAME }} path: riscv.tar.gz diff --git a/.github/workflows/nightly-release.yaml b/.github/workflows/nightly-release.yaml index bdda82e20ca..1b4a3d4e6b1 100644 --- a/.github/workflows/nightly-release.yaml +++ b/.github/workflows/nightly-release.yaml @@ -34,8 +34,8 @@ jobs: STALE=true fi fi - echo "::set-output name=stale::$STALE" - + echo "stale=$STALE" >> $GITHUB_OUTPUT + if [ "$STALE" == "true" ]; then exit 1 fi @@ -58,12 +58,16 @@ jobs: - mode: musl compiler: llvm steps: - - uses: actions/checkout@v2 - - - name: initialize submodules + - name: Remove unneeded frameworks to recover disk space run: | - git submodule init - git submodule update --recursive --progress --recommend-shallow + echo "-- Before --" + df -h + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + echo "-- After --" + df -h + + - uses: actions/checkout@v4 - name: install apt dependencies run: sudo ./.github/setup-apt.sh @@ -84,6 +88,12 @@ jobs: run: | sudo make -j$(nproc) build-sim SIM=qemu + - name: recover space + run: | + sudo du -hs / 2> /dev/null || true + sudo rm -rf binutils dejagnu gcc gdb glibc llvm musl newlib pk qemu spike || true + sudo du -hs / 2> /dev/null || true + - name: tarball build run: tar czvf riscv.tar.gz -C /opt/ riscv/ @@ -99,9 +109,9 @@ jobs: *) MODE="elf";; esac - echo ::set-output name=TOOLCHAIN_NAME::riscv$BITS-$MODE-${{ matrix.os }}-${{ matrix.compiler }}-nightly + echo "TOOLCHAIN_NAME=riscv$BITS-$MODE-${{ matrix.os }}-${{ matrix.compiler }}-nightly" >> $GITHUB_OUTPUT - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: ${{ steps.toolchain-name-generator.outputs.TOOLCHAIN_NAME }} path: riscv.tar.gz @@ -171,11 +181,11 @@ jobs: file: .[1], extension: .[2] } - ] + ] }' ) - echo "::set-output name=asset_matrix::${ASSET_MATRIX}" + echo "asset_matrix=${ASSET_MATRIX}" >> $GITHUB_OUTPUT shell: bash diff --git a/.gitmodules b/.gitmodules index 340189f486b..92bd35f1db2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,14 +5,14 @@ [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 [submodule "dejagnu"] path = dejagnu url = https://git.savannah.gnu.org/git/dejagnu.git - branch = dejagnu-1.6.3 + branch = master [submodule "newlib"] path = newlib url = https://sourceware.org/git/newlib-cygwin.git @@ -20,7 +20,7 @@ [submodule "gdb"] path = gdb url = https://sourceware.org/git/binutils-gdb.git - branch = gdb-12-branch + branch = gdb-13-branch [submodule "qemu"] path = qemu url = https://gitlab.com/qemu-project/qemu.git diff --git a/Makefile.in b/Makefile.in index ea82995b4fc..d5b18f6e11e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -69,6 +69,8 @@ endif GLIBC_MULTILIB_NAMES := @glibc_multilib_names@ GCC_CHECKING_FLAGS := @gcc_checking@ +EXTRA_MULTILIB_TEST := @extra_multilib_test@ + XLEN := $(shell echo $(WITH_ARCH) | tr A-Z a-z | sed 's/.*rv\([0-9]*\).*/\1/') ifneq ($(XLEN),32) XLEN := 64 @@ -91,12 +93,12 @@ GDB_NATIVE_FLAGS := $(GDB_NATIVE_FLAGS_EXTRA) GLIBC_TARGET_FLAGS := $(GLIBC_TARGET_FLAGS_EXTRA) GLIBC_CC_FOR_TARGET ?= $(LINUX_TUPLE)-gcc GLIBC_CXX_FOR_TARGET ?= $(LINUX_TUPLE)-g++ -GLIBC_TARGET_BOARDS ?= $(shell echo "$(GLIBC_MULTILIB_NAMES)" | sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim/-march=\1/-mabi=\2/@cmodel@!g') +GLIBC_TARGET_BOARDS ?= $(shell echo "$(GLIBC_MULTILIB_NAMES) $(EXTRA_MULTILIB_TEST)" | sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim/-march=\1/-mabi=\2/@cmodel@!g') NEWLIB_CC_FOR_TARGET ?= $(NEWLIB_TUPLE)-gcc NEWLIB_CXX_FOR_TARGET ?= $(NEWLIB_TUPLE)-g++ -NEWLIB_TARGET_BOARDS ?= $(shell echo "$(NEWLIB_MULTILIB_NAMES)" | sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim/-march=\1/-mabi=\2/@cmodel@!g') -NEWLIB_NANO_TARGET_BOARDS ?= $(shell echo "$(NEWLIB_MULTILIB_NAMES)" | sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim-nano/-march=\1/-mabi=\2/@cmodel@!g') +NEWLIB_TARGET_BOARDS ?= $(shell echo "$(NEWLIB_MULTILIB_NAMES) $(EXTRA_MULTILIB_TEST)" | sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim/-march=\1/-mabi=\2/@cmodel@!g') +NEWLIB_NANO_TARGET_BOARDS ?= $(shell echo "$(NEWLIB_MULTILIB_NAMES) $(EXTRA_MULTILIB_TEST)" | sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim-nano/-march=\1/-mabi=\2/@cmodel@!g') NEWLIB_CC_FOR_MULTILIB_INFO := $(NEWLIB_CC_FOR_TARGET) MUSL_TARGET_FLAGS := $(MUSL_TARGET_FLAGS_EXTRA) @@ -530,7 +532,7 @@ stamps/build-gcc-linux-native: $(GCC_SRCDIR) $(GCC_SRC_GIT) stamps/build-gcc-lin $(WITH_ARCH) \ $(WITH_TUNE) \ $(WITH_ISA_SPEC) \ - $(GCC_EXTRA_CONFIGURE_FLAGS) \ + $(GCC_EXTRA_CONFIGURE_FLAGS) $(MAKE) -C $(notdir $@) $(MAKE) -C $(notdir $@) install cp -a $(INSTALL_DIR)/$(LINUX_TUPLE)/lib* $(SYSROOT) @@ -871,7 +873,7 @@ stamps/build-pk32: $(PK_SRCDIR) $(PK_SRC_GIT) stamps/build-gcc-newlib-stage2 cd $(notdir $@) && $-;- e.g: + --with-extra-multilib-test="rv64gcv-lp64;rv64gcv_zba-lp64" --with-cmodel Select the code model to use when building libc and libgcc [--with-cmodel=medlow] --with-target-cflags Add extra target flags for C for library code @@ -3303,10 +3308,17 @@ if test "${enable_debug_info+set}" = set; then : enableval=$enable_debug_info; enable_debug_info=yes else enable_debug_info=no - enableval=$enable_debug_info; disable_debug_info=yes + fi +if test "x$enable_debug_info" != xyes; then : + disable_debug_info=yes +else + disable_debug_info=no + +fi + if test "x$enable_debug_info" != xyes; then : debug_info="" @@ -3417,6 +3429,16 @@ else fi + +# Check whether --with-extra-multilib-test was given. +if test "${with_extra_multilib_test+set}" = set; then : + withval=$with_extra_multilib_test; +else + with_extra_multilib_test=no + +fi + + if test "x$with_multilib_generator" != xno; then : multilib_gen="$with_multilib_generator" @@ -3425,6 +3447,13 @@ else fi +if test "x$with_extra_multilib_test" != xno; then : + extra_multilib_test="$with_extra_multilib_test" + +else + extra_multilib_test="" + +fi if test "x$enable_multilib" != xno || test "x$with_multilib_generator" != xno; then : multilib_flags=--enable-multilib @@ -3788,25 +3817,6 @@ fi } { -# Check whether --with-dejagnu-src was given. -if test "${with_dejagnu_src+set}" = set; then : - withval=$with_dejagnu_src; -else - with_dejagnu_src=default - -fi - - if test "x$with_dejagnu_src" != xdefault; then : - with_dejagnu_src=$with_dejagnu_src - -else - with_dejagnu_src="\$(srcdir)/dejagnu" - -fi - - } -{ - # Check whether --with-dejagnu-src was given. if test "${with_dejagnu_src+set}" = set; then : withval=$with_dejagnu_src; diff --git a/configure.ac b/configure.ac index 9e70bb2f5fe..1756fde11d6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,4 @@ +## Process this file with autoconf 2.69. Other versions may not work. AC_INIT(riscv-toolchain, 1.0) AC_PROG_CC @@ -58,8 +59,6 @@ AC_ARG_ENABLE(debug_info, ) AS_IF([test "x$enable_debug_info" != xyes], - [AS_HELP_STRING([--disable-debug-info], - [build glibc and musl without debug infromation])], [disable_debug_info=yes], [disable_debug_info=no] ) @@ -135,10 +134,20 @@ AC_ARG_WITH(multilib-generator, [with_multilib_generator=no] ) +AC_ARG_WITH(extra-multilib-test, + [AS_HELP_STRING([--with-extra-multilib-test], + [Adding extra multi-libs configuration for testing, this can be use even --disable-multilib, but be aware user need to make sure those extra multilib set can work/compatible with existing multi-libs, format: -;- e.g: --with-extra-multilib-test="rv64gcv-lp64;rv64gcv_zba-lp64"])], + [], + [with_extra_multilib_test=no] + ) + AS_IF([test "x$with_multilib_generator" != xno], [AC_SUBST(multilib_gen,"$with_multilib_generator")], [AC_SUBST(multilib_gen,"")]) +AS_IF([test "x$with_extra_multilib_test" != xno], + [AC_SUBST(extra_multilib_test,"$with_extra_multilib_test")], + [AC_SUBST(extra_multilib_test,"")]) AS_IF([test "x$enable_multilib" != xno || test "x$with_multilib_generator" != xno], [AC_SUBST(multilib_flags,--enable-multilib)], diff --git a/gcc b/gcc index 2ee5e430018..c891d8dc23e 160000 --- a/gcc +++ b/gcc @@ -1 +1 @@ -Subproject commit 2ee5e4300186a92ad73f1a1a64cb918dc76c8d67 +Subproject commit c891d8dc23e1a46ad9f3e757d09e57b500d40044 diff --git a/gdb b/gdb index e53a8e86856..662243de0e1 160000 --- a/gdb +++ b/gdb @@ -1 +1 @@ -Subproject commit e53a8e8685685c97588f8319d993ea6cd5635e47 +Subproject commit 662243de0e14a4945555a480dca33c0e677976eb diff --git a/newlib b/newlib index 415fdd4279b..9e09d6ed83c 160000 --- a/newlib +++ b/newlib @@ -1 +1 @@ -Subproject commit 415fdd4279b85eeec9d54775ce13c5c412451e08 +Subproject commit 9e09d6ed83cce4777a5950412647ccc603040409 diff --git a/qemu b/qemu index 621da778908..6bb4a8a47a4 160000 --- a/qemu +++ b/qemu @@ -1 +1 @@ -Subproject commit 621da7789083b80d6f1ff1c0fb499334007b4f51 +Subproject commit 6bb4a8a47a43f35a345f107227fcd6abed59e62c diff --git a/scripts/march-to-cpu-opt b/scripts/march-to-cpu-opt index 752cf03135b..493ab1399f6 100755 --- a/scripts/march-to-cpu-opt +++ b/scripts/march-to-cpu-opt @@ -12,7 +12,7 @@ EXT_OPTS = { "zbb": "zbb=true", "zbc": "zbc=true", "zbs": "zbs=true", - "v": "v=true", + "v": "v=true,vext_spec=v1.0", "zve32f": "Zve32f=true", "zve64f": "Zve64f=true", "zfh": "Zfh=true", diff --git a/scripts/testsuite-filter b/scripts/testsuite-filter index 8096d7f719d..3d9fb272b47 100755 --- a/scripts/testsuite-filter +++ b/scripts/testsuite-filter @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function diff --git a/spike b/spike index a0298a33e7b..d1efcdffffe 160000 --- a/spike +++ b/spike @@ -1 +1 @@ -Subproject commit a0298a33e7b2091ba8d9f3a20838d96dc1164cac +Subproject commit d1efcdffffee57bab0fdbd2b377c6132b37556fd diff --git a/test/allowlist/binutils/common.log b/test/allowlist/binutils/common.log index 792d6005489..4c4e56c98ac 100644 --- a/test/allowlist/binutils/common.log +++ b/test/allowlist/binutils/common.log @@ -1 +1,12 @@ # +# Failures look like: +# Error: rv64im_zba_zbb_zcb: unknown prefixed ISA extension `zcb' +# Error: rv32i_zcf: unknown prefixed ISA extension `zcf' +# +FAIL: gas/riscv/march-fail-rv64i_zcf +FAIL: gas/riscv/march-imply-zcd +FAIL: gas/riscv/march-imply-zcf +FAIL: gas/riscv/zca +FAIL: gas/riscv/zcb +FAIL: gas/riscv/zcd +FAIL: gas/riscv/zcf diff --git a/test/allowlist/binutils/glibc.log b/test/allowlist/binutils/glibc.log index c9a2eb3ff9b..792d6005489 100644 --- a/test/allowlist/binutils/glibc.log +++ b/test/allowlist/binutils/glibc.log @@ -1,9 +1 @@ # -# Missing a relaxation to convert PC-relative GOT references to -# local symbols to PC-relative direct references.needs a new -# relaxation and maybe a new relocation to eliminate tprel -# relocations in pie mode. -# -# This is an optimization, not a correctness issue. -# -FAIL: Build pr22263-1 diff --git a/test/allowlist/gcc/common.log b/test/allowlist/gcc/common.log index 51c86972549..3fb3ad547cf 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 4e27b282195..00000000000 --- 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 922ee5f3d55..10303b9d40d 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 4e27b282195..00000000000 --- 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 8a92e068758..00000000000 --- 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 2ab1dbcdd1f..00000000000 --- 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 e2b1413bba9..00000000000 --- 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 47dd4453b2a..37f2c208c85 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 @@ -17,3 +31,20 @@ FAIL: g++.dg/abi/pure-virtual1.C # with `-Wall` # FAIL: g++.dg/warn/Wstringop-overflow-6.C + +# +# Fixed with https://github.com/gcc-mirror/gcc/commit/fba0f47e4617e164716d3bce587fc6948088e225 +# +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 diff --git a/test/allowlist/gcc/rv64.log b/test/allowlist/gcc/rv64.log deleted file mode 100644 index 6d5300026e5..00000000000 --- a/test/allowlist/gcc/rv64.log +++ /dev/null @@ -1,4 +0,0 @@ -# -# XXX: Need review -# -XPASS: gcc.dg/tree-ssa/ssa-fre-3.c