From f05a075009e7f535d16779ffe2c53ff1f952cd6b Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Sun, 15 Jan 2023 13:51:18 +0100
Subject: [PATCH 001/164] 13.0.0-0.9
---
gcc.spec | 824 +++++++-----------
gcc12-pr107468.patch | 124 ---
...y.patch => gcc13-Wno-format-security.patch | 8 +-
...os.patch => gcc13-d-shared-libphobos.patch | 0
...tch => gcc13-fortran-fdec-duplicates.patch | 0
...=> gcc13-fortran-fdec-non-logical-if.patch | 0
... => gcc13-fortran-fdec-override-kind.patch | 0
...=> gcc13-fortran-flogical-as-integer.patch | 0
gcc12-hack.patch => gcc13-hack.patch | 0
gcc12-isl-dl.patch => gcc13-isl-dl.patch | 6 +-
gcc12-isl-dl2.patch => gcc13-isl-dl2.patch | 0
...atch => gcc13-libgomp-omp_h-multilib.patch | 0
...+-docs.patch => gcc13-libstdc++-docs.patch | 0
...path.patch => gcc13-libtool-no-rpath.patch | 0
...-needed.patch => gcc13-no-add-needed.patch | 0
gcc13-pr107608.patch | 47 +
gcc13-pr107678.patch | 113 +++
gcc13-pr108411.patch | 14 +
...2-rh1574936.patch => gcc13-rh1574936.patch | 0
...atch => gcc13-sparc-config-detection.patch | 10 +-
isl-rh2155127.patch | 85 ++
sources | 2 +-
update-gcc.sh | 2 +-
23 files changed, 579 insertions(+), 656 deletions(-)
delete mode 100644 gcc12-pr107468.patch
rename gcc12-Wno-format-security.patch => gcc13-Wno-format-security.patch (90%)
rename gcc12-d-shared-libphobos.patch => gcc13-d-shared-libphobos.patch (100%)
rename gcc12-fortran-fdec-duplicates.patch => gcc13-fortran-fdec-duplicates.patch (100%)
rename gcc12-fortran-fdec-non-logical-if.patch => gcc13-fortran-fdec-non-logical-if.patch (100%)
rename gcc12-fortran-fdec-override-kind.patch => gcc13-fortran-fdec-override-kind.patch (100%)
rename gcc12-fortran-flogical-as-integer.patch => gcc13-fortran-flogical-as-integer.patch (100%)
rename gcc12-hack.patch => gcc13-hack.patch (100%)
rename gcc12-isl-dl.patch => gcc13-isl-dl.patch (99%)
rename gcc12-isl-dl2.patch => gcc13-isl-dl2.patch (100%)
rename gcc12-libgomp-omp_h-multilib.patch => gcc13-libgomp-omp_h-multilib.patch (100%)
rename gcc12-libstdc++-docs.patch => gcc13-libstdc++-docs.patch (100%)
rename gcc12-libtool-no-rpath.patch => gcc13-libtool-no-rpath.patch (100%)
rename gcc12-no-add-needed.patch => gcc13-no-add-needed.patch (100%)
create mode 100644 gcc13-pr107608.patch
create mode 100644 gcc13-pr107678.patch
create mode 100644 gcc13-pr108411.patch
rename gcc12-rh1574936.patch => gcc13-rh1574936.patch (100%)
rename gcc12-sparc-config-detection.patch => gcc13-sparc-config-detection.patch (77%)
create mode 100644 isl-rh2155127.patch
diff --git a/gcc.spec b/gcc.spec
index 4877961..64130fc 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20221121
-%global gitrev b3f5a0d53b84ed27cf00cfa2b9c3e2c78935c07d
-%global gcc_version 12.2.1
-%global gcc_major 12
+%global DATE 20230115
+%global gitrev 7699a0a3101bf1315fb8e350ac718d1f7b3f7816
+%global gcc_version 13.0.0
+%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 4
+%global gcc_release 0
%global nvptx_tools_gitrev 472b6e78b3ba918d727698f79911360b7c808247
%global newlib_cygwin_gitrev a8526cb52bedabd4d6ba4b227a5185627f871aa1
%global _unpackaged_files_terminate_build 0
@@ -34,6 +34,7 @@
%global build_objc 0
%global build_go 0
%global build_d 0
+%global build_m2 0
%else
%ifarch %{ix86} x86_64 ia64 ppc %{power64} alpha s390x %{arm} aarch64 riscv64
%global build_ada 1
@@ -51,6 +52,11 @@
%else
%global build_d 0
%endif
+%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64 %{mips} riscv64
+%global build_m2 1
+%else
+%global build_m2 0
+%endif
%endif
%ifarch %{ix86} x86_64 ia64 ppc64le
%global build_libquadmath 1
@@ -62,6 +68,11 @@
%else
%global build_libasan 0
%endif
+%ifarch x86_64 aarch64
+%global build_libhwasan 1
+%else
+%global build_libhwasan 0
+%endif
%ifarch x86_64 ppc64 ppc64le aarch64 s390x
%global build_libtsan 1
%else
@@ -125,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}%{?dist}
+Release: %{gcc_release}.9%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -264,23 +275,27 @@ Provides: bundled(libbacktrace)
Provides: bundled(libffi)
Provides: gcc(major) = %{gcc_major}
-Patch0: gcc12-hack.patch
-Patch2: gcc12-sparc-config-detection.patch
-Patch3: gcc12-libgomp-omp_h-multilib.patch
-Patch4: gcc12-libtool-no-rpath.patch
-Patch5: gcc12-isl-dl.patch
-Patch6: gcc12-isl-dl2.patch
-Patch7: gcc12-libstdc++-docs.patch
-Patch8: gcc12-no-add-needed.patch
-Patch9: gcc12-Wno-format-security.patch
-Patch10: gcc12-rh1574936.patch
-Patch11: gcc12-d-shared-libphobos.patch
-Patch12: gcc12-pr107468.patch
+Patch0: gcc13-hack.patch
+Patch2: gcc13-sparc-config-detection.patch
+Patch3: gcc13-libgomp-omp_h-multilib.patch
+Patch4: gcc13-libtool-no-rpath.patch
+Patch5: gcc13-isl-dl.patch
+Patch6: gcc13-isl-dl2.patch
+Patch7: gcc13-libstdc++-docs.patch
+Patch8: gcc13-no-add-needed.patch
+Patch9: gcc13-Wno-format-security.patch
+Patch10: gcc13-rh1574936.patch
+Patch11: gcc13-d-shared-libphobos.patch
+Patch12: gcc13-pr107678.patch
+Patch13: gcc13-pr107608.patch
+Patch14: gcc13-pr108411.patch
-Patch100: gcc12-fortran-fdec-duplicates.patch
-Patch101: gcc12-fortran-flogical-as-integer.patch
-Patch102: gcc12-fortran-fdec-override-kind.patch
-Patch103: gcc12-fortran-fdec-non-logical-if.patch
+Patch50: isl-rh2155127.patch
+
+Patch100: gcc13-fortran-fdec-duplicates.patch
+Patch101: gcc13-fortran-flogical-as-integer.patch
+Patch102: gcc13-fortran-fdec-override-kind.patch
+Patch103: gcc13-fortran-fdec-non-logical-if.patch
# On ARM EABI systems, we do want -gnueabi to be part of the
# target triple.
@@ -302,7 +317,7 @@ Patch103: gcc12-fortran-fdec-non-logical-if.patch
%if %{build_go}
# Avoid stripping these libraries and binaries.
%global __os_install_post \
-chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.21.* \
+chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.22.* \
chmod 644 %{buildroot}%{_prefix}/bin/go.gcc \
chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc \
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo \
@@ -310,7 +325,7 @@ chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/test2json \
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/vet \
%__os_install_post \
-chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.21.* \
+chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.22.* \
chmod 755 %{buildroot}%{_prefix}/bin/go.gcc \
chmod 755 %{buildroot}%{_prefix}/bin/gofmt.gcc \
chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo \
@@ -321,11 +336,11 @@ chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}
%endif
%description
-The gcc package contains the GNU Compiler Collection version 12.
+The gcc package contains the GNU Compiler Collection version 13.
You'll need this package in order to compile C code.
%package -n libgcc
-Summary: GCC version 12 shared support library
+Summary: GCC version 13 shared support library
Autoreq: false
%if !%{build_ada}
Obsoletes: libgnat < %{version}-%{release}
@@ -365,6 +380,7 @@ including templates and exception handling.
Summary: GNU Standard C++ Library
Autoreq: true
Requires: glibc >= 2.10.90-7
+Requires: tzdata >= 2017c
%description -n libstdc++
The libstdc++ package contains a rewritten standard compliant GCC Standard
@@ -489,6 +505,34 @@ Requires: gcc-gdc = %{version}-%{release}
%description -n libgphobos-static
This package contains static D libraries.
+%package gm2
+Summary: Modula-2 support
+Requires: gcc = %{version}-%{release}
+Requires: libgm2 = %{version}-%{release}
+Provides: gcc-m2 = %{version}-%{release}
+Provides: gm2 = %{version}-%{release}
+Autoreq: true
+
+%description gm2
+The gcc-gm2 package provides support for compiling Modula-2
+programs with the GNU Compiler Collection.
+
+%package -n libgm2
+Summary: Modula-2 runtime
+Autoreq: true
+
+%description -n libgm2
+This package contains Modula-2 shared libraries which are needed to run
+Modula-2 dynamically linked programs.
+
+%package -n libgm2-static
+Summary: Static Modula-2 libraries
+Requires: libgm2 = %{version}-%{release}
+Requires: gcc-gm2 = %{version}-%{release}
+
+%description -n libgm2-static
+This package contains static Modula-2 libraries.
+
%package -n libgomp
Summary: GCC OpenMP v4.5 shared support library
@@ -607,6 +651,21 @@ Requires: libasan = %{version}-%{release}
%description -n libasan-static
This package contains Address Sanitizer static runtime library.
+%package -n libhwasan
+Summary: The Hardware-assisted Address Sanitizer runtime library
+
+%description -n libhwasan
+This package contains the Hardware-assisted Address Sanitizer library
+which is used for -fsanitize=hwaddress instrumented programs.
+
+%package -n libhwasan-static
+Summary: The Hardware-assisted Address Sanitizer static library
+Requires: libhwasan = %{version}-%{release}
+
+%description -n libhwasan-static
+This package contains Hardware-assisted Address Sanitizer static runtime
+library.
+
%package -n libtsan
Summary: The Thread Sanitizer runtime library
@@ -803,7 +862,12 @@ so that there cannot be any synchronization problems.
%patch10 -p0 -b .rh1574936~
%endif
%patch11 -p0 -b .d-shared-libphobos~
-%patch12 -p0 -b .pr107468~
+%patch12 -p0 -b .pr107678~
+%patch13 -p0 -b .pr107608~
+%patch14 -p0 -b .pr108411~
+
+%patch50 -p0 -b .rh2155127~
+touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
%if 0%{?rhel} >= 9
%patch100 -p1 -b .fortran-fdec-duplicates~
@@ -856,11 +920,13 @@ export CONFIG_SITE=NONE
CC=gcc
CXX=g++
-OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`
+OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[123]//g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/\(-Wp,\)\?-U_FORTIFY_SOURCE//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-flto=auto//g;s/-flto//g;s/-ffat-lto-objects//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-fno-omit-frame-pointer //g;s/-mbackchain //g;s/-mno-omit-leaf-frame-pointer //g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Werror=format-security/-Wformat-security/g'`
%ifarch sparc
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g;s/-mcpu=v[78]//g'`
@@ -923,7 +989,7 @@ ISL_FLAG_PIC=-fPIC
ISL_FLAG_PIC=-fpic
%endif
cd isl-build
-sed -i 's|libisl\([^-]\)|libgcc12privateisl\1|g' \
+sed -i 's|libisl\([^-]\)|libgcc13privateisl\1|g' \
../../isl-%{isl_version}/Makefile.{am,in}
../../isl-%{isl_version}/configure \
CC=/usr/bin/gcc CXX=/usr/bin/g++ \
@@ -931,8 +997,8 @@ sed -i 's|libisl\([^-]\)|libgcc12privateisl\1|g' \
make %{?_smp_mflags}
make install
cd ../isl-install/lib
-rm libgcc12privateisl.so{,.23}
-mv libgcc12privateisl.so.23.1.0 libisl.so.23
+rm libgcc13privateisl.so{,.23}
+mv libgcc13privateisl.so.23.1.0 libisl.so.23
ln -sf libisl.so.23 libisl.so
cd ../..
%endif
@@ -953,6 +1019,9 @@ enablelgo=,go
%if %{build_d}
enableld=,d
%endif
+%if %{build_m2}
+enablelm2=,m2
+%endif
CONFIGURE_OPTS="\
--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
--with-bugurl=http://bugzilla.redhat.com/bugzilla \
@@ -975,7 +1044,7 @@ CONFIGURE_OPTS="\
%endif
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
--enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only \
- --enable-libstdcxx-backtrace \
+ --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=%{_datadir}/zoneinfo \
%ifnarch %{mips}
--with-linker-hash-style=gnu \
%endif
@@ -1107,7 +1176,7 @@ CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \
| sed 's/ -Wformat-security / -Wformat -Wformat-security /'`" \
XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" \
../configure --enable-bootstrap \
- --enable-languages=c,c++,fortran${enablelobjc}${enablelada}${enablelgo}${enableld},lto \
+ --enable-languages=c,c++,fortran${enablelobjc}${enablelada}${enablelgo}${enableld}${enablelm2},lto \
$CONFIGURE_OPTS
%ifarch sparc sparcv9 sparc64
@@ -1163,7 +1232,7 @@ cd ../..
# Copy various doc files here and there
cd ..
-mkdir -p rpm.doc/gfortran rpm.doc/objc rpm.doc/gdc rpm.doc/libphobos
+mkdir -p rpm.doc/{gfortran,objc,gdc,libphobos,gm2,libgm2}
mkdir -p rpm.doc/go rpm.doc/libgo rpm.doc/libquadmath rpm.doc/libitm
mkdir -p rpm.doc/changelogs/{gcc/cp,gcc/ada,gcc/jit,libstdc++-v3,libobjc,libgomp,libcc1,libatomic,libsanitizer}
@@ -1191,6 +1260,14 @@ done)
done
cp -a src/LICENSE*.txt libdruntime/LICENSE.txt ../rpm.doc/libphobos/)
%endif
+%if %{build_m2}
+(cd gcc/m2; for i in ChangeLog*; do
+ cp -p $i ../../rpm.doc/gm2/$i.gm2
+done)
+(cd libgm2; for i in ChangeLog*; do
+ cp -p $i ../rpm.doc/libgm2/$i.libgm2
+done)
+%endif
%if %{build_libquadmath}
(cd libquadmath; for i in ChangeLog* COPYING.LIB; do
cp -p $i ../rpm.doc/libquadmath/$i.libquadmath
@@ -1488,14 +1565,19 @@ ln -sf ../../../libstdc++.so.6.*[0-9] libstdc++.so
ln -sf ../../../libgfortran.so.5.* libgfortran.so
ln -sf ../../../libgomp.so.1.* libgomp.so
%if %{build_go}
-ln -sf ../../../libgo.so.21.* libgo.so
+ln -sf ../../../libgo.so.22.* libgo.so
%endif
%if %{build_libquadmath}
ln -sf ../../../libquadmath.so.0.* libquadmath.so
%endif
%if %{build_d}
-ln -sf ../../../libgdruntime.so.3.* libgdruntime.so
-ln -sf ../../../libgphobos.so.3.* libgphobos.so
+ln -sf ../../../libgdruntime.so.4.* libgdruntime.so
+ln -sf ../../../libgphobos.so.4.* libgphobos.so
+%endif
+%if %{build_m2}
+for i in cor iso log min pim; do
+ ln -sf ../../../libm2$i.so.18.* libm2$i.so
+done
%endif
%if %{build_libitm}
ln -sf ../../../libitm.so.1.* libitm.so
@@ -1518,14 +1600,19 @@ ln -sf ../../../../%{_lib}/libstdc++.so.6.*[0-9] libstdc++.so
ln -sf ../../../../%{_lib}/libgfortran.so.5.* libgfortran.so
ln -sf ../../../../%{_lib}/libgomp.so.1.* libgomp.so
%if %{build_go}
-ln -sf ../../../../%{_lib}/libgo.so.21.* libgo.so
+ln -sf ../../../../%{_lib}/libgo.so.22.* libgo.so
%endif
%if %{build_libquadmath}
ln -sf ../../../../%{_lib}/libquadmath.so.0.* libquadmath.so
%endif
%if %{build_d}
-ln -sf ../../../../%{_lib}/libgdruntime.so.3.* libgdruntime.so
-ln -sf ../../../../%{_lib}/libgphobos.so.3.* libgphobos.so
+ln -sf ../../../../%{_lib}/libgdruntime.so.4.* libgdruntime.so
+ln -sf ../../../../%{_lib}/libgphobos.so.4.* libgphobos.so
+%endif
+%if %{build_m2}
+for i in cor iso log min pim; do
+ ln -sf ../../../../%{_lib}/libm2$i.so.18.* libm2$i.so
+done
%endif
%if %{build_libitm}
ln -sf ../../../../%{_lib}/libitm.so.1.* libitm.so
@@ -1545,6 +1632,11 @@ rm -f libtsan.so
echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/libtsan.so.2.* | sed 's,^.*libt,libt,'`' )' > libtsan.so
mv ../../../../%{_lib}/libtsan_preinit.o libtsan_preinit.o
%endif
+%if %{build_libhwasan}
+rm -f libhwasan.so
+echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/libhwasan.so.0.* | sed 's,^.*libh,libh,'`' )' > libhwasan.so
+mv ../../../../%{_lib}/libhwasan_preinit.o libhwasan_preinit.o
+%endif
%if %{build_liblsan}
rm -f liblsan.so
echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/liblsan.so.0.* | sed 's,^.*libl,libl,'`' )' > liblsan.so
@@ -1553,6 +1645,7 @@ mv ../../../../%{_lib}/liblsan_preinit.o liblsan_preinit.o
fi
mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++.*a $FULLLPATH/
mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++fs.*a $FULLLPATH/
+mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++exp.*a $FULLLPATH/
mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++_libbacktrace.*a $FULLLPATH/
mv -f %{buildroot}%{_prefix}/%{_lib}/libsupc++.*a $FULLLPATH/
mv -f %{buildroot}%{_prefix}/%{_lib}/libgfortran.*a $FULLLPATH/
@@ -1567,6 +1660,14 @@ mv -f %{buildroot}%{_prefix}/%{_lib}/libquadmath.*a $FULLLPATH/
mv -f %{buildroot}%{_prefix}/%{_lib}/libgdruntime.*a $FULLLPATH/
mv -f %{buildroot}%{_prefix}/%{_lib}/libgphobos.*a $FULLLPATH/
%endif
+%if %{build_m2}
+for i in cor iso log min pim; do
+ mv -f %{buildroot}%{_prefix}/%{_lib}/libm2$i.*a $FULLLPATH/
+ rm -f m2/m2$i/*.{a,la}
+ ln -sf ../../libm2$i.so m2/m2$i/
+ ln -sf ../../libm2$i.a m2/m2$i/
+done
+%endif
%if %{build_libitm}
mv -f %{buildroot}%{_prefix}/%{_lib}/libitm.*a $FULLLPATH/
%endif
@@ -1582,6 +1683,9 @@ mv -f %{buildroot}%{_prefix}/%{_lib}/libubsan.*a $FULLLPATH/
%if %{build_libtsan}
mv -f %{buildroot}%{_prefix}/%{_lib}/libtsan.*a $FULLPATH/
%endif
+%if %{build_libhwasan}
+mv -f %{buildroot}%{_prefix}/%{_lib}/libhwasan.*a $FULLPATH/
+%endif
%if %{build_liblsan}
mv -f %{buildroot}%{_prefix}/%{_lib}/liblsan.*a $FULLPATH/
%endif
@@ -1639,8 +1743,8 @@ ln -sf ../`echo ../../../../lib/libgfortran.so.5.* | sed s~/lib/~/lib64/~` 64/li
ln -sf ../`echo ../../../../lib/libgomp.so.1.* | sed s~/lib/~/lib64/~` 64/libgomp.so
%if %{build_go}
rm -f libgo.so
-echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgo.so.21.* | sed 's,^.*libg,libg,'`' )' > libgo.so
-echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgo.so.21.* | sed 's,^.*libg,libg,'`' )' > 64/libgo.so
+echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgo.so.22.* | sed 's,^.*libg,libg,'`' )' > libgo.so
+echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgo.so.22.* | sed 's,^.*libg,libg,'`' )' > 64/libgo.so
%endif
%if %{build_libquadmath}
rm -f libquadmath.so
@@ -1649,10 +1753,20 @@ echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libquadmath.so.0.* | sed '
%endif
%if %{build_d}
rm -f libgdruntime.so libgphobos.so
-echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgdruntime.so.3.* | sed 's,^.*libg,libg,'`' )' > libgdruntime.so
-echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgdruntime.so.3.* | sed 's,^.*libg,libg,'`' )' > 64/libgdruntime.so
-echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgphobos.so.3.* | sed 's,^.*libg,libg,'`' )' > libgphobos.so
-echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgphobos.so.3.* | sed 's,^.*libg,libg,'`' )' > 64/libgphobos.so
+echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgdruntime.so.4.* | sed 's,^.*libg,libg,'`' )' > libgdruntime.so
+echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgdruntime.so.4.* | sed 's,^.*libg,libg,'`' )' > 64/libgdruntime.so
+echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgphobos.so.4.* | sed 's,^.*libg,libg,'`' )' > libgphobos.so
+echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgphobos.so.4.* | sed 's,^.*libg,libg,'`' )' > 64/libgphobos.so
+%endif
+%if %{build_m2}
+for i in cor iso log min pim; do
+ rm -f libm2$i.so
+ echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libm2$i.so.18.* | sed 's,^.*libm,libm,'`' )' > libm2$i.so
+ echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libm2$i.so.18.* | sed 's,^.*libm,libm,'`' )' > 64/libm2$i.so
+ rm -f 64/m2/m2$i/*.{a,la}
+ ln -sf ../../libm2$i.so 64/m2/m2$i/
+ ln -sf ../../libm2$i.a 64/m2/m2$i/
+done
%endif
%if %{build_libitm}
rm -f libitm.so
@@ -1685,6 +1799,8 @@ ln -sf lib32/libstdc++.a libstdc++.a
ln -sf ../lib64/libstdc++.a 64/libstdc++.a
ln -sf lib32/libstdc++fs.a libstdc++fs.a
ln -sf ../lib64/libstdc++fs.a 64/libstdc++fs.a
+ln -sf lib32/libstdc++exp.a libstdc++exp.a
+ln -sf ../lib64/libstdc++exp.a 64/libstdc++exp.a
ln -sf lib32/libstdc++_libbacktrace.a libstdc++_libbacktrace.a
ln -sf ../lib64/libstdc++_libbacktrace.a 64/libstdc++_libbacktrace.a
ln -sf lib32/libsupc++.a libsupc++.a
@@ -1699,6 +1815,12 @@ ln -sf ../lib64/libgdruntime.a 64/libgdruntime.a
ln -sf lib32/libgphobos.a libgphobos.a
ln -sf ../lib64/libgphobos.a 64/libgphobos.a
%endif
+%if %{build_m2}
+for i in cor iso log min pim; do
+ ln -sf lib32/libm2$i.a libm2$i.a
+ ln -sf ../lib64/libm2$i.a 64/libm2$i.a
+done
+%endif
%if %{build_libitm}
ln -sf lib32/libitm.a libitm.a
ln -sf ../lib64/libitm.a 64/libitm.a
@@ -1740,8 +1862,8 @@ ln -sf ../`echo ../../../../lib64/libgfortran.so.5.* | sed s~/../lib64/~/~` 32/l
ln -sf ../`echo ../../../../lib64/libgomp.so.1.* | sed s~/../lib64/~/~` 32/libgomp.so
%if %{build_go}
rm -f libgo.so
-echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgo.so.21.* | sed 's,^.*libg,libg,'`' )' > libgo.so
-echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgo.so.21.* | sed 's,^.*libg,libg,'`' )' > 32/libgo.so
+echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgo.so.22.* | sed 's,^.*libg,libg,'`' )' > libgo.so
+echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgo.so.22.* | sed 's,^.*libg,libg,'`' )' > 32/libgo.so
%endif
%if %{build_libquadmath}
rm -f libquadmath.so
@@ -1750,10 +1872,20 @@ echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libquadmath.so.0.* | sed '
%endif
%if %{build_d}
rm -f libgdruntime.so libgphobos.so
-echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgdruntime.so.3.* | sed 's,^.*libg,libg,'`' )' > libgdruntime.so
-echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgdruntime.so.3.* | sed 's,^.*libg,libg,'`' )' > 32/libgdruntime.so
-echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgphobos.so.3.* | sed 's,^.*libg,libg,'`' )' > libgphobos.so
-echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgphobos.so.3.* | sed 's,^.*libg,libg,'`' )' > 32/libgphobos.so
+echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgdruntime.so.4.* | sed 's,^.*libg,libg,'`' )' > libgdruntime.so
+echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgdruntime.so.4.* | sed 's,^.*libg,libg,'`' )' > 32/libgdruntime.so
+echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgphobos.so.4.* | sed 's,^.*libg,libg,'`' )' > libgphobos.so
+echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgphobos.so.4.* | sed 's,^.*libg,libg,'`' )' > 32/libgphobos.so
+%endif
+%if %{build_m2}
+for i in cor iso log min pim; do
+ rm -f libm2$i.so
+ echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libm2$i.so.18.* | sed 's,^.*libm,libm,'`' )' > libm2$i.so
+ echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libm2$i.so.18.* | sed 's,^.*libm,libm,'`' )' > 32/libm2$i.so
+ rm -f 32/m2/m2$i/*.{a,la}
+ ln -sf ../../libm2$i.so 32/m2/m2$i/
+ ln -sf ../../libm2$i.a 32/m2/m2$i/
+done
%endif
%if %{build_libitm}
rm -f libitm.so
@@ -1788,6 +1920,8 @@ ln -sf ../lib32/libstdc++.a 32/libstdc++.a
ln -sf lib64/libstdc++.a libstdc++.a
ln -sf ../lib32/libstdc++fs.a 32/libstdc++fs.a
ln -sf lib64/libstdc++fs.a libstdc++fs.a
+ln -sf ../lib32/libstdc++exp.a 32/libstdc++exp.a
+ln -sf lib64/libstdc++exp.a libstdc++exp.a
ln -sf ../lib32/libstdc++_libbacktrace.a 32/libstdc++_libbacktrace.a
ln -sf lib64/libstdc++_libbacktrace.a libstdc++_libbacktrace.a
ln -sf ../lib32/libsupc++.a 32/libsupc++.a
@@ -1802,6 +1936,12 @@ ln -sf lib64/libgdruntime.a libgdruntime.a
ln -sf ../lib32/libgphobos.a 32/libgphobos.a
ln -sf lib64/libgphobos.a libgphobos.a
%endif
+%if %{build_m2}
+for i in cor iso log min pim; do
+ ln -sf ../lib32/libm2$i.a 32/libm2$i.a
+ ln -sf lib64/libm2$i.a libm2$i.a
+done
+%endif
%if %{build_libitm}
ln -sf ../lib32/libitm.a 32/libitm.a
ln -sf lib64/libitm.a libitm.a
@@ -1837,6 +1977,7 @@ ln -sf lib64/adalib adalib
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libgfortran.a 32/libgfortran.a
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libstdc++.a 32/libstdc++.a
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libstdc++fs.a 32/libstdc++fs.a
+ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libstdc++exp.a 32/libstdc++exp.a
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libstdc++_libbacktrace.a 32/libstdc++_libbacktrace.a
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libsupc++.a 32/libsupc++.a
%if %{build_libquadmath}
@@ -1846,6 +1987,11 @@ ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libqua
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libgdruntime.a 32/libgdruntime.a
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libgphobos.a 32/libgphobos.a
%endif
+%if %{build_m2}
+for i in cor iso log min pim; do
+ ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libm2$i.a 32/libm2$i.a
+done
+%endif
%if %{build_libitm}
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libitm.a 32/libitm.a
%endif
@@ -1884,8 +2030,9 @@ for d in . $FULLLSUBDIR; do
-o -name libgolibbegin.a -o -name libgomp.a \
-o -name libitm.a -o -name liblsan.a \
-o -name libobjc.a -o -name libgdruntime.a -o -name libgphobos.a \
- -o -name libquadmath.a -o -name libstdc++.a \
- -o -name libstdc++fs.a -o -name libstdc++_libbacktrace.a -o -name libsupc++.a \
+ -o -name libm2\*.a -o -name libquadmath.a -o -name libstdc++.a \
+ -o -name libstdc++fs.a -o -name libstdc++exp.a \
+ -o -name libstdc++_libbacktrace.a -o -name libsupc++.a \
-o -name libtsan.a -o -name libubsan.a \) -a -type f`; do
cp -a $f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/$d/
done
@@ -1895,7 +2042,7 @@ done
# Strip debug info from Fortran/ObjC/Java static libraries
strip -g `find . \( -name libgfortran.a -o -name libobjc.a -o -name libgomp.a \
-o -name libgcc.a -o -name libgcov.a -o -name libquadmath.a \
- -o -name libgdruntime.a -o -name libgphobos.a \
+ -o -name libgdruntime.a -o -name libgphobos.a -o -name libm2\*.a \
-o -name libitm.a -o -name libgo.a -o -name libcaf\*.a \
-o -name libatomic.a -o -name libasan.a -o -name libtsan.a \
-o -name libubsan.a -o -name liblsan.a -o -name libcc1.a \) \
@@ -1908,8 +2055,13 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libcc1.so.0.*
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libquadmath.so.0.*
%endif
%if %{build_d}
-chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgdruntime.so.3.*
-chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgphobos.so.3.*
+chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgdruntime.so.4.*
+chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgphobos.so.4.*
+%endif
+%if %{build_m2}
+for i in cor iso log min pim; do
+ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libm2$i.so.18.*
+done
%endif
%if %{build_libitm}
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libitm.so.1.*
@@ -1926,12 +2078,15 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libubsan.so.1.*
%if %{build_libtsan}
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.2.*
%endif
+%if %{build_libhwasan}
+chmod 755 %{buildroot}%{_prefix}/%{_lib}/libhwasan.so.0.*
+%endif
%if %{build_liblsan}
chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.*
%endif
%if %{build_go}
# Avoid stripping these libraries and binaries.
-chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.21.*
+chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.22.*
chmod 644 %{buildroot}%{_prefix}/bin/go.gcc
chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo
@@ -1948,8 +2103,6 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgnarl*so*
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgnat*so*
%endif
-mv $FULLPATH/include-fixed/syslimits.h $FULLPATH/include/syslimits.h
-mv $FULLPATH/include-fixed/limits.h $FULLPATH/include/limits.h
for h in `find $FULLPATH/include -name \*.h`; do
if grep -q 'It has been auto-edited by fixincludes from' $h; then
rh=`grep -A2 'It has been auto-edited by fixincludes from' $h | tail -1 | sed 's|^.*"\(.*\)".*$|\1|'`
@@ -2002,6 +2155,7 @@ rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gcc-ar || :
rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gcc-nm || :
rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gcc-ranlib || :
rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gdc || :
+rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gm2 || :
%ifarch %{multilib_64_archs}
# Remove libraries for the other arch on multilib arches
@@ -2141,6 +2295,8 @@ end
%ldconfig_scriptlets -n libgphobos
+%ldconfig_scriptlets -n libgm2
+
%ldconfig_scriptlets -n libgnat
%ldconfig_scriptlets -n libgomp
@@ -2322,6 +2478,13 @@ end
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/mwaitintrin.h
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512fp16intrin.h
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512fp16vlintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avxifmaintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avxvnniint8intrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avxneconvertintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/cmpccxaddintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/amxfp16intrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/prfchiintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/raointintrin.h
%endif
%ifarch ia64
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/ia64intrin.h
@@ -2497,6 +2660,10 @@ end
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libtsan.so
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libtsan_preinit.o
%endif
+%if %{build_libhwasan}
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libhwasan.so
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libhwasan_preinit.o
+%endif
%if %{build_liblsan}
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/liblsan.so
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/liblsan_preinit.o
@@ -2540,6 +2707,7 @@ end
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++.so
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++exp.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++_libbacktrace.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libsupc++.a
%endif
@@ -2548,6 +2716,7 @@ end
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++.so
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++exp.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++_libbacktrace.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libsupc++.a
%endif
@@ -2557,6 +2726,7 @@ end
%ifarch sparcv9 sparc64 ppc ppc64 ppc64p7
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++exp.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++_libbacktrace.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libsupc++.a
%endif
@@ -2590,15 +2760,18 @@ end
%ifarch sparcv9 ppc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32/libstdc++exp.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32/libstdc++_libbacktrace.a
%endif
%ifarch sparc64 ppc64 ppc64p7
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64/libstdc++exp.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64/libstdc++_libbacktrace.a
%endif
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++exp.a
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++_libbacktrace.a
%endif
%doc rpm.doc/changelogs/libstdc++-v3/ChangeLog* libstdc++-v3/README*
@@ -2770,8 +2943,8 @@ end
%doc rpm.doc/gdc/*
%files -n libgphobos
-%{_prefix}/%{_lib}/libgdruntime.so.3*
-%{_prefix}/%{_lib}/libgphobos.so.3*
+%{_prefix}/%{_lib}/libgdruntime.so.4*
+%{_prefix}/%{_lib}/libgphobos.so.4*
%doc rpm.doc/libphobos/*
%files -n libgphobos-static
@@ -2794,6 +2967,59 @@ end
%endif
%endif
+%if %{build_m2}
+%files gm2
+%{_prefix}/bin/gm2
+%{_mandir}/man1/gm2.1*
+%dir %{_prefix}/lib/gcc
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}
+%dir %{_prefix}/libexec/gcc
+%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
+%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/plugin
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/m2
+%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cc1gm2
+%ifarch sparcv9 sparc64 ppc ppc64 ppc64p7
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libm2*.a
+%endif
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libm2*.so
+%ifarch sparcv9 ppc
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/m2
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libm2*.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libm2*.so
+%endif
+%ifarch %{multilib_64_archs}
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/m2
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libm2*.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libm2*.so
+%endif
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/plugin/m2rte.so
+%doc rpm.doc/gm2/*
+
+%files -n libgm2
+%{_prefix}/%{_lib}/libm2*.so.18*
+%doc rpm.doc/libgm2/*
+
+%files -n libgm2-static
+%dir %{_prefix}/lib/gcc
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}
+%ifarch sparcv9 ppc
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32/libm2*.a
+%endif
+%ifarch sparc64 ppc64 ppc64p7
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64/libm2*.a
+%endif
+%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libm2*.a
+%endif
+%endif
+
%if %{build_ada}
%files gnat
%{_prefix}/bin/gnat
@@ -3036,6 +3262,20 @@ end
%license libsanitizer/LICENSE.TXT
%endif
+%if %{build_libhwasan}
+%files -n libhwasan
+%{_prefix}/%{_lib}/libhwasan.so.0*
+
+%files -n libhwasan-static
+%dir %{_prefix}/lib/gcc
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libhwasan.a
+%doc rpm.doc/changelogs/libsanitizer/ChangeLog*
+%{!?_licensedir:%global license %%doc}
+%license libsanitizer/LICENSE.TXT
+%endif
+
%if %{build_liblsan}
%files -n liblsan
%{_prefix}/%{_lib}/liblsan.so.0*
@@ -3096,7 +3336,7 @@ end
%doc rpm.doc/go/*
%files -n libgo
-%attr(755,root,root) %{_prefix}/%{_lib}/libgo.so.21*
+%attr(755,root,root) %{_prefix}/%{_lib}/libgo.so.22*
%doc rpm.doc/libgo/*
%files -n libgo-devel
@@ -3215,461 +3455,5 @@ end
%endif
%changelog
-* Mon Nov 21 2022 Jakub Jelinek 12.2.1-4
-- update from releases/gcc-12 branch
- - PRs c++/104066, c++/105774, c++/106829, c++/107358, c/41041, c/106981,
- c/107001, libstdc++/95048, libstdc++/103295, target/104688,
- target/107183, target/107304, target/107404, target/107713,
- target/107748, tree-optimization/107121, tree-optimization/107206
-- fix up std::from_chars behavior in rounding modes other than FE_TONEAREST
- (PR libstdc++/107468)
-
-* Thu Nov 3 2022 Jakub Jelinek 12.2.1-3
-- update from releases/gcc-12 branch
- - PRs c++/93259, c++/105774, c++/106759, c++/106829, c++/106893, c++/106925,
- c++/107358, c/106947, c/106981, c/107001, fortran/82868,
- fortran/100029, fortran/100040, fortran/100097, fortran/100098,
- fortran/100103, fortran/100132, fortran/100136, fortran/100245,
- fortran/103413, fortran/103694, fortran/105012, fortran/105633,
- fortran/106566, fortran/106579, fortran/106817, fortran/106857,
- fortran/106985, fortran/106986, fortran/107054, libstdc++/105678,
- libstdc++/106320, libstdc++/106589, libstdc++/106607,
- libstdc++/106695, lto/107418, middle-end/106548, middle-end/106982,
- other/106782, rtl-optimization/106187, target/96072, target/99184,
- target/99685, target/100645, target/101322, target/103353,
- target/104482, target/105421, target/105463, target/105485,
- target/106017, target/106355, target/106459, target/106491,
- target/106524, target/106704, target/106714, target/106721,
- target/107061, target/107064, target/107248, target/107364,
- tree-optimization/102892, tree-optimization/105937,
- tree-optimization/106322, tree-optimization/106809,
- tree-optimization/106841, tree-optimization/106860,
- tree-optimization/106892, tree-optimization/106922,
- tree-optimization/106934, tree-optimization/107107,
- tree-optimization/107121, tree-optimization/107160,
- tree-optimization/107212, tree-optimization/107254,
- tree-optimization/107323
-
-* Wed Sep 7 2022 Kalev Lember 12.2.1-2
-- enable GDC on aarch64
-
-* Fri Aug 19 2022 Jakub Jelinek 12.2.1-1
-- update from releases/gcc-12 branch
- - GCC 12.2 release
- - PRs c++/67048, c++/106369, c/106016, d/106623, d/106638, lto/106334,
- lto/106540, middle-end/106492, tree-optimization/106513
-- fix an if-conversion wrong-code bug (PR rtl-optimization/106590)
-- implement C++23 P2327R1 - de-deprecating volatile compound operations - as
- a DR
-
-* Wed Aug 10 2022 Jakub Jelinek 12.1.1-4
-- update from releases/gcc-12 branch
- - PRs analyzer/105285, analyzer/106204, analyzer/106225, c++/53164,
- c++/96363, c++/100374, c++/105541, c++/105626, c++/105634, c++/105637,
- c++/105758, c++/105842, c++/105848, c++/105912, c++/106024,
- c++/106102, c++/106230, c++/106311, c++/106361, d/106139, d/106555,
- d/106563, debug/106261, fortran/101330, fortran/103137,
- fortran/103138, fortran/103504, fortran/103693, fortran/104313,
- fortran/105243, fortran/105691, fortran/105813, fortran/105954,
- fortran/106121, libfortran/106079, libstdc++/88881, libstdc++/100823,
- libstdc++/104443, libstdc++/105844, libstdc++/105880,
- libstdc++/105957, libstdc++/105995, libstdc++/106162,
- libstdc++/106248, lto/106129, middle-end/105965, middle-end/106027,
- middle-end/106144, middle-end/106331, middle-end/106449,
- preprocessor/97498, rtl-optimization/105041, rtl-optimization/106032,
- target/103722, target/105459, target/105930, target/105991,
- target/106091, target/106097, target/106122, testsuite/106345,
- tree-optimization/105665, tree-optimization/105860,
- tree-optimization/105946, tree-optimization/105969,
- tree-optimization/105971, tree-optimization/106063,
- tree-optimization/106087, tree-optimization/106112,
- tree-optimization/106114, tree-optimization/106131,
- tree-optimization/106189
-
-* Thu Jun 30 2022 Jakub Jelinek 12.1.1-3
-- fix up libtsan on s390x
-
-* Tue Jun 28 2022 Jakub Jelinek 12.1.1-2
-- update from releases/gcc-12 branch
- - PRs c++/49387, c++/102307, c++/102651, c++/104470, c++/105491, c++/105589,
- c++/105623, c++/105652, c++/105655, c++/105725, c++/105734,
- c++/105756, c++/105761, c++/105779, c++/105795, c++/105852,
- c++/105871, c++/105885, c++/105908, c++/105925, c++/105931,
- c++/105964, c++/106001, c/105635, d/105544, fortran/105230,
- gcov-profile/105535, ipa/100413, ipa/105600, ipa/105639, ipa/105739,
- libgomp/105745, libgomp/106045, libstdc++/104731, libstdc++/105284,
- libstdc++/105671, libstdc++/105681, middle-end/105537,
- middle-end/105604, middle-end/105711, middle-end/105951,
- middle-end/105998, middle-end/106030, other/105527,
- preprocessor/105732, rtl-optimization/105455, rtl-optimization/105559,
- rtl-optimization/105577, sanitizer/105714, sanitizer/105729,
- target/101891, target/104871, target/105162, target/105209,
- target/105292, target/105472, target/105556, target/105599,
- target/105854, target/105879, target/105953, target/105960,
- target/105970, target/105981, target/106096, tree-optimization/103116,
- tree-optimization/105431, tree-optimization/105458,
- tree-optimization/105528, tree-optimization/105562,
- tree-optimization/105618, tree-optimization/105726,
- tree-optimization/105736, tree-optimization/105786,
- tree-optimization/105940
-- enable tsan and lsan on s390x (#2101610)
-- trim RHEL fortran patches
-- fix nvptx build (PRs bootstrap/105551, target/105938)
-
-* Sat May 7 2022 Jakub Jelinek 12.1.1-1
-- update from releases/gcc-12 branch
- - GCC 12.1 release
- - PRs c++/105476, libstdc++/103911, libstdc++/105441, libstdc++/105502,
- middle-end/105376, middle-end/105461, target/102059, testsuite/105433,
- tree-optimization/105394, tree-optimization/105437,
- tree-optimization/105484
-
-* Thu May 5 2022 Stephen Gallagher 12.0.1-0.18
-- fix annobin plugin conditional to build for ELN
-
-* Fri Apr 29 2022 Jakub Jelinek 12.0.1-0.17
-- update from trunk and releases/gcc-12 branch
- - GCC 12.1-rc1
- - PRs analyzer/105252, analyzer/105264, analyzer/105365, analyzer/105366,
- c++/65211, c++/82980, c++/86193, c++/90107, c++/97219, c++/100838,
- c++/101442, c++/101698, c++/102629, c++/102804, c++/102987,
- c++/103868, c++/104051, c++/104624, c++/104646, c++/104996,
- c++/105256, c++/105265, c++/105268, c++/105287, c++/105289,
- c++/105297, c++/105301, c++/105304, c++/105321, c++/105322,
- c++/105353, c++/105386, c++/105398, c++/105425, c++/105426,
- debug/105089, debug/105203, fortran/70673, fortran/78054,
- fortran/102043, fortran/103662, fortran/104717, fortran/105242,
- fortran/105310, fortran/105379, fortran/105381, gcov-profile/105282,
- ipa/103818, ipa/105306, libgomp/105358, libstdc++/93602,
- libstdc++/99290, libstdc++/102994, libstdc++/104858,
- libstdc++/105269, libstdc++/105324, libstdc++/105375,
- libstdc++/105417, lto/105364, lto/105399, middle-end/104492,
- rtl-optimization/105231, rtl-optimization/105314,
- rtl-optimization/105333, sanitizer/105396, target/89125,
- target/103197, target/104676, target/105247, target/105257,
- target/105271, target/105331, target/105334, target/105338,
- target/105339, target/105349, target/105367, testsuite/105266,
- tree-optimization/100810, tree-optimization/103941,
- tree-optimization/104010, tree-optimization/105219,
- tree-optimization/105254, tree-optimization/105276,
- tree-optimization/105312, tree-optimization/105368,
- tree-optimization/105374
-
-* Wed Apr 13 2022 Jakub Jelinek 12.0.1-0.16
-- update from trunk
- - PRs c++/97296, c++/98249, c++/100111, c++/103105, c++/104142, c++/104669,
- c++/105223, c++/105233, c++/105245, jit/104071, jit/104072,
- jit/104073, jit/104293, middle-end/105253, middle-end/105259,
- rtl-optimization/105211, target/95325, target/97348, target/101755,
- target/102146, target/103623, target/104144, target/104894,
- target/105213, target/105214, target/105234, testsuite/105183,
- tree-optimization/104912, tree-optimization/105226,
- tree-optimization/105232, tree-optimization/105235,
- tree-optimization/105250, tree-optimization/105263
-
-* Mon Apr 11 2022 Jakub Jelinek 12.0.1-0.15
-- update from trunk
- - PRs analyzer/102208, analyzer/103892, c++/91618, c++/92385, c++/96604,
- c++/96645, c++/99479, c++/100370, c++/100608, c++/101051, c++/101677,
- c++/101717, c++/101894, c++/103328, c++/103852, c++/104668,
- c++/104702, c++/105110, c++/105143, c++/105186, c++/105187,
- c++/105191, c/105149, c/105151, d/104740, driver/105096,
- fortran/104210, fortran/105138, fortran/105184, ipa/103376,
- ipa/104303, ipa/105166, jit/102824, libstdc++/105031,
- libstdc++/105128, libstdc++/105146, libstdc++/105153,
- libstdc++/105154, middle-end/105140, middle-end/105165,
- rtl-optimization/104985, target/101908, target/102024, target/103147,
- target/104049, target/104253, target/104409, target/104853,
- target/104897, target/104987, target/105002, target/105069,
- target/105123, target/105139, target/105144, target/105147,
- target/105157, target/105197, testsuite/103196, testsuite/105095,
- testsuite/105122, testsuite/105196, tree-optimization/102586,
- tree-optimization/103761, tree-optimization/104639,
- tree-optimization/104645, tree-optimization/105132,
- tree-optimization/105142, tree-optimization/105148,
- tree-optimization/105150, tree-optimization/105163,
- tree-optimization/105173, tree-optimization/105175,
- tree-optimization/105185, tree-optimization/105189,
- tree-optimization/105198, tree-optimization/105218
-- build annobin gcc plugin as part of gcc build into gcc-plugin-annobin
- subpackage
-
-* Sun Apr 3 2022 Jakub Jelinek 12.0.1-0.14
-- update from trunk
- - revert delayed parse DMI change (PR c++/96645)
-- fix up aarch64 make install
-
-* Fri Apr 1 2022 Jakub Jelinek 12.0.1-0.13
-- update from trunk
- - PRs ada/104767, ada/104861, analyzer/95000, analyzer/99771,
- analyzer/103533, analyzer/104308, analyzer/104793, analyzer/104863,
- analyzer/104943, analyzer/104954, analyzer/104955, analyzer/104979,
- analyzer/104997, analyzer/105017, analyzer/105057, analyzer/105074,
- analyzer/105087, c++/39751, c++/58646, c++/59426, c++/65396,
- c++/71637, c++/84964, c++/87820, c++/92918, c++/93280, c++/95999,
- c++/96329, c++/96437, c++/96440, c++/96645, c++/96780, c++/98644,
- c++/99445, c++/100474, c++/101030, c++/101515, c++/101767, c++/102045,
- c++/102071, c++/102123, c++/102137, c++/102489, c++/102538,
- c++/102740, c++/102869, c++/102990, c++/103177, c++/103291,
- c++/103299, c++/103337, c++/103455, c++/103460, c++/103769,
- c++/103943, c++/103968, c++/104008, c++/104108, c++/104284,
- c++/104476, c++/104527, c++/104568, c++/104583, c++/104608,
- c++/104620, c++/104622, c++/104623, c++/104641, c++/104752,
- c++/104806, c++/104823, c++/104846, c++/104847, c++/104944,
- c++/104994, c++/105003, c++/105006, c++/105035, c++/105050,
- c++/105061, c++/105064, c++/105067, c++/105092, c/82283, c/84685,
- c/98198, c/104711, d/103528, d/104911, d/105004, debug/104564,
- debug/104778, fortran/50549, fortran/100892, fortran/103039,
- fortran/103560, fortran/103691, fortran/104126, fortran/104570,
- fortran/104571, fortran/104811, fortran/104849, fortran/104999,
- ipa/102513, ipa/103083, ipa/103171, ipa/104813, jit/63854,
- libgcc/86224, libgomp/105042, libstdc++/92546, libstdc++/103407,
- libstdc++/104242, libstdc++/104859, libstdc++/104866,
- libstdc++/104870, libstdc++/104875, libstdc++/104990,
- libstdc++/105021, libstdc++/105027, lto/102426, middle-end/90115,
- middle-end/98420, middle-end/99578, middle-end/100680,
- middle-end/102330, middle-end/103597, middle-end/104086,
- middle-end/104285, middle-end/104436, middle-end/104774,
- middle-end/104786, middle-end/104869, middle-end/104885,
- middle-end/104892, middle-end/104966, middle-end/104971,
- middle-end/104975, middle-end/105032, middle-end/105049, other/65095,
- other/102664, other/104899, other/105114, rtl-optimization/103775,
- rtl-optimization/104814, rtl-optimization/104961,
- rtl-optimization/104989, rtl-optimization/105028,
- rtl-optimization/105091, sanitizer/105093, target/86722, target/91229,
- target/94680, target/96882, target/99754, target/102125,
- target/102215, target/102772, target/102986, target/103074,
- target/104004, target/104666, target/104688, target/104714,
- target/104762, target/104783, target/104790, target/104815,
- target/104818, target/104829, target/104840, target/104842,
- target/104857, target/104868, target/104882, target/104890,
- target/104898, target/104902, target/104903, target/104910,
- target/104916, target/104923, target/104925, target/104946,
- target/104952, target/104957, target/104963, target/104967,
- target/104974, target/104976, target/104977, target/104978,
- target/104982, target/104998, target/105000, target/105011,
- target/105052, target/105058, target/105066, target/105068,
- testsuite/102841, testsuite/104759, testsuite/105055,
- testsuite/105085, tree-optimization/80334, tree-optimization/84201,
- tree-optimization/90356, tree-optimization/98335,
- tree-optimization/100834, tree-optimization/101895,
- tree-optimization/102008, tree-optimization/102586,
- tree-optimization/102645, tree-optimization/102943,
- tree-optimization/104645, tree-optimization/104755,
- tree-optimization/104851, tree-optimization/104880,
- tree-optimization/104941, tree-optimization/104942,
- tree-optimization/104960, tree-optimization/104970,
- tree-optimization/105012, tree-optimization/105053,
- tree-optimization/105056, tree-optimization/105070,
- tree-optimization/105080, tree-optimization/105094,
- tree-optimization/105109
-
-* Tue Mar 8 2022 Jakub Jelinek 12.0.1-0.12
-- fix up promoted SUBREG handling (#2045160, PR rtl-optimization/104839)
-- fix up check for asm goto (PR rtl-optimization/104777)
-
-* Tue Mar 8 2022 Jakub Jelinek 12.0.1-0.11
-- update from trunk
- - PRs analyzer/101983, fortran/99585, fortran/104430, libstdc++/104807,
- middle-end/104381, target/99297, target/104779, target/104794,
- target/104797, translation/90148, translation/104552,
- tree-optimization/104782, tree-optimization/104825
-- fix build on i686 where gnat1 was hanging (PR target/104838,
- PR target/104781)
-
-* Sun Mar 6 2022 Jakub Jelinek 12.0.1-0.10
-- update from trunk
- - PRs analyzer/103521, analyzer/104434, c++/70077, c++/79493, c++/103443,
- c++/104618, c++/104667, c++/104682, c/104627, c/104633, d/104659,
- d/104736, debug/100541, fortran/84519, fortran/104131, fortran/104573,
- fortran/104619, gcov-profile/104677, ipa/104533, ipa/104648,
- libstdc++/96526, libstdc++/104602, libstdc++/104748, middle-end/80270,
- middle-end/100400, middle-end/102276, middle-end/103836,
- middle-end/103984, middle-end/104061, middle-end/104132,
- middle-end/104133, middle-end/104529, middle-end/104540,
- middle-end/104550, middle-end/104558, middle-end/104679,
- middle-end/104721, middle-end/104757, middle-end/104761,
- middle-end/104784, rtl-optimization/104154, rtl-optimization/104589,
- rtl-optimization/104637, rtl-optimization/104686, target/87496,
- target/88134, target/99555, target/100757, target/101325,
- target/102429, target/103302, target/104121, target/104208,
- target/104489, target/104656, target/104664, target/104674,
- target/104681, target/104698, target/104704, target/104724,
- target/104726, target/104758, testsuite/100407, testsuite/104687,
- testsuite/104725, testsuite/104727, testsuite/104728,
- testsuite/104730, testsuite/104732, testsuite/104791,
- tree-optimization/91384, tree-optimization/101636,
- tree-optimization/103037, tree-optimization/103845,
- tree-optimization/103856, tree-optimization/104601,
- tree-optimization/104644, tree-optimization/104675,
- tree-optimization/104676, tree-optimization/104700,
- tree-optimization/104715, tree-optimization/104716
-- fix constraints on s390x conditional trap (PR target/104775)
-
-* Tue Feb 22 2022 Jakub Jelinek 12.0.1-0.9
-- update from trunk
- - PRs analyzer/104524, analyzer/104560, analyzer/104576, c++/85493,
- c++/90451, c++/94944, c++/95036, c++/104107, c++/104507, c++/104539,
- c++/104565, c/104506, c/104510, c/104531, c/104532, debug/104517,
- debug/104557, fortran/77693, fortran/104211, libstdc++/104542,
- libstdc++/104559, lto/104617, middle-end/104355, middle-end/104522,
- rtl-optimization/104447, rtl-optimization/104498,
- rtl-optimization/104544, sanitizer/102656, target/99708, target/99881,
- target/100056, target/100874, target/103069, target/104253,
- target/104257, target/104335, target/104440, target/104448,
- target/104536, target/104581, target/104598, target/104612,
- testsuite/104146, tree-optimization/96881, tree-optimization/103771,
- tree-optimization/104519, tree-optimization/104526,
- tree-optimization/104543, tree-optimization/104551,
- tree-optimization/104582, tree-optimization/104604
-
-* Mon Feb 14 2022 Jakub Jelinek 12.0.1-0.8
-- update from trunk
- - PRs ada/97504, ada/98724, c/104505, fortran/104228, libstdc++/100912,
- middle-end/104497, tree-optimization/104511, tree-optimization/104528
- - fix handling of return in arm constexpr ctors and on all arches return in
- constexpr dtors (PR c++/104513)
-
-* Sat Feb 12 2022 Jakub Jelinek 12.0.1-0.7
-- update from trunk
- - PRs analyzer/98797, analyzer/101081, analyzer/102052, analyzer/103872,
- analyzer/104274, analyzer/104417, analyzer/104452, c++/80951,
- c++/96242, c++/96876, c++/102204, c++/103706, c++/103752, c++/104033,
- c++/104379, c++/104403, c++/104410, c++/104425, c++/104432,
- c++/104472, c/104427, debug/104407, fortran/66193, fortran/104329,
- libgomp/104385, libstdc++/104442, middle-end/100775,
- middle-end/104402, middle-end/104446, middle-end/104450,
- middle-end/104464, middle-end/104467, middle-end/104496,
- rtl-optimization/104059, rtl-optimization/104153,
- rtl-optimization/104198, rtl-optimization/104400,
- rtl-optimization/104459, sanitizer/104449, target/35513, target/79754,
- target/97005, target/97040, target/100593, target/102140,
- target/103627, target/104117, target/104283, target/104327,
- target/104345, target/104364, target/104441, target/104451,
- target/104453, target/104456, target/104458, target/104462,
- target/104469, target/104474, target/104502, testsuite/104481,
- tree-optimization/102832, tree-optimization/104288,
- tree-optimization/104373, tree-optimization/104420,
- tree-optimization/104445, tree-optimization/104466,
- tree-optimization/104479, tree-optimization/104499
-
-* Sat Feb 5 2022 Jakub Jelinek 12.0.1-0.6
-- update from trunk
- - PRs analyzer/104369, c++/92385, c++/104079, c++/104300, c++/104302,
- debug/104337, debug/104366, fortran/104311, fortran/104328,
- middle-end/90348, middle-end/104092, middle-end/104260,
- rtl-optimization/101885, target/95082, target/100808, target/103686,
- target/104219, target/104362, target/104380, tree-optimization/103641,
- tree-optimization/104119, tree-optimization/104356,
- tree-optimization/104389
-
-* Wed Feb 2 2022 Jakub Jelinek 12.0.1-0.5
-- update from trunk
- - PRs analyzer/104270, c++/101874, c++/102414, c++/102434, c++/103186,
- c++/104291, c++/104294, d/104287, demangler/98886, demangler/99935,
- fortran/104331, libstdc++/101831, libstdc++/104301, lto/104333,
- middle-end/104232, middle-end/104307, middle-end/95115,
- preprocessor/104147, rtl-optimization/101260, target/94372,
- target/100428, target/104189, target/104298, target/104323,
- tree-optimization/95424, tree-optimization/100499,
- tree-optimization/102819, tree-optimization/103169,
- tree-optimization/103514, tree-optimization/104279,
- tree-optimization/104280, tree-optimization/104281
-- fix a VRP bug with 1-3 bit precision types (PR tree-optimization/104334)
-
-* Sat Jan 29 2022 Jakub Jelinek 12.0.1-0.4
-- update from trunk
- - PRs ada/104258, analyzer/104224, analyzer/104247, bootstrap/67102,
- c++/51344, c++/59950, c++/82632, c++/92752, c++/92944, c++/99895,
- c++/100030, c++/100198, c++/100282, c++/101532, c++/101988,
- c++/103057, c++/103341, c++/103678, c++/104206, c++/104225,
- c++/104226, c++/104235, c++/104245, fortran/84784, fortran/103790,
- fortran/104128, fortran/104212, fortran/104227, libfortran/104233,
- libstdc++/100516, libstdc++/104161, libstdc++/104217,
- libstdc++/104259, lto/104237, middle-end/103642, target/103702,
- target/104201, target/104213, target/104239, testsuite/70230,
- tree-optimization/104196, tree-optimization/104203,
- tree-optimization/104263, tree-optimization/104267, web/104254
-- configure with --enable-libstdcxx-backtrace and package
- libstdc++_libbacktrace.a
-
-* Tue Jan 25 2022 Jakub Jelinek 12.0.1-0.3
-- update from trunk
- - PRs ada/103538, analyzer/94362, analyzer/103685, analyzer/104062,
- analyzer/104089, analyzer/104150, analyzer/104159, bootstrap/104135,
- bootstrap/104170, c++/20040, c++/55227, c++/91911, c++/101072,
- c++/101405, c++/101715, c++/102300, c++/102338, c++/103631,
- c++/103672, c++/103681, c++/104025, c++/104055, c++/104084,
- c++/104134, c++/104139, c++/104148, c++/104173, c++/104182,
- c++/104197, c/104115, debug/103874, fortran/102621, fortran/103695,
- fortran/104127, libgcc/104207, libstdc++/87193, libstdc++/104019,
- libstdc++/104032, libstdc++/104099, libstdc++/104101,
- libstdc++/104123, libstdc++/104174, middle-end/100786,
- middle-end/102860, middle-end/104069, middle-end/104076,
- middle-end/104140, other/104176, other/104181, preprocessor/104030,
- rtl-optimization/102478, sanitizer/99673, sanitizer/104158,
- target/64821, target/94193, target/100784, target/102517,
- target/103676, target/103771, target/104090, target/104136,
- target/104188, testsuite/102833, testsuite/103763, testsuite/104021,
- testsuite/104022, testsuite/104109, tree-optimization/100089,
- tree-optimization/100740, tree-optimization/101508,
- tree-optimization/101972, tree-optimization/102087,
- tree-optimization/102131, tree-optimization/103721,
- tree-optimization/103997, tree-optimization/104112,
- tree-optimization/104114, tree-optimization/104152,
- tree-optimization/104156, tree-optimization/104214
- - don't emit C++ mangling aliases for compatibility with GCC 8.1 ppc64le
- IEEE quad long double (PR target/104172)
-- mark IEEE quad long double in DWARF as implicit typedef to _Float128
- (PR debug/104194)
-
-* Tue Jan 18 2022 Jakub Jelinek 12.0.1-0.2
-- update from trunk
- - PRs c++/104007, c++/104074, fortran/103692, ipa/103989, libstdc++/101124,
- libstdc++/104098, middle-end/103163, tree-optimization/103987,
- tree-optimization/104038
-- default to -mabi=ieeelongdouble on ppc64le
-- fix -Wdangling-pointer with -fsanitize=address (PR middle-end/104103)
-- fix -masm=intel (PR target/104104)
-
-* Tue Jan 18 2022 Jakub Jelinek 12.0.1-0.1
-- update from trunk
- - PRs c++/104031, c/63272, fortran/83079, fortran/87711, fortran/97896,
- libstdc++/103650, libstdc++/104080, middle-end/101292, target/103124,
- target/103973, target/104005, testsuite/104035, testsuite/104037,
- tree-optimization/80532, tree-optimization/101941,
- tree-optimization/104064
-
-* Sat Jan 15 2022 Jakub Jelinek 12.0.0-0.5
-- update from trunk
- - PRs ada/104027, analyzer/104029, c++/70417, c++/103705, c++/103991,
- c/104002, fortran/67804, fortran/99256, fortran/103782,
- libfortran/104006, libstdc++/91260, libstdc++/91383, libstdc++/95065,
- libstdc++/103992, middle-end/100280, middle-end/101475,
- middle-end/104026, target/94790, target/98737, target/100637,
- target/103935, target/103941, target/104001, target/104003,
- target/104014, tree-optimization/83072, tree-optimization/83073,
- tree-optimization/96707, tree-optimization/97909,
- tree-optimization/102192, tree-optimization/103989,
- tree-optimization/104009, tree-optimization/104015
-- include rs6000-vecdefines.h on ppc* (#2040825)
-
-* Wed Jan 12 2022 Jakub Jelinek 12.0.0-0.4
-- update from trunk
- - PRs ada/79724, analyzer/102692, analyzer/103940, c++/89074, c++/103480,
- c++/100588, c++/101597, c++/103783, c++/103831, c++/103879,
- c++/103912, c++/103946, c/101537, c/103881, fortran/82207,
- fortran/101762, fortran/103366, fortran/103777, fortran/103789,
- libstdc++/77760, libstdc++/100017, libstdc++/103726, libstdc++/103866,
- libstdc++/103891, libstdc++/103955, middle-end/70090,
- middle-end/101530, rtl-optimization/98782, rtl-optimization/103974,
- target/53652, target/102024, target/102239, target/103465,
- target/103804, target/103861, testsuite/102935, testsuite/103820,
- tree-optimization/76174, tree-optimization/83541,
- tree-optimization/100359, tree-optimization/103551,
- tree-optimization/103821, tree-optimization/103948,
- tree-optimization/103961, tree-optimization/103971,
- tree-optimization/103977, tree-optimization/103990
-
-* Sat Jan 8 2022 Jakub Jelinek 12.0.0-0.3
+* Sun Jan 15 2023 Jakub Jelinek 13.0.0-0.9
- new package
diff --git a/gcc12-pr107468.patch b/gcc12-pr107468.patch
deleted file mode 100644
index 0949b11..0000000
--- a/gcc12-pr107468.patch
+++ /dev/null
@@ -1,124 +0,0 @@
-libstdc++: Update from latest fast_float [PR107468]
-
-The following patch is a cherry-pick from
-https://github.com/fastfloat/fast_float/pull/153
-to restrict fast_float Clinger's fast path to when rounding mode
-is FE_TONEAREST.
-Using std::fegetround showed in benchmarks too slow, so instead
-it uses a check with 2 float additions and comparison to verify
-if rounding is FE_TONEAREST.
-
-2022-11-20 Jakub Jelinek
-
- PR libstdc++/107468
- * src/c++17/fast_float/fast_float.h (detail::rounds_to_nearest): New
- function, taken from https://github.com/fastfloat/fast_float/pull/153.
- (from_chars_advanced): Only use Clinger's fast path if
- detail::rounds_to_nearest().
- * testsuite/20_util/from_chars/pr107468.cc: New test.
-
---- libstdc++-v3/src/c++17/fast_float/fast_float.h.jj 2022-04-28 15:56:18.315632888 +0200
-+++ libstdc++-v3/src/c++17/fast_float/fast_float.h 2022-11-20 18:53:49.570830249 +0100
-@@ -2842,6 +2842,48 @@ from_chars_result parse_infnan(const cha
- return answer;
- }
-
-+/**
-+ * Returns true if the floating-pointing rounding mode is to 'nearest'.
-+ * It is the default on most system. This function is meant to be inexpensive.
-+ * Credit : @mwalcott3
-+ */
-+fastfloat_really_inline bool rounds_to_nearest() noexcept {
-+ // See
-+ // A fast function to check your floating-point rounding mode
-+ // https://lemire.me/blog/2022/11/16/a-fast-function-to-check-your-floating-point-rounding-mode/
-+ //
-+ // This function is meant to be equivalent to :
-+ // prior: #include
-+ // return fegetround() == FE_TONEAREST;
-+ // However, it is expected to be much faster than the fegetround()
-+ // function call.
-+ //
-+ // The volatile keywoard prevents the compiler from computing the function
-+ // at compile-time.
-+ // There might be other ways to prevent compile-time optimizations (e.g., asm).
-+ // The value does not need to be std::numeric_limits::min(), any small
-+ // value so that 1 + x should round to 1 would do (after accounting for excess
-+ // precision, as in 387 instructions).
-+ static volatile float fmin = std::numeric_limits::min();
-+ float fmini = fmin; // we copy it so that it gets loaded at most once.
-+ //
-+ // Explanation:
-+ // Only when fegetround() == FE_TONEAREST do we have that
-+ // fmin + 1.0f == 1.0f - fmin.
-+ //
-+ // FE_UPWARD:
-+ // fmin + 1.0f > 1
-+ // 1.0f - fmin == 1
-+ //
-+ // FE_DOWNWARD or FE_TOWARDZERO:
-+ // fmin + 1.0f == 1
-+ // 1.0f - fmin < 1
-+ //
-+ // Note: This may fail to be accurate if fast-math has been
-+ // enabled, as rounding conventions may not apply.
-+ return (fmini + 1.0f == 1.0f - fmini);
-+}
-+
- } // namespace detail
-
- template
-@@ -2870,7 +2912,7 @@ from_chars_result from_chars_advanced(co
- answer.ec = std::errc(); // be optimistic
- answer.ptr = pns.lastmatch;
- // Next is Clinger's fast path.
-- if (binary_format::min_exponent_fast_path() <= pns.exponent && pns.exponent <= binary_format::max_exponent_fast_path() && pns.mantissa <=binary_format::max_mantissa_fast_path() && !pns.too_many_digits) {
-+ if (binary_format::min_exponent_fast_path() <= pns.exponent && pns.exponent <= binary_format::max_exponent_fast_path() && pns.mantissa <=binary_format::max_mantissa_fast_path() && !pns.too_many_digits && detail::rounds_to_nearest()) {
- value = T(pns.mantissa);
- if (pns.exponent < 0) { value = value / binary_format::exact_power_of_ten(-pns.exponent); }
- else { value = value * binary_format::exact_power_of_ten(pns.exponent); }
---- libstdc++-v3/testsuite/20_util/from_chars/pr107468.cc.jj
-+++ libstdc++-v3/testsuite/20_util/from_chars/pr107468.cc
-@@ -0,0 +1,42 @@
-+// Copyright (C) 2022 Free Software Foundation, Inc.
-+//
-+// This file is part of the GNU ISO C++ Library. This library is free
-+// software; you can redistribute it and/or modify it under the
-+// terms of the GNU General Public License as published by the
-+// Free Software Foundation; either version 3, or (at your option)
-+// any later version.
-+
-+// This library is distributed in the hope that it will be useful,
-+// but WITHOUT ANY WARRANTY; without even the implied warranty of
-+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+// GNU General Public License for more details.
-+
-+// You should have received a copy of the GNU General Public License along
-+// with this library; see the file COPYING3. If not see
-+// .
-+
-+// { dg-do run { target c++17 } }
-+// { dg-add-options ieee }
-+
-+#include
-+#include
-+#include
-+#include
-+
-+int
-+main()
-+{
-+ // FP from_char not available otherwise.
-+#if __cpp_lib_to_chars >= 201611L \
-+ && _GLIBCXX_USE_C99_FENV_TR1 \
-+ && defined(FE_DOWNWARD) \
-+ && defined(_GLIBCXX_FLOAT_IS_IEEE_BINARY32)
-+ // PR libstdc++/107468
-+ float f;
-+ char buf[] = "3.355447e+07";
-+ std::fesetround(FE_DOWNWARD);
-+ auto [ptr, ec] = std::from_chars(buf, buf + sizeof(buf) - 1, f, std::chars_format::scientific);
-+ VERIFY( ec == std::errc() && ptr == buf + sizeof(buf) - 1 );
-+ VERIFY( f == 33554472.0f );
-+#endif
-+}
diff --git a/gcc12-Wno-format-security.patch b/gcc13-Wno-format-security.patch
similarity index 90%
rename from gcc12-Wno-format-security.patch
rename to gcc13-Wno-format-security.patch
index 43e482a..4c71dac 100644
--- a/gcc12-Wno-format-security.patch
+++ b/gcc13-Wno-format-security.patch
@@ -32,27 +32,31 @@
fi
--- Makefile.tpl.jj 2021-12-30 15:12:42.188164847 +0100
+++ Makefile.tpl 2022-01-07 12:06:12.115550714 +0100
-@@ -447,8 +447,8 @@ LDFLAGS = @LDFLAGS@
+@@ -446,9 +446,9 @@ LDFLAGS = @LDFLAGS@
LIBCFLAGS = $(CFLAGS)
CXXFLAGS = @CXXFLAGS@
LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
-GOCFLAGS = $(CFLAGS)
-GDCFLAGS = $(CFLAGS)
+-GM2FLAGS = $(CFLAGS)
+GOCFLAGS = $(filter-out -Wformat-security,$(CFLAGS))
+GDCFLAGS = $(filter-out -Wformat-security,$(CFLAGS))
++GM2FLAGS = $(filter-out -Wformat-security,$(CFLAGS))
# Pass additional PGO and LTO compiler options to the PGO build.
BUILD_CFLAGS = $(PGO_BUILD_CFLAGS) $(PGO_BUILD_LTO_CFLAGS)
--- Makefile.in.jj 2021-12-30 15:12:42.188164847 +0100
+++ Makefile.in 2022-01-07 12:06:27.335334561 +0100
-@@ -444,8 +444,8 @@ LDFLAGS = @LDFLAGS@
+@@ -443,9 +443,9 @@ LDFLAGS = @LDFLAGS@
LIBCFLAGS = $(CFLAGS)
CXXFLAGS = @CXXFLAGS@
LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
-GOCFLAGS = $(CFLAGS)
-GDCFLAGS = $(CFLAGS)
+-GM2FLAGS = $(CFLAGS)
+GOCFLAGS = $(filter-out -Wformat-security,$(CFLAGS))
+GDCFLAGS = $(filter-out -Wformat-security,$(CFLAGS))
++GM2FLAGS = $(filter-out -Wformat-security,$(CFLAGS))
# Pass additional PGO and LTO compiler options to the PGO build.
BUILD_CFLAGS = $(PGO_BUILD_CFLAGS) $(PGO_BUILD_LTO_CFLAGS)
diff --git a/gcc12-d-shared-libphobos.patch b/gcc13-d-shared-libphobos.patch
similarity index 100%
rename from gcc12-d-shared-libphobos.patch
rename to gcc13-d-shared-libphobos.patch
diff --git a/gcc12-fortran-fdec-duplicates.patch b/gcc13-fortran-fdec-duplicates.patch
similarity index 100%
rename from gcc12-fortran-fdec-duplicates.patch
rename to gcc13-fortran-fdec-duplicates.patch
diff --git a/gcc12-fortran-fdec-non-logical-if.patch b/gcc13-fortran-fdec-non-logical-if.patch
similarity index 100%
rename from gcc12-fortran-fdec-non-logical-if.patch
rename to gcc13-fortran-fdec-non-logical-if.patch
diff --git a/gcc12-fortran-fdec-override-kind.patch b/gcc13-fortran-fdec-override-kind.patch
similarity index 100%
rename from gcc12-fortran-fdec-override-kind.patch
rename to gcc13-fortran-fdec-override-kind.patch
diff --git a/gcc12-fortran-flogical-as-integer.patch b/gcc13-fortran-flogical-as-integer.patch
similarity index 100%
rename from gcc12-fortran-flogical-as-integer.patch
rename to gcc13-fortran-flogical-as-integer.patch
diff --git a/gcc12-hack.patch b/gcc13-hack.patch
similarity index 100%
rename from gcc12-hack.patch
rename to gcc13-hack.patch
diff --git a/gcc12-isl-dl.patch b/gcc13-isl-dl.patch
similarity index 99%
rename from gcc12-isl-dl.patch
rename to gcc13-isl-dl.patch
index 824288b..20dd8bf 100644
--- a/gcc12-isl-dl.patch
+++ b/gcc13-isl-dl.patch
@@ -629,7 +629,7 @@
--- gcc/graphite.cc.jj 2015-11-04 14:15:32.000000000 +0100
+++ gcc/graphite.cc 2015-11-04 14:56:02.645536409 +0100
@@ -60,6 +60,35 @@ along with GCC; see the file COPYING3.
- #include "tree-into-ssa.h"
+ #include "tree-ssa-propagate.h"
#include "graphite.h"
+__typeof (isl_pointers__) isl_pointers__;
@@ -664,7 +664,7 @@
/* Print global statistics to FILE. */
static void
-@@ -365,6 +394,15 @@ graphite_transform_loops (void)
+@@ -424,6 +453,15 @@ graphite_transform_loops (void)
if (parallelized_function_p (cfun->decl))
return;
@@ -680,7 +680,7 @@
calculate_dominance_info (CDI_DOMINATORS);
/* We rely on post-dominators during merging of SESE regions so those
-@@ -455,6 +493,14 @@ graphite_transform_loops (void)
+@@ -519,6 +557,14 @@ graphite_transform_loops (void)
}
}
diff --git a/gcc12-isl-dl2.patch b/gcc13-isl-dl2.patch
similarity index 100%
rename from gcc12-isl-dl2.patch
rename to gcc13-isl-dl2.patch
diff --git a/gcc12-libgomp-omp_h-multilib.patch b/gcc13-libgomp-omp_h-multilib.patch
similarity index 100%
rename from gcc12-libgomp-omp_h-multilib.patch
rename to gcc13-libgomp-omp_h-multilib.patch
diff --git a/gcc12-libstdc++-docs.patch b/gcc13-libstdc++-docs.patch
similarity index 100%
rename from gcc12-libstdc++-docs.patch
rename to gcc13-libstdc++-docs.patch
diff --git a/gcc12-libtool-no-rpath.patch b/gcc13-libtool-no-rpath.patch
similarity index 100%
rename from gcc12-libtool-no-rpath.patch
rename to gcc13-libtool-no-rpath.patch
diff --git a/gcc12-no-add-needed.patch b/gcc13-no-add-needed.patch
similarity index 100%
rename from gcc12-no-add-needed.patch
rename to gcc13-no-add-needed.patch
diff --git a/gcc13-pr107608.patch b/gcc13-pr107608.patch
new file mode 100644
index 0000000..305b260
--- /dev/null
+++ b/gcc13-pr107608.patch
@@ -0,0 +1,47 @@
+2023-01-15 Aldy Hernandez
+
+ PR tree-optimization/107608
+ * range-op-float.cc (range_operator_float::fold_range): Avoid
+ folding into INF when flag_trapping_math.
+ * value-range.h (frange::known_isinf): Return false for possible NANs.
+
+--- gcc/range-op-float.cc
++++ gcc/range-op-float.cc
+@@ -91,6 +91,27 @@ range_operator_float::fold_range (frange &r, tree type,
+ else
+ r.clear_nan ();
+
++ // If the result has overflowed and flag_trapping_math, folding this
++ // operation could elide an overflow or division by zero exception.
++ // Avoid returning a singleton +-INF, to keep the propagators (DOM
++ // and substitute_and_fold_engine) from folding. See PR107608.
++ if (flag_trapping_math
++ && MODE_HAS_INFINITIES (TYPE_MODE (type))
++ && r.known_isinf () && !op1.known_isinf () && !op2.known_isinf ())
++ {
++ REAL_VALUE_TYPE inf = r.lower_bound ();
++ if (real_isneg (&inf))
++ {
++ REAL_VALUE_TYPE min = real_min_representable (type);
++ r.set (type, inf, min);
++ }
++ else
++ {
++ REAL_VALUE_TYPE max = real_max_representable (type);
++ r.set (type, max, inf);
++ }
++ }
++
+ return true;
+ }
+
+--- gcc/value-range.h
++++ gcc/value-range.h
+@@ -1300,6 +1300,7 @@ inline bool
+ frange::known_isinf () const
+ {
+ return (m_kind == VR_RANGE
++ && !maybe_isnan ()
+ && real_identical (&m_min, &m_max)
+ && real_isinf (&m_min));
+ }
diff --git a/gcc13-pr107678.patch b/gcc13-pr107678.patch
new file mode 100644
index 0000000..3cf29ac
--- /dev/null
+++ b/gcc13-pr107678.patch
@@ -0,0 +1,113 @@
+A recent change only initializes the regs.how[] during Dwarf unwinding
+which resulted in an uninitialized offset used in return address signing
+and random failures during unwinding. The fix is to encode the return
+address signing state in REG_UNSAVED and REG_UNDEFINED.
+
+2023-01-10 Wilco Dijkstra
+
+ PR target/107678
+ * unwind-dw2.c (RA_SIGNED_BIT): Remove.
+ * unwind-dw2-execute_cfa.h: Use REG_UNSAVED/UNDEFINED
+ to encode return address signing state.
+ * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
+ Check current return address signing state.
+ (aarch64_frob_update_contex): Remove.
+
+--- libgcc/config/aarch64/aarch64-unwind.h
++++ libgcc/config/aarch64/aarch64-unwind.h
+@@ -29,8 +29,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+
+ #define MD_DEMANGLE_RETURN_ADDR(context, fs, addr) \
+ aarch64_demangle_return_addr (context, fs, addr)
+-#define MD_FROB_UPDATE_CONTEXT(context, fs) \
+- aarch64_frob_update_context (context, fs)
+
+ static inline int
+ aarch64_cie_signed_with_b_key (struct _Unwind_Context *context)
+@@ -55,42 +53,27 @@ aarch64_cie_signed_with_b_key (struct _Unwind_Context *context)
+
+ static inline void *
+ aarch64_demangle_return_addr (struct _Unwind_Context *context,
+- _Unwind_FrameState *fs ATTRIBUTE_UNUSED,
++ _Unwind_FrameState *fs,
+ _Unwind_Word addr_word)
+ {
+ void *addr = (void *)addr_word;
+- if (context->flags & RA_SIGNED_BIT)
++ const int reg = DWARF_REGNUM_AARCH64_RA_STATE;
++
++ if (fs->regs.how[reg] == REG_UNSAVED)
++ return addr;
++
++ /* Return-address signing state is toggled by DW_CFA_GNU_window_save (where
++ REG_UNDEFINED means enabled), or set by a DW_CFA_expression. */
++ if (fs->regs.how[reg] == REG_UNDEFINED
++ || (_Unwind_GetGR (context, reg) & 0x1) != 0)
+ {
+ _Unwind_Word salt = (_Unwind_Word) context->cfa;
+ if (aarch64_cie_signed_with_b_key (context) != 0)
+ return __builtin_aarch64_autib1716 (addr, salt);
+ return __builtin_aarch64_autia1716 (addr, salt);
+ }
+- else
+- return addr;
+-}
+-
+-/* Do AArch64 private initialization on CONTEXT based on frame info FS. Mark
+- CONTEXT as return address signed if bit 0 of DWARF_REGNUM_AARCH64_RA_STATE is
+- set. */
+-
+-static inline void
+-aarch64_frob_update_context (struct _Unwind_Context *context,
+- _Unwind_FrameState *fs)
+-{
+- const int reg = DWARF_REGNUM_AARCH64_RA_STATE;
+- int ra_signed;
+- if (fs->regs.how[reg] == REG_UNSAVED)
+- ra_signed = fs->regs.reg[reg].loc.offset & 0x1;
+- else
+- ra_signed = _Unwind_GetGR (context, reg) & 0x1;
+- if (ra_signed)
+- /* The flag is used for re-authenticating EH handler's address. */
+- context->flags |= RA_SIGNED_BIT;
+- else
+- context->flags &= ~RA_SIGNED_BIT;
+
+- return;
++ return addr;
+ }
+
+ #endif /* defined AARCH64_UNWIND_H && defined __ILP32__ */
+--- libgcc/unwind-dw2.c
++++ libgcc/unwind-dw2.c
+@@ -137,9 +137,6 @@ struct _Unwind_Context
+ #define SIGNAL_FRAME_BIT ((~(_Unwind_Word) 0 >> 1) + 1)
+ /* Context which has version/args_size/by_value fields. */
+ #define EXTENDED_CONTEXT_BIT ((~(_Unwind_Word) 0 >> 2) + 1)
+- /* Bit reserved on AArch64, return address has been signed with A or B
+- key. */
+-#define RA_SIGNED_BIT ((~(_Unwind_Word) 0 >> 3) + 1)
+ _Unwind_Word flags;
+ /* 0 for now, can be increased when further fields are added to
+ struct _Unwind_Context. */
+--- libgcc/unwind-dw2-execute_cfa.h 2023-01-02 17:53:56.003021412 +0100
++++ libgcc/unwind-dw2-execute_cfa.h 2023-01-12 19:52:05.456327742 +0100
+@@ -278,10 +278,15 @@
+ case DW_CFA_GNU_window_save:
+ #if defined (__aarch64__) && !defined (__ILP32__)
+ /* This CFA is multiplexed with Sparc. On AArch64 it's used to toggle
+- return address signing status. */
++ return address signing status. The REG_UNDEFINED/UNSAVED states
++ mean RA signing is enabled/disabled. */
+ reg = DWARF_REGNUM_AARCH64_RA_STATE;
+- gcc_assert (fs->regs.how[reg] == REG_UNSAVED);
+- fs->regs.reg[reg].loc.offset ^= 1;
++ gcc_assert (fs->regs.how[reg] == REG_UNSAVED
++ || fs->regs.how[reg] == REG_UNDEFINED);
++ if (fs->regs.how[reg] == REG_UNSAVED)
++ fs->regs.how[reg] = REG_UNDEFINED;
++ else
++ fs->regs.how[reg] = REG_UNSAVED;
+ #else
+ /* ??? Hardcoded for SPARC register window configuration. */
+ if (__LIBGCC_DWARF_FRAME_REGISTERS__ >= 32)
diff --git a/gcc13-pr108411.patch b/gcc13-pr108411.patch
new file mode 100644
index 0000000..2c51481
--- /dev/null
+++ b/gcc13-pr108411.patch
@@ -0,0 +1,14 @@
+PR108411 workaround
+
+--- gcc/config/aarch64/aarch64.cc 2023-01-15 13:20:00.569241815 +0100
++++ gcc/config/aarch64/aarch64.cc 2023-01-15 13:30:05.061513817 +0100
+@@ -7707,8 +7707,7 @@ aarch64_layout_arg (cumulative_args_t pc
+ unsigned int alignment
+ = aarch64_function_arg_alignment (mode, type, &abi_break,
+ &abi_break_packed);
+- gcc_assert (alignment <= 16 * BITS_PER_UNIT
+- && (!alignment || abi_break < alignment)
++ gcc_assert ((!alignment || abi_break < alignment)
+ && (!abi_break_packed || alignment < abi_break_packed));
+
+ pcum->aapcs_arg_processed = true;
diff --git a/gcc12-rh1574936.patch b/gcc13-rh1574936.patch
similarity index 100%
rename from gcc12-rh1574936.patch
rename to gcc13-rh1574936.patch
diff --git a/gcc12-sparc-config-detection.patch b/gcc13-sparc-config-detection.patch
similarity index 77%
rename from gcc12-sparc-config-detection.patch
rename to gcc13-sparc-config-detection.patch
index bb06b35..bbe8ec3 100644
--- a/gcc12-sparc-config-detection.patch
+++ b/gcc13-sparc-config-detection.patch
@@ -1,21 +1,21 @@
--- gcc/config.gcc.jj 2008-04-24 15:42:46.000000000 -0500
+++ gcc/config.gcc 2008-04-24 15:44:51.000000000 -0500
-@@ -2790,7 +2790,7 @@ sparc-*-rtems*)
- tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
+@@ -3330,7 +3330,7 @@ sparc-*-rtems*)
+ tm_file="${tm_file} elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems"
;;
-sparc-*-linux*)
+sparc-*-linux* | sparcv9-*-linux*)
- tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
+ tm_file="${tm_file} elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
extra_options="${extra_options} sparc/long-double-switch.opt"
case ${target} in
-@@ -2844,7 +2844,7 @@ sparc64-*-rtems*)
+@@ -3384,7 +3384,7 @@ sparc64-*-rtems*)
extra_options="${extra_options}"
tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
;;
-sparc64-*-linux*)
+sparc64*-*-linux*)
- tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default64.h sparc/linux64.h sparc/tso.h"
+ tm_file="sparc/biarch64.h ${tm_file} elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default64.h sparc/linux64.h sparc/tso.h"
extra_options="${extra_options} sparc/long-double-switch.opt"
tmake_file="${tmake_file} sparc/t-sparc sparc/t-linux64"
--- libgcc/config.host.jj 2008-04-24 15:46:19.000000000 -0500
diff --git a/isl-rh2155127.patch b/isl-rh2155127.patch
new file mode 100644
index 0000000..092bddb
--- /dev/null
+++ b/isl-rh2155127.patch
@@ -0,0 +1,85 @@
+From: Sven Verdoolaege
+Date: Mon, 6 Jun 2022 12:56:02 +0000 (+0200)
+Subject: update m4/ax_prog_cc_for_build.m4
+X-Git-Tag: isl-0.25~11
+X-Git-Url: https://repo.or.cz/isl.git/commitdiff_plain/b4dcdfadc29a6c9f410a72f345f3f32725b1d38b
+
+update m4/ax_prog_cc_for_build.m4
+
+In particular, update to the latest version from the autoconf archive,
+but preserve the changes from isl-0.22.1-358-gcd42abdf2
+(m4/ax_prog_cc_for_build.m4: do not override host compiler dependency style,
+Tue Jun 9 10:54:10 2020 +0200).
+
+Signed-off-by: Sven Verdoolaege
+
+--- isl-0.24/m4/ax_prog_cc_for_build.m4.jj 2021-03-02 12:07:09.000000000 +0100
++++ isl-0.24/m4/ax_prog_cc_for_build.m4 2022-12-20 18:11:18.855777817 +0100
+@@ -32,7 +32,7 @@
+ # and this notice are preserved. This file is offered as-is, without any
+ # warranty.
+
+-#serial 18
++#serial 21
+
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+@@ -44,6 +44,8 @@ dnl Use the standard macros, but make th
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
+ pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
++pushdef([ac_cv_prog_cc_c99], ac_cv_build_prog_cc_c99)dnl
++pushdef([ac_cv_prog_cc_c11], ac_cv_build_prog_cc_c11)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+@@ -86,7 +88,21 @@ AS_IF([test -n "$build"], [ac_build
+ [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
+
+ AC_LANG_PUSH([C])
++
++dnl The pushdef([ac_cv_c_compiler_gnu], ...) currently does not cover
++dnl the use of this variable in _AC_LANG_COMPILER_GNU called by
++dnl AC_PROG_CC. Unset this cache variable temporarily as a workaround.
++was_set_c_compiler_gnu=${[ac_cv_c_compiler_gnu]+y}
++AS_IF([test ${was_set_c_compiler_gnu}],
++ [saved_c_compiler_gnu=$[ac_cv_c_compiler_gnu]
++ AS_UNSET([[ac_cv_c_compiler_gnu]])])
++
+ AC_PROG_CC
++
++dnl Restore ac_cv_c_compiler_gnu
++AS_IF([test ${was_set_c_compiler_gnu}],
++ [[ac_cv_c_compiler_gnu]=$[saved_c_compiler_gnu]])
++
+ _AC_COMPILER_EXEEXT
+ _AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+--- isl-0.24/configure.jj 2021-04-26 11:13:19.000000000 +0200
++++ isl-0.24/configure 2022-12-20 18:11:36.882518568 +0100
+@@ -5002,6 +4990,13 @@ ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR
+ ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
+
++
++was_set_c_compiler_gnu=${ac_cv_c_compiler_gnu+y}
++if test ${was_set_c_compiler_gnu}; then :
++ saved_c_compiler_gnu=$ac_cv_c_compiler_gnu
++ { ac_cv_c_compiler_gnu=; unset ac_cv_c_compiler_gnu;}
++fi
++
+ ac_ext=c
+ ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
+ ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
+@@ -5728,6 +5723,11 @@ else
+ fi
+
+
++
++if test ${was_set_c_compiler_gnu}; then :
++ ac_cv_c_compiler_gnu=$saved_c_compiler_gnu
++fi
++
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
diff --git a/sources b/sources
index 4f41efa..56d6327 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-12.2.1-20221121.tar.xz) = 6fef1438e77d8b7e7aeddea6d2d6a82c37d2e93f65ad9007f04206e1a368dd70597cef01188de4ee9bbfe1811a129303ce10b49cb9758a2b44abe4f0312d073a
+SHA512 (gcc-13.0.0-20230115.tar.xz) = f347e7b91a078e37842612be601f28c68249e4300ee122fbcee8a0a8c15171d51507a4913640135cca07e47f979163acdfd1a4b7cd06a21966663986aee95a29
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-a8526cb52bedabd4d6ba4b227a5185627f871aa1.tar.xz) = b099246fe4a5d0a372cdaee5da49083df5b2f4440a4e83961600cdf22d37da50c99ce9ae46b769f188a67034ee038cf863260988fc9d594e8e5fb3905a381dec
SHA512 (nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz) = 91690321bf96460c3b3e229199a6f752ed1c27c6933d4345dc7e237dc068f604ad211bb3a0373e14d4f332bee05b6227d6933e14e0b475ffdfea8b511ab735e6
diff --git a/update-gcc.sh b/update-gcc.sh
index d34d6ce..66e94c6 100755
--- a/update-gcc.sh
+++ b/update-gcc.sh
@@ -3,5 +3,5 @@
git clone --depth 1 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp
git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin $1
d=`date --iso | sed 's/-//g'`
-git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-12.2.1-$d/ $1 | xz -9e > gcc-12.2.1-$d.tar.xz
+git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-13.0.0-$d/ $1 | xz -9e > gcc-13.0.0-$d.tar.xz
rm -rf gcc-dir.tmp
From dd925156932d4af9b7ad5358ddf640b79191b69d Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Sun, 15 Jan 2023 13:52:46 +0100
Subject: [PATCH 002/164] 13.0.0-0.9
---
.gitignore | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.gitignore b/.gitignore
index a02dee0..4d59191 100644
--- a/.gitignore
+++ b/.gitignore
@@ -80,3 +80,8 @@
/newlib-cygwin-a8526cb52bedabd4d6ba4b227a5185627f871aa1.tar.xz
/nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz
/gcc-12.2.1-20221121.tar.xz
+/gcc-13.0.0-20221219.tar.xz
+/gcc-13.0.0-20230102.tar.xz
+/gcc-13.0.0-20230106.tar.xz
+/gcc-13.0.0-20230112.tar.xz
+/gcc-13.0.0-20230115.tar.xz
From 3dab9de8f0c61a79931f37f5484a69e8e9aa029c Mon Sep 17 00:00:00 2001
From: Florian Weimer
Date: Mon, 16 Jan 2023 21:49:51 +0100
Subject: [PATCH 003/164] Adapt to new way of redhat-rpm-config setting fortify
flags
---
gcc.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gcc.spec b/gcc.spec
index 64130fc..693e51c 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -920,7 +920,9 @@ export CONFIG_SITE=NONE
CC=gcc
CXX=g++
-OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[123]//g'`
+OPT_FLAGS="%{optflags}"
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=[123]//g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[123]//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/\(-Wp,\)\?-U_FORTIFY_SOURCE//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-flto=auto//g;s/-flto//g;s/-ffat-lto-objects//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
From ec851df6675e1360c24c6a3efc9756c7f60e8c05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?=
Date: Tue, 17 Jan 2023 10:20:15 +0100
Subject: [PATCH 004/164] move the baseline arch to z13 for s390x in F-38+
https://fedoraproject.org/wiki/Changes/z13BaselineForIBMZ
---
gcc.spec | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gcc.spec b/gcc.spec
index 693e51c..8a66d53 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1143,7 +1143,11 @@ CONFIGURE_OPTS="\
%endif
%else
%if 0%{?fedora} >= 26
+%if 0%{?fedora} >= 38
+ --with-arch=z13 --with-tune=z14 \
+%else
--with-arch=zEC12 --with-tune=z13 \
+%endif
%else
--with-arch=z9-109 --with-tune=z10 \
%endif
From 0d926ffb44e39c12baf68ef3e8c26612c44a877b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?=
Date: Tue, 17 Jan 2023 10:31:20 +0100
Subject: [PATCH 005/164] drop the ancient defaults for s390x
---
gcc.spec | 4 ----
1 file changed, 4 deletions(-)
diff --git a/gcc.spec b/gcc.spec
index 8a66d53..130f4a8 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1142,15 +1142,11 @@ CONFIGURE_OPTS="\
--with-arch=z196 --with-tune=zEC12 \
%endif
%else
-%if 0%{?fedora} >= 26
%if 0%{?fedora} >= 38
--with-arch=z13 --with-tune=z14 \
%else
--with-arch=zEC12 --with-tune=z13 \
%endif
-%else
- --with-arch=z9-109 --with-tune=z10 \
-%endif
%endif
--enable-decimal-float \
%endif
From d4299b940b4fcf56e42f3b172a961649f8e00382 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Tue, 17 Jan 2023 11:02:16 +0100
Subject: [PATCH 006/164] Various small tweaks.
---
gcc.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gcc.spec b/gcc.spec
index 130f4a8..7d5a815 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -380,6 +380,7 @@ including templates and exception handling.
Summary: GNU Standard C++ Library
Autoreq: true
Requires: glibc >= 2.10.90-7
+BuildRequires: tzdata >= 2017c
Requires: tzdata >= 2017c
%description -n libstdc++
@@ -1095,7 +1096,7 @@ CONFIGURE_OPTS="\
%endif
%endif
%ifarch ppc64le
-%if 0%{?rhel} == 9
+%if 0%{?rhel} >= 9
--with-cpu-32=power9 --with-tune-32=power9 --with-cpu-64=power9 --with-tune-64=power9 \
%else
--with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \
@@ -1130,7 +1131,7 @@ CONFIGURE_OPTS="\
%if 0%{?rhel} >= 7
%if 0%{?rhel} > 7
%if 0%{?rhel} > 8
-%if 0%{?rhel} == 9
+%if 0%{?rhel} >= 9
--with-arch=z14 --with-tune=z15 \
%else
--with-arch=z13 --with-tune=arch13 \
@@ -1145,7 +1146,11 @@ CONFIGURE_OPTS="\
%if 0%{?fedora} >= 38
--with-arch=z13 --with-tune=z14 \
%else
+%if 0%{?fedora} >= 26
--with-arch=zEC12 --with-tune=z13 \
+%else
+ --with-arch=z9-109 --with-tune=z10 \
+%endif
%endif
%endif
--enable-decimal-float \
From 311655b816f6039baa85db3c5f42a8adc41ff1ed Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Tue, 17 Jan 2023 21:14:10 +0100
Subject: [PATCH 007/164] 13.0.1-0.1
---
.gitignore | 1 +
gcc.spec | 18 +++++++++++++-----
gcc13-libstdc++-docs.patch | 4 ++--
sources | 2 +-
update-gcc.sh | 2 +-
5 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/.gitignore b/.gitignore
index 4d59191..e72a744 100644
--- a/.gitignore
+++ b/.gitignore
@@ -85,3 +85,4 @@
/gcc-13.0.0-20230106.tar.xz
/gcc-13.0.0-20230112.tar.xz
/gcc-13.0.0-20230115.tar.xz
+/gcc-13.0.1-20230117.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 7d5a815..e74955f 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,6 +1,6 @@
-%global DATE 20230115
-%global gitrev 7699a0a3101bf1315fb8e350ac718d1f7b3f7816
-%global gcc_version 13.0.0
+%global DATE 20230117
+%global gitrev fedc064ac31b465edcfd22884b94bbdd05312224
+%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.9%{?dist}
+Release: %{gcc_release}.1%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -929,7 +929,7 @@ OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-flto=auto//g;s/-flto//g;s/-ffat-lto-object
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'`
-OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-fno-omit-frame-pointer //g;s/-mbackchain //g;s/-mno-omit-leaf-frame-pointer //g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-fno-omit-frame-pointer//g;s/-mbackchain//g;s/-mno-omit-leaf-frame-pointer//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Werror=format-security/-Wformat-security/g'`
%ifarch sparc
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g;s/-mcpu=v[78]//g'`
@@ -3462,5 +3462,13 @@ end
%endif
%changelog
+* Tue Jan 17 2023 Jakub Jelinek 13.0.1-0.1
+- update from trunk
+ - PRs c++/105593, fortran/108421, go/108426, ipa/106077, libstdc++/108288,
+ libstdc++/108413, other/108413, target/55522, target/96795,
+ target/105980, target/107515, target/108272, tree-optimization/94793,
+ tree-optimization/106523, tree-optimization/107608
+- don't build ppc64le unwinder with -fno-omit-frame-pointer (#2161595)
+
* Sun Jan 15 2023 Jakub Jelinek 13.0.0-0.9
- new package
diff --git a/gcc13-libstdc++-docs.patch b/gcc13-libstdc++-docs.patch
index b6c2d50..5a2fe27 100644
--- a/gcc13-libstdc++-docs.patch
+++ b/gcc13-libstdc++-docs.patch
@@ -4,7 +4,7 @@
FSF
-+ Release 12.2.1
++ Release 13.0.1
+
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
@@ -17,7 +17,7 @@
- The API documentation, rendered into HTML, can be viewed online
+ The API documentation, rendered into HTML, can be viewed locally
-+ for the 12.2.1 release,
++ for the 13.0.1 release,
+ online
for each GCC release
and
diff --git a/sources b/sources
index 56d6327..d8b317a 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.0-20230115.tar.xz) = f347e7b91a078e37842612be601f28c68249e4300ee122fbcee8a0a8c15171d51507a4913640135cca07e47f979163acdfd1a4b7cd06a21966663986aee95a29
+SHA512 (gcc-13.0.1-20230117.tar.xz) = 22bc806162976c843cfeb43d24bb33e7961fedb402ec2c5e3ca2d02b9058825a1b37258b2dd9cfe14de02e5a4a00b2cf32c1e97375fc04265d6215de6a25d611
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-a8526cb52bedabd4d6ba4b227a5185627f871aa1.tar.xz) = b099246fe4a5d0a372cdaee5da49083df5b2f4440a4e83961600cdf22d37da50c99ce9ae46b769f188a67034ee038cf863260988fc9d594e8e5fb3905a381dec
SHA512 (nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz) = 91690321bf96460c3b3e229199a6f752ed1c27c6933d4345dc7e237dc068f604ad211bb3a0373e14d4f332bee05b6227d6933e14e0b475ffdfea8b511ab735e6
diff --git a/update-gcc.sh b/update-gcc.sh
index 66e94c6..b6c0315 100755
--- a/update-gcc.sh
+++ b/update-gcc.sh
@@ -3,5 +3,5 @@
git clone --depth 1 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp
git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin $1
d=`date --iso | sed 's/-//g'`
-git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-13.0.0-$d/ $1 | xz -9e > gcc-13.0.0-$d.tar.xz
+git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-13.0.1-$d/ $1 | xz -9e > gcc-13.0.1-$d.tar.xz
rm -rf gcc-dir.tmp
From 2e2b76f57af416790e0b37794e9ad0e49d99e2e9 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Tue, 17 Jan 2023 21:37:23 +0100
Subject: [PATCH 008/164] 13.0.1-0.1
---
gcc.spec | 8 +++-----
gcc13-pr107608.patch | 47 --------------------------------------------
2 files changed, 3 insertions(+), 52 deletions(-)
delete mode 100644 gcc13-pr107608.patch
diff --git a/gcc.spec b/gcc.spec
index e74955f..23c0c3f 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -287,8 +287,7 @@ Patch9: gcc13-Wno-format-security.patch
Patch10: gcc13-rh1574936.patch
Patch11: gcc13-d-shared-libphobos.patch
Patch12: gcc13-pr107678.patch
-Patch13: gcc13-pr107608.patch
-Patch14: gcc13-pr108411.patch
+Patch13: gcc13-pr108411.patch
Patch50: isl-rh2155127.patch
@@ -864,8 +863,7 @@ so that there cannot be any synchronization problems.
%endif
%patch11 -p0 -b .d-shared-libphobos~
%patch12 -p0 -b .pr107678~
-%patch13 -p0 -b .pr107608~
-%patch14 -p0 -b .pr108411~
+%patch13 -p0 -b .pr108411~
%patch50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
@@ -3467,7 +3465,7 @@ end
- PRs c++/105593, fortran/108421, go/108426, ipa/106077, libstdc++/108288,
libstdc++/108413, other/108413, target/55522, target/96795,
target/105980, target/107515, target/108272, tree-optimization/94793,
- tree-optimization/106523, tree-optimization/107608
+ tree-optimization/106523
- don't build ppc64le unwinder with -fno-omit-frame-pointer (#2161595)
* Sun Jan 15 2023 Jakub Jelinek 13.0.0-0.9
diff --git a/gcc13-pr107608.patch b/gcc13-pr107608.patch
deleted file mode 100644
index 305b260..0000000
--- a/gcc13-pr107608.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-2023-01-15 Aldy Hernandez
-
- PR tree-optimization/107608
- * range-op-float.cc (range_operator_float::fold_range): Avoid
- folding into INF when flag_trapping_math.
- * value-range.h (frange::known_isinf): Return false for possible NANs.
-
---- gcc/range-op-float.cc
-+++ gcc/range-op-float.cc
-@@ -91,6 +91,27 @@ range_operator_float::fold_range (frange &r, tree type,
- else
- r.clear_nan ();
-
-+ // If the result has overflowed and flag_trapping_math, folding this
-+ // operation could elide an overflow or division by zero exception.
-+ // Avoid returning a singleton +-INF, to keep the propagators (DOM
-+ // and substitute_and_fold_engine) from folding. See PR107608.
-+ if (flag_trapping_math
-+ && MODE_HAS_INFINITIES (TYPE_MODE (type))
-+ && r.known_isinf () && !op1.known_isinf () && !op2.known_isinf ())
-+ {
-+ REAL_VALUE_TYPE inf = r.lower_bound ();
-+ if (real_isneg (&inf))
-+ {
-+ REAL_VALUE_TYPE min = real_min_representable (type);
-+ r.set (type, inf, min);
-+ }
-+ else
-+ {
-+ REAL_VALUE_TYPE max = real_max_representable (type);
-+ r.set (type, max, inf);
-+ }
-+ }
-+
- return true;
- }
-
---- gcc/value-range.h
-+++ gcc/value-range.h
-@@ -1300,6 +1300,7 @@ inline bool
- frange::known_isinf () const
- {
- return (m_kind == VR_RANGE
-+ && !maybe_isnan ()
- && real_identical (&m_min, &m_max)
- && real_isinf (&m_min));
- }
From 0acbf54cf48b4452093460810f417a1233501879 Mon Sep 17 00:00:00 2001
From: Fedora Release Engineering
Date: Thu, 19 Jan 2023 04:26:55 +0000
Subject: [PATCH 009/164] Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering
---
gcc.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gcc.spec b/gcc.spec
index 23c0c3f..549fbea 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.1%{?dist}
+Release: %{gcc_release}.1%{?dist}.1
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -3460,6 +3460,9 @@ end
%endif
%changelog
+* Thu Jan 19 2023 Fedora Release Engineering - 13.0.1-0.1.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
* Tue Jan 17 2023 Jakub Jelinek 13.0.1-0.1
- update from trunk
- PRs c++/105593, fortran/108421, go/108426, ipa/106077, libstdc++/108288,
From d69d615083791c483307d5c3b41923f5307db48b Mon Sep 17 00:00:00 2001
From: Dana Elfassy
Date: Thu, 19 Jan 2023 13:22:59 +0200
Subject: [PATCH 010/164] add bash to ./runtest.sh
---
.../394271-gcc-optimization-error-for-neg-number-abs/main.fmf | 2 +-
.../main.fmf | 2 +-
.../main.fmf | 2 +-
.../515799-RHEL5-gcc-if-more-than-one-fno-builtin/main.fmf | 2 +-
.../main.fmf | 2 +-
.../main.fmf | 2 +-
.../main.fmf | 2 +-
.../main.fmf | 2 +-
tests/Regression/unused_parameter_warning/main.fmf | 2 +-
tests/Sanity/compile-rpm/main.fmf | 2 +-
tests/Sanity/libitm-smoke/main.fmf | 2 +-
tests/Sanity/rebuild-binutils/main.fmf | 2 +-
tests/Sanity/rebuild-glibc/main.fmf | 2 +-
tests/Sanity/test-m32-m64-options/main.fmf | 2 +-
14 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/main.fmf b/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/main.fmf
index f31d44e..81a2b4a 100644
--- a/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/main.fmf
+++ b/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/main.fmf
@@ -4,7 +4,7 @@ description: |
contact: mcermak@redhat.com
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
path: /tests/Regression/394271-gcc-optimization-error-for-neg-number-abs
framework: beakerlib
require:
diff --git a/tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/main.fmf b/tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/main.fmf
index 35ff67d..558554d 100644
--- a/tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/main.fmf
+++ b/tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/main.fmf
@@ -7,7 +7,7 @@ description: |
contact: mcermak@redhat.com
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
framework: beakerlib
require:
- gcc
diff --git a/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/main.fmf b/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/main.fmf
index 752caf6..5f9ce34 100644
--- a/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/main.fmf
+++ b/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/main.fmf
@@ -15,7 +15,7 @@ description: |+
contact: mcermak@redhat.com
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
path: /tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope
framework: beakerlib
require:
diff --git a/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/main.fmf b/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/main.fmf
index 080f24f..8f47b12 100644
--- a/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/main.fmf
+++ b/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/main.fmf
@@ -11,7 +11,7 @@ description: |
contact: mcermak@redhat.com
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
path: /tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin
framework: beakerlib
require:
diff --git a/tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/main.fmf b/tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/main.fmf
index 6a60b30..f44417a 100644
--- a/tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/main.fmf
+++ b/tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/main.fmf
@@ -10,7 +10,7 @@ description: |
contact: Vaclav Kadlcik
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
framework: beakerlib
require:
- gcc
diff --git a/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/main.fmf b/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/main.fmf
index fc2414e..fac6ddb 100644
--- a/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/main.fmf
+++ b/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/main.fmf
@@ -5,7 +5,7 @@ description: |
contact: Vaclav Kadlcik
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
framework: beakerlib
require:
- gcc-c++
diff --git a/tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/main.fmf b/tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/main.fmf
index 5ce67d3..8f8346f 100644
--- a/tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/main.fmf
+++ b/tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/main.fmf
@@ -4,7 +4,7 @@ contact: mcermak@redhat.com
component:
- gcc
- systemtap
-test: ./runtest.sh
+test: bash ./runtest.sh
framework: beakerlib
require:
- gcc
diff --git a/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/main.fmf b/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/main.fmf
index 4c38d10..4ad6875 100644
--- a/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/main.fmf
+++ b/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/main.fmf
@@ -4,7 +4,7 @@ description: ''
contact: mcermak@redhat.com
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
path: /tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template
framework: beakerlib
require:
diff --git a/tests/Regression/unused_parameter_warning/main.fmf b/tests/Regression/unused_parameter_warning/main.fmf
index 7084e32..b589e98 100644
--- a/tests/Regression/unused_parameter_warning/main.fmf
+++ b/tests/Regression/unused_parameter_warning/main.fmf
@@ -3,7 +3,7 @@ summary: Check to see if g++ throws unused parameter warnings with standard libr
contact: mcermak@redhat.com
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
path: /tests/Regression/unused_parameter_warning
framework: beakerlib
require:
diff --git a/tests/Sanity/compile-rpm/main.fmf b/tests/Sanity/compile-rpm/main.fmf
index d6c5faa..4685e4a 100644
--- a/tests/Sanity/compile-rpm/main.fmf
+++ b/tests/Sanity/compile-rpm/main.fmf
@@ -3,7 +3,7 @@ description: ''
contact: mcermak@redhat.com
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
path: /tests/Sanity/compile-rpm
framework: beakerlib
require:
diff --git a/tests/Sanity/libitm-smoke/main.fmf b/tests/Sanity/libitm-smoke/main.fmf
index 77c1763..06bf77d 100644
--- a/tests/Sanity/libitm-smoke/main.fmf
+++ b/tests/Sanity/libitm-smoke/main.fmf
@@ -14,7 +14,7 @@ contact: Michael Petlan
component:
- gcc
- gcc-libraries
-test: ./runtest.sh
+test: bash ./runtest.sh
framework: beakerlib
require:
- gcc
diff --git a/tests/Sanity/rebuild-binutils/main.fmf b/tests/Sanity/rebuild-binutils/main.fmf
index 2d7e5d5..8c05e0a 100644
--- a/tests/Sanity/rebuild-binutils/main.fmf
+++ b/tests/Sanity/rebuild-binutils/main.fmf
@@ -3,7 +3,7 @@ description: ''
contact: mcermak@redhat.com
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
path: /tests/Sanity/rebuild-binutils
framework: beakerlib
require:
diff --git a/tests/Sanity/rebuild-glibc/main.fmf b/tests/Sanity/rebuild-glibc/main.fmf
index 53eee30..01729a4 100644
--- a/tests/Sanity/rebuild-glibc/main.fmf
+++ b/tests/Sanity/rebuild-glibc/main.fmf
@@ -4,7 +4,7 @@ summary: Rebuild glibc
contact: mcermak@redhat.com
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
path: /tests/Sanity/rebuild-glibc
framework: beakerlib
require:
diff --git a/tests/Sanity/test-m32-m64-options/main.fmf b/tests/Sanity/test-m32-m64-options/main.fmf
index 732b996..04472ac 100644
--- a/tests/Sanity/test-m32-m64-options/main.fmf
+++ b/tests/Sanity/test-m32-m64-options/main.fmf
@@ -3,7 +3,7 @@ description: ''
contact: mcermak@redhat.com
component:
- gcc
-test: ./runtest.sh
+test: bash ./runtest.sh
path: /tests/Sanity/test-m32-m64-options
framework: beakerlib
require:
From dc4418df89d438bd7de3d84aa2c26ec6dcde7ef6 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Sat, 28 Jan 2023 00:20:49 +0100
Subject: [PATCH 011/164] 13.0.1-0.2
---
.gitignore | 2 +
gcc.spec | 14 ++---
gcc13-pr106746-revert.patch | 63 ++++++++++++++++++++
gcc13-pr107678.patch | 113 ------------------------------------
gcc13-pr108411.patch | 14 -----
sources | 4 +-
6 files changed, 73 insertions(+), 137 deletions(-)
create mode 100644 gcc13-pr106746-revert.patch
delete mode 100644 gcc13-pr107678.patch
delete mode 100644 gcc13-pr108411.patch
diff --git a/.gitignore b/.gitignore
index e72a744..528b58c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -86,3 +86,5 @@
/gcc-13.0.0-20230112.tar.xz
/gcc-13.0.0-20230115.tar.xz
/gcc-13.0.1-20230117.tar.xz
+/gcc-13.0.1-20230127.tar.xz
+/newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 23c0c3f..9f44433 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,12 +1,12 @@
-%global DATE 20230117
-%global gitrev fedc064ac31b465edcfd22884b94bbdd05312224
+%global DATE 20230127
+%global gitrev 4faac89a6b542c0d94019eeadc333ef789f37c9d
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
%global gcc_release 0
%global nvptx_tools_gitrev 472b6e78b3ba918d727698f79911360b7c808247
-%global newlib_cygwin_gitrev a8526cb52bedabd4d6ba4b227a5185627f871aa1
+%global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409
%global _unpackaged_files_terminate_build 0
%global _performance_build 1
# Hardening slows the compiler way too much.
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.1%{?dist}
+Release: %{gcc_release}.2%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -286,8 +286,7 @@ Patch8: gcc13-no-add-needed.patch
Patch9: gcc13-Wno-format-security.patch
Patch10: gcc13-rh1574936.patch
Patch11: gcc13-d-shared-libphobos.patch
-Patch12: gcc13-pr107678.patch
-Patch13: gcc13-pr108411.patch
+Patch12: gcc13-pr106746-revert.patch
Patch50: isl-rh2155127.patch
@@ -862,8 +861,7 @@ so that there cannot be any synchronization problems.
%patch10 -p0 -b .rh1574936~
%endif
%patch11 -p0 -b .d-shared-libphobos~
-%patch12 -p0 -b .pr107678~
-%patch13 -p0 -b .pr108411~
+%patch12 -p0 -b .pr106746-revert~
%patch50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
diff --git a/gcc13-pr106746-revert.patch b/gcc13-pr106746-revert.patch
new file mode 100644
index 0000000..a2549b9
--- /dev/null
+++ b/gcc13-pr106746-revert.patch
@@ -0,0 +1,63 @@
+Revert:
+[PR106746] drop cselib addr lookup in debug insn mem
+
+The testcase used to get scheduled differently depending on the
+presence of debug insns with MEMs. It's not clear to me why those
+MEMs affected scheduling, but the cselib pre-canonicalization of the
+MEM address is not used at all when analyzing debug insns, so the
+memory allocation and lookup are pure waste. Somehow, avoiding that
+waste fixes the problem, or makes it go latent.
+
+2023-01-19 Alexandre Oliva
+
+ PR debug/106746
+ * sched-deps.cc (sched_analyze_2): Skip cselib address lookup
+ within debug insns.
+
+--- gcc/sched-deps.cc
++++ gcc/sched-deps.cc
+@@ -2605,26 +2605,26 @@ sched_analyze_2 (class deps_desc *deps, rtx x, rtx_insn *insn)
+
+ case MEM:
+ {
+- if (!DEBUG_INSN_P (insn))
+- {
+- /* Reading memory. */
+- rtx_insn_list *u;
+- rtx_insn_list *pending;
+- rtx_expr_list *pending_mem;
+- rtx t = x;
++ /* Reading memory. */
++ rtx_insn_list *u;
++ rtx_insn_list *pending;
++ rtx_expr_list *pending_mem;
++ rtx t = x;
+
+- if (sched_deps_info->use_cselib)
+- {
+- machine_mode address_mode = get_address_mode (t);
+-
+- t = shallow_copy_rtx (t);
+- cselib_lookup_from_insn (XEXP (t, 0), address_mode, 1,
+- GET_MODE (t), insn);
+- XEXP (t, 0)
+- = cselib_subst_to_values_from_insn (XEXP (t, 0), GET_MODE (t),
+- insn);
+- }
++ if (sched_deps_info->use_cselib)
++ {
++ machine_mode address_mode = get_address_mode (t);
++
++ t = shallow_copy_rtx (t);
++ cselib_lookup_from_insn (XEXP (t, 0), address_mode, 1,
++ GET_MODE (t), insn);
++ XEXP (t, 0)
++ = cselib_subst_to_values_from_insn (XEXP (t, 0), GET_MODE (t),
++ insn);
++ }
+
++ if (!DEBUG_INSN_P (insn))
++ {
+ t = canon_rtx (t);
+ pending = deps->pending_read_insns;
+ pending_mem = deps->pending_read_mems;
diff --git a/gcc13-pr107678.patch b/gcc13-pr107678.patch
deleted file mode 100644
index 3cf29ac..0000000
--- a/gcc13-pr107678.patch
+++ /dev/null
@@ -1,113 +0,0 @@
-A recent change only initializes the regs.how[] during Dwarf unwinding
-which resulted in an uninitialized offset used in return address signing
-and random failures during unwinding. The fix is to encode the return
-address signing state in REG_UNSAVED and REG_UNDEFINED.
-
-2023-01-10 Wilco Dijkstra
-
- PR target/107678
- * unwind-dw2.c (RA_SIGNED_BIT): Remove.
- * unwind-dw2-execute_cfa.h: Use REG_UNSAVED/UNDEFINED
- to encode return address signing state.
- * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
- Check current return address signing state.
- (aarch64_frob_update_contex): Remove.
-
---- libgcc/config/aarch64/aarch64-unwind.h
-+++ libgcc/config/aarch64/aarch64-unwind.h
-@@ -29,8 +29,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
-
- #define MD_DEMANGLE_RETURN_ADDR(context, fs, addr) \
- aarch64_demangle_return_addr (context, fs, addr)
--#define MD_FROB_UPDATE_CONTEXT(context, fs) \
-- aarch64_frob_update_context (context, fs)
-
- static inline int
- aarch64_cie_signed_with_b_key (struct _Unwind_Context *context)
-@@ -55,42 +53,27 @@ aarch64_cie_signed_with_b_key (struct _Unwind_Context *context)
-
- static inline void *
- aarch64_demangle_return_addr (struct _Unwind_Context *context,
-- _Unwind_FrameState *fs ATTRIBUTE_UNUSED,
-+ _Unwind_FrameState *fs,
- _Unwind_Word addr_word)
- {
- void *addr = (void *)addr_word;
-- if (context->flags & RA_SIGNED_BIT)
-+ const int reg = DWARF_REGNUM_AARCH64_RA_STATE;
-+
-+ if (fs->regs.how[reg] == REG_UNSAVED)
-+ return addr;
-+
-+ /* Return-address signing state is toggled by DW_CFA_GNU_window_save (where
-+ REG_UNDEFINED means enabled), or set by a DW_CFA_expression. */
-+ if (fs->regs.how[reg] == REG_UNDEFINED
-+ || (_Unwind_GetGR (context, reg) & 0x1) != 0)
- {
- _Unwind_Word salt = (_Unwind_Word) context->cfa;
- if (aarch64_cie_signed_with_b_key (context) != 0)
- return __builtin_aarch64_autib1716 (addr, salt);
- return __builtin_aarch64_autia1716 (addr, salt);
- }
-- else
-- return addr;
--}
--
--/* Do AArch64 private initialization on CONTEXT based on frame info FS. Mark
-- CONTEXT as return address signed if bit 0 of DWARF_REGNUM_AARCH64_RA_STATE is
-- set. */
--
--static inline void
--aarch64_frob_update_context (struct _Unwind_Context *context,
-- _Unwind_FrameState *fs)
--{
-- const int reg = DWARF_REGNUM_AARCH64_RA_STATE;
-- int ra_signed;
-- if (fs->regs.how[reg] == REG_UNSAVED)
-- ra_signed = fs->regs.reg[reg].loc.offset & 0x1;
-- else
-- ra_signed = _Unwind_GetGR (context, reg) & 0x1;
-- if (ra_signed)
-- /* The flag is used for re-authenticating EH handler's address. */
-- context->flags |= RA_SIGNED_BIT;
-- else
-- context->flags &= ~RA_SIGNED_BIT;
-
-- return;
-+ return addr;
- }
-
- #endif /* defined AARCH64_UNWIND_H && defined __ILP32__ */
---- libgcc/unwind-dw2.c
-+++ libgcc/unwind-dw2.c
-@@ -137,9 +137,6 @@ struct _Unwind_Context
- #define SIGNAL_FRAME_BIT ((~(_Unwind_Word) 0 >> 1) + 1)
- /* Context which has version/args_size/by_value fields. */
- #define EXTENDED_CONTEXT_BIT ((~(_Unwind_Word) 0 >> 2) + 1)
-- /* Bit reserved on AArch64, return address has been signed with A or B
-- key. */
--#define RA_SIGNED_BIT ((~(_Unwind_Word) 0 >> 3) + 1)
- _Unwind_Word flags;
- /* 0 for now, can be increased when further fields are added to
- struct _Unwind_Context. */
---- libgcc/unwind-dw2-execute_cfa.h 2023-01-02 17:53:56.003021412 +0100
-+++ libgcc/unwind-dw2-execute_cfa.h 2023-01-12 19:52:05.456327742 +0100
-@@ -278,10 +278,15 @@
- case DW_CFA_GNU_window_save:
- #if defined (__aarch64__) && !defined (__ILP32__)
- /* This CFA is multiplexed with Sparc. On AArch64 it's used to toggle
-- return address signing status. */
-+ return address signing status. The REG_UNDEFINED/UNSAVED states
-+ mean RA signing is enabled/disabled. */
- reg = DWARF_REGNUM_AARCH64_RA_STATE;
-- gcc_assert (fs->regs.how[reg] == REG_UNSAVED);
-- fs->regs.reg[reg].loc.offset ^= 1;
-+ gcc_assert (fs->regs.how[reg] == REG_UNSAVED
-+ || fs->regs.how[reg] == REG_UNDEFINED);
-+ if (fs->regs.how[reg] == REG_UNSAVED)
-+ fs->regs.how[reg] = REG_UNDEFINED;
-+ else
-+ fs->regs.how[reg] = REG_UNSAVED;
- #else
- /* ??? Hardcoded for SPARC register window configuration. */
- if (__LIBGCC_DWARF_FRAME_REGISTERS__ >= 32)
diff --git a/gcc13-pr108411.patch b/gcc13-pr108411.patch
deleted file mode 100644
index 2c51481..0000000
--- a/gcc13-pr108411.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-PR108411 workaround
-
---- gcc/config/aarch64/aarch64.cc 2023-01-15 13:20:00.569241815 +0100
-+++ gcc/config/aarch64/aarch64.cc 2023-01-15 13:30:05.061513817 +0100
-@@ -7707,8 +7707,7 @@ aarch64_layout_arg (cumulative_args_t pc
- unsigned int alignment
- = aarch64_function_arg_alignment (mode, type, &abi_break,
- &abi_break_packed);
-- gcc_assert (alignment <= 16 * BITS_PER_UNIT
-- && (!alignment || abi_break < alignment)
-+ gcc_assert ((!alignment || abi_break < alignment)
- && (!abi_break_packed || alignment < abi_break_packed));
-
- pcum->aapcs_arg_processed = true;
diff --git a/sources b/sources
index d8b317a..db9c9b6 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230117.tar.xz) = 22bc806162976c843cfeb43d24bb33e7961fedb402ec2c5e3ca2d02b9058825a1b37258b2dd9cfe14de02e5a4a00b2cf32c1e97375fc04265d6215de6a25d611
+SHA512 (gcc-13.0.1-20230127.tar.xz) = 437494fad0d688d8c81d1bc6827bb139894fc74af4ca2d2a71dc7332304a988c4a358af38ffc15ab7c19fd5172398d00d6447301f560517d03a5367967694906
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
-SHA512 (newlib-cygwin-a8526cb52bedabd4d6ba4b227a5185627f871aa1.tar.xz) = b099246fe4a5d0a372cdaee5da49083df5b2f4440a4e83961600cdf22d37da50c99ce9ae46b769f188a67034ee038cf863260988fc9d594e8e5fb3905a381dec
+SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz) = 91690321bf96460c3b3e229199a6f752ed1c27c6933d4345dc7e237dc068f604ad211bb3a0373e14d4f332bee05b6227d6933e14e0b475ffdfea8b511ab735e6
From 6f673bac4729e639b2ddd62abd325edc8eb130dd Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Wed, 8 Feb 2023 15:30:40 +0100
Subject: [PATCH 012/164] 13.0.1-0.3
---
.gitignore | 1 +
gcc.spec | 39 ++++++++++++++++---
gcc13-pr106746-revert.patch | 63 -------------------------------
gcc13-pr108316.patch | 66 +++++++++++++++++++++++++++++++++
gcc13-pr108692.patch | 74 +++++++++++++++++++++++++++++++++++++
sources | 2 +-
6 files changed, 176 insertions(+), 69 deletions(-)
delete mode 100644 gcc13-pr106746-revert.patch
create mode 100644 gcc13-pr108316.patch
create mode 100644 gcc13-pr108692.patch
diff --git a/.gitignore b/.gitignore
index 528b58c..45a5487 100644
--- a/.gitignore
+++ b/.gitignore
@@ -88,3 +88,4 @@
/gcc-13.0.1-20230117.tar.xz
/gcc-13.0.1-20230127.tar.xz
/newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz
+/gcc-13.0.1-20230208.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 1df7d2b..b074033 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230127
-%global gitrev 4faac89a6b542c0d94019eeadc333ef789f37c9d
+%global DATE 20230208
+%global gitrev 88db57a1779f3c620653a2a791e54301645befbf
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.2%{?dist}
+Release: %{gcc_release}.3%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -286,7 +286,8 @@ Patch8: gcc13-no-add-needed.patch
Patch9: gcc13-Wno-format-security.patch
Patch10: gcc13-rh1574936.patch
Patch11: gcc13-d-shared-libphobos.patch
-Patch12: gcc13-pr106746-revert.patch
+Patch12: gcc13-pr108692.patch
+Patch13: gcc13-pr108316.patch
Patch50: isl-rh2155127.patch
@@ -457,9 +458,11 @@ programs with the GNU Compiler Collection.
%package -n libgfortran
Summary: Fortran runtime
Autoreq: true
+%if 0%{?fedora} < 28 && 0%{?rhel} < 8
%if %{build_libquadmath}
Requires: libquadmath = %{version}-%{release}
%endif
+%endif
%description -n libgfortran
This package contains Fortran shared library which is needed to run
@@ -861,7 +864,8 @@ so that there cannot be any synchronization problems.
%patch10 -p0 -b .rh1574936~
%endif
%patch11 -p0 -b .d-shared-libphobos~
-%patch12 -p0 -b .pr106746-revert~
+%patch12 -p0 -b .pr108692~
+%patch13 -p0 -b .pr108316~
%patch50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
@@ -3458,6 +3462,31 @@ end
%endif
%changelog
+* Wed Feb 8 2023 Jakub Jelinek 13.0.1-0.3
+- update from trunk
+ - PRs analyzer/108616, analyzer/108633, analyzer/108661, c++/101071,
+ c++/102870, c++/107461, c++/107593, c++/107755, c++/108158,
+ c++/108559, c++/108579, c++/108597, c++/108607, c++/96745, c/108150,
+ c/108192, debug/106746, debug/108573, driver/108572, fortran/103506,
+ fortran/108450, fortran/108451, fortran/108453, fortran/108527,
+ fortran/108592, fortran/108609, fortran/95107, ipa/107300, ipa/108384,
+ ipa/108509, ipa/108511, libstdc++/108636, libstdc++/108672,
+ middle-end/108435, middle-end/108500, middle-end/108625,
+ modula2/107234, modula2/108135, modula2/108462, modula2/108551,
+ modula2/108612, rtl-optimization/108086, rtl-optimization/108463,
+ rtl-optimization/108508, rtl-optimization/108596, sanitizer/108106,
+ target/104921, target/107674, target/108443, target/108484,
+ target/108589, target/108599, testsuite/108604, testsuite/108632,
+ tree-optimization/26854, tree-optimization/106433,
+ tree-optimization/106923, tree-optimization/107570,
+ tree-optimization/108356, tree-optimization/108359,
+ tree-optimization/108385, tree-optimization/108574,
+ tree-optimization/108582, tree-optimization/108601,
+ tree-optimization/108608, tree-optimization/108639,
+ tree-optimization/108647, tree-optimization/108655
+- drop libgfortran dependency on libquadmath for F28+ or RHEL8+, gcc-gfortran
+ still needs to depend on both libquadmath and libquadmath-devel though
+
* Sat Jan 28 2023 Jakub Jelinek 13.0.1-0.2
- update from trunk
- PRs analyzer/108455, analyzer/108507, analyzer/108524, bootstrap/90543,
diff --git a/gcc13-pr106746-revert.patch b/gcc13-pr106746-revert.patch
deleted file mode 100644
index a2549b9..0000000
--- a/gcc13-pr106746-revert.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-Revert:
-[PR106746] drop cselib addr lookup in debug insn mem
-
-The testcase used to get scheduled differently depending on the
-presence of debug insns with MEMs. It's not clear to me why those
-MEMs affected scheduling, but the cselib pre-canonicalization of the
-MEM address is not used at all when analyzing debug insns, so the
-memory allocation and lookup are pure waste. Somehow, avoiding that
-waste fixes the problem, or makes it go latent.
-
-2023-01-19 Alexandre Oliva
-
- PR debug/106746
- * sched-deps.cc (sched_analyze_2): Skip cselib address lookup
- within debug insns.
-
---- gcc/sched-deps.cc
-+++ gcc/sched-deps.cc
-@@ -2605,26 +2605,26 @@ sched_analyze_2 (class deps_desc *deps, rtx x, rtx_insn *insn)
-
- case MEM:
- {
-- if (!DEBUG_INSN_P (insn))
-- {
-- /* Reading memory. */
-- rtx_insn_list *u;
-- rtx_insn_list *pending;
-- rtx_expr_list *pending_mem;
-- rtx t = x;
-+ /* Reading memory. */
-+ rtx_insn_list *u;
-+ rtx_insn_list *pending;
-+ rtx_expr_list *pending_mem;
-+ rtx t = x;
-
-- if (sched_deps_info->use_cselib)
-- {
-- machine_mode address_mode = get_address_mode (t);
--
-- t = shallow_copy_rtx (t);
-- cselib_lookup_from_insn (XEXP (t, 0), address_mode, 1,
-- GET_MODE (t), insn);
-- XEXP (t, 0)
-- = cselib_subst_to_values_from_insn (XEXP (t, 0), GET_MODE (t),
-- insn);
-- }
-+ if (sched_deps_info->use_cselib)
-+ {
-+ machine_mode address_mode = get_address_mode (t);
-+
-+ t = shallow_copy_rtx (t);
-+ cselib_lookup_from_insn (XEXP (t, 0), address_mode, 1,
-+ GET_MODE (t), insn);
-+ XEXP (t, 0)
-+ = cselib_subst_to_values_from_insn (XEXP (t, 0), GET_MODE (t),
-+ insn);
-+ }
-
-+ if (!DEBUG_INSN_P (insn))
-+ {
- t = canon_rtx (t);
- pending = deps->pending_read_insns;
- pending_mem = deps->pending_read_mems;
diff --git a/gcc13-pr108316.patch b/gcc13-pr108316.patch
new file mode 100644
index 0000000..61947b9
--- /dev/null
+++ b/gcc13-pr108316.patch
@@ -0,0 +1,66 @@
+vect: Check gather/scatter offset types [PR108316]
+
+The gather/scatter support can over-widen an offset if the target
+requires it, but this relies on using a pattern sequence to add
+the widening conversion. That failed in the testcase because an
+earlier pattern (bool) took priority.
+
+I think we should allow patterns to be applied to other patterns,
+but that's quite an invasive change and isn't suitable for stage 4.
+This patch instead punts if the offset type doesn't match the
+expected one.
+
+If we switched to using the SLP representation for everything,
+we would probably handle both patterns by rewriting the graph,
+which should be much easier.
+
+gcc/
+ PR tree-optimization/108316
+ * tree-vect-stmts.cc (get_load_store_type): When using
+ internal functions for gather/scatter, make sure that the type
+ of the offset argument is consistent with the offset vector type.
+
+gcc/testsuite/
+ PR tree-optimization/108316
+ * gcc.dg/vect/pr108316.c: New test.
+
+--- gcc/tree-vect-stmts.cc
++++ gcc/tree-vect-stmts.cc
+@@ -2474,6 +2474,23 @@ get_load_store_type (vec_info *vinfo, stmt_vec_info stmt_info,
+ *memory_access_type = VMAT_GATHER_SCATTER;
+ if (!vect_check_gather_scatter (stmt_info, loop_vinfo, gs_info))
+ gcc_unreachable ();
++ /* When using internal functions, we rely on pattern recognition
++ to convert the type of the offset to the type that the target
++ requires, with the result being a call to an internal function.
++ If that failed for some reason (e.g. because another pattern
++ took priority), just handle cases in which the offset already
++ has the right type. */
++ else if (gs_info->ifn != IFN_LAST
++ && !is_gimple_call (stmt_info->stmt)
++ && !tree_nop_conversion_p (TREE_TYPE (gs_info->offset),
++ TREE_TYPE (gs_info->offset_vectype)))
++ {
++ if (dump_enabled_p ())
++ dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
++ "%s offset requires a conversion\n",
++ vls_type == VLS_LOAD ? "gather" : "scatter");
++ return false;
++ }
+ else if (!vect_is_simple_use (gs_info->offset, vinfo,
+ &gs_info->offset_dt,
+ &gs_info->offset_vectype))
+--- gcc/testsuite/gcc.dg/vect/pr108316.c
++++ gcc/testsuite/gcc.dg/vect/pr108316.c
+@@ -0,0 +1,11 @@
++/* { dg-do compile } */
++/* { dg-options "-O3" } */
++
++extern _Bool a[];
++
++void
++foo (short i, int b[][64][1])
++{
++ for (; i < 64; i += 4)
++ a[i] = b[0][i] != 0;
++}
diff --git a/gcc13-pr108692.patch b/gcc13-pr108692.patch
new file mode 100644
index 0000000..3ee8aa8
--- /dev/null
+++ b/gcc13-pr108692.patch
@@ -0,0 +1,74 @@
+2023-02-07 Jakub Jelinek
+
+ PR tree-optimization/108692
+ * tree-vect-patterns.cc (vect_widened_op_tree): If rhs_code is
+ widened_code which is different from code, don't call
+ vect_look_through_possible_promotion but instead just check op is
+ SSA_NAME with integral type for which vect_is_simple_use is true
+ and call set_op on this_unprom.
+
+ * gcc.dg/pr108692.c: New test.
+
+--- gcc/tree-vect-patterns.cc.jj 2023-01-02 09:32:45.635949342 +0100
++++ gcc/tree-vect-patterns.cc 2023-02-07 15:27:33.214608837 +0100
+@@ -601,7 +601,25 @@ vect_widened_op_tree (vec_info *vinfo, s
+ if (shift_p && i == 1)
+ return 0;
+
+- if (!vect_look_through_possible_promotion (vinfo, op, this_unprom))
++ if (rhs_code != code)
++ {
++ /* If rhs_code is widened_code, don't look through further
++ possible promotions, there is a promotion already embedded
++ in the WIDEN_*_EXPR. */
++ if (TREE_CODE (op) != SSA_NAME
++ || !INTEGRAL_TYPE_P (TREE_TYPE (op)))
++ return 0;
++
++ stmt_vec_info def_stmt_info;
++ gimple *def_stmt;
++ vect_def_type dt;
++ if (!vect_is_simple_use (op, vinfo, &dt, &def_stmt_info,
++ &def_stmt))
++ return 0;
++ this_unprom->set_op (op, dt, NULL);
++ }
++ else if (!vect_look_through_possible_promotion (vinfo, op,
++ this_unprom))
+ return 0;
+
+ if (TYPE_PRECISION (this_unprom->type) == TYPE_PRECISION (type))
+--- gcc/testsuite/gcc.dg/pr108692.c.jj 2023-02-07 15:47:20.329076264 +0100
++++ gcc/testsuite/gcc.dg/pr108692.c 2023-02-07 15:46:15.623031983 +0100
+@@ -0,0 +1,31 @@
++/* PR tree-optimization/108692 */
++/* { dg-do compile } */
++/* { dg-options "-O2 -ftree-vectorize" } */
++
++__attribute__((noipa)) int
++foo (signed char *x, signed char *y, int n)
++{
++ int i, r = 0;
++ signed char a, b;
++ for (i = 0; i < n; i++)
++ {
++ a = x[i];
++ b = y[i];
++ int c = (unsigned char) a - (unsigned char) b;
++ r = r + (c < 0 ? -c : c);
++ }
++ return r;
++}
++
++int
++main ()
++{
++ signed char x[64] = {}, y[64] = {};
++ if (__CHAR_BIT__ != 8 || __SIZEOF_INT__ != 4)
++ return 0;
++ x[32] = -128;
++ y[32] = 1;
++ if (foo (x, y, 64) != 127)
++ __builtin_abort ();
++ return 0;
++}
diff --git a/sources b/sources
index db9c9b6..a5a3045 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230127.tar.xz) = 437494fad0d688d8c81d1bc6827bb139894fc74af4ca2d2a71dc7332304a988c4a358af38ffc15ab7c19fd5172398d00d6447301f560517d03a5367967694906
+SHA512 (gcc-13.0.1-20230208.tar.xz) = 55a0d2b5ec00fa83c96b4df9fff77d93020aad808682d9c1bd87f7aed8ecc259b044ae800957ff6fa42c8f6e77cbb2f2cd2f83ff824f584de10bdd1caf201f40
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz) = 91690321bf96460c3b3e229199a6f752ed1c27c6933d4345dc7e237dc068f604ad211bb3a0373e14d4f332bee05b6227d6933e14e0b475ffdfea8b511ab735e6
From 5fe996562e026f50f9e9e4dc18af8d7714fd3c59 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Wed, 15 Feb 2023 16:51:32 +0100
Subject: [PATCH 013/164] 13.0.1-0.4
---
.gitignore | 1 +
gcc.spec | 28 ++++++++++++-----
gcc13-pr108316.patch | 66 ---------------------------------------
gcc13-pr108692.patch | 74 --------------------------------------------
sources | 2 +-
5 files changed, 23 insertions(+), 148 deletions(-)
delete mode 100644 gcc13-pr108316.patch
delete mode 100644 gcc13-pr108692.patch
diff --git a/.gitignore b/.gitignore
index 45a5487..a85ef77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -89,3 +89,4 @@
/gcc-13.0.1-20230127.tar.xz
/newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz
/gcc-13.0.1-20230208.tar.xz
+/gcc-13.0.1-20230215.tar.xz
diff --git a/gcc.spec b/gcc.spec
index b074033..14d4dc1 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230208
-%global gitrev 88db57a1779f3c620653a2a791e54301645befbf
+%global DATE 20230215
+%global gitrev 76b508266ac7460db2e4fe9eba298520ae1eda70
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.3%{?dist}
+Release: %{gcc_release}.4%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -286,8 +286,6 @@ Patch8: gcc13-no-add-needed.patch
Patch9: gcc13-Wno-format-security.patch
Patch10: gcc13-rh1574936.patch
Patch11: gcc13-d-shared-libphobos.patch
-Patch12: gcc13-pr108692.patch
-Patch13: gcc13-pr108316.patch
Patch50: isl-rh2155127.patch
@@ -864,8 +862,6 @@ so that there cannot be any synchronization problems.
%patch10 -p0 -b .rh1574936~
%endif
%patch11 -p0 -b .d-shared-libphobos~
-%patch12 -p0 -b .pr108692~
-%patch13 -p0 -b .pr108316~
%patch50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
@@ -3462,6 +3458,24 @@ end
%endif
%changelog
+* Wed Feb 15 2023 Jakub Jelinek 13.0.1-0.4
+- update from trunk
+ - PRs analyzer/108704, analyzer/108733, analyzer/108745, c++/106675,
+ c++/107079, c++/108698, d/107469, fortran/69636, fortran/103259,
+ fortran/103475, fortran/103779, fortran/107424, fortran/108512,
+ ipa/108605, ipa/108679, libstdc++/103934, middle-end/26854,
+ middle-end/106080, rtl-optimization/108681, sanitizer/108777,
+ target/96373, target/100758, target/103109, target/108102,
+ target/108516, target/108723, target/108738, target/108787,
+ target/108790, testsuite/106120, tree-optimization/28614,
+ tree-optimization/96921, tree-optimization/106722,
+ tree-optimization/107561, tree-optimization/108316,
+ tree-optimization/108355, tree-optimization/108520,
+ tree-optimization/108571, tree-optimization/108684,
+ tree-optimization/108687, tree-optimization/108688,
+ tree-optimization/108691, tree-optimization/108692,
+ tree-optimization/108724, tree-optimization/108782
+
* Wed Feb 8 2023 Jakub Jelinek 13.0.1-0.3
- update from trunk
- PRs analyzer/108616, analyzer/108633, analyzer/108661, c++/101071,
diff --git a/gcc13-pr108316.patch b/gcc13-pr108316.patch
deleted file mode 100644
index 61947b9..0000000
--- a/gcc13-pr108316.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-vect: Check gather/scatter offset types [PR108316]
-
-The gather/scatter support can over-widen an offset if the target
-requires it, but this relies on using a pattern sequence to add
-the widening conversion. That failed in the testcase because an
-earlier pattern (bool) took priority.
-
-I think we should allow patterns to be applied to other patterns,
-but that's quite an invasive change and isn't suitable for stage 4.
-This patch instead punts if the offset type doesn't match the
-expected one.
-
-If we switched to using the SLP representation for everything,
-we would probably handle both patterns by rewriting the graph,
-which should be much easier.
-
-gcc/
- PR tree-optimization/108316
- * tree-vect-stmts.cc (get_load_store_type): When using
- internal functions for gather/scatter, make sure that the type
- of the offset argument is consistent with the offset vector type.
-
-gcc/testsuite/
- PR tree-optimization/108316
- * gcc.dg/vect/pr108316.c: New test.
-
---- gcc/tree-vect-stmts.cc
-+++ gcc/tree-vect-stmts.cc
-@@ -2474,6 +2474,23 @@ get_load_store_type (vec_info *vinfo, stmt_vec_info stmt_info,
- *memory_access_type = VMAT_GATHER_SCATTER;
- if (!vect_check_gather_scatter (stmt_info, loop_vinfo, gs_info))
- gcc_unreachable ();
-+ /* When using internal functions, we rely on pattern recognition
-+ to convert the type of the offset to the type that the target
-+ requires, with the result being a call to an internal function.
-+ If that failed for some reason (e.g. because another pattern
-+ took priority), just handle cases in which the offset already
-+ has the right type. */
-+ else if (gs_info->ifn != IFN_LAST
-+ && !is_gimple_call (stmt_info->stmt)
-+ && !tree_nop_conversion_p (TREE_TYPE (gs_info->offset),
-+ TREE_TYPE (gs_info->offset_vectype)))
-+ {
-+ if (dump_enabled_p ())
-+ dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
-+ "%s offset requires a conversion\n",
-+ vls_type == VLS_LOAD ? "gather" : "scatter");
-+ return false;
-+ }
- else if (!vect_is_simple_use (gs_info->offset, vinfo,
- &gs_info->offset_dt,
- &gs_info->offset_vectype))
---- gcc/testsuite/gcc.dg/vect/pr108316.c
-+++ gcc/testsuite/gcc.dg/vect/pr108316.c
-@@ -0,0 +1,11 @@
-+/* { dg-do compile } */
-+/* { dg-options "-O3" } */
-+
-+extern _Bool a[];
-+
-+void
-+foo (short i, int b[][64][1])
-+{
-+ for (; i < 64; i += 4)
-+ a[i] = b[0][i] != 0;
-+}
diff --git a/gcc13-pr108692.patch b/gcc13-pr108692.patch
deleted file mode 100644
index 3ee8aa8..0000000
--- a/gcc13-pr108692.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-2023-02-07 Jakub Jelinek
-
- PR tree-optimization/108692
- * tree-vect-patterns.cc (vect_widened_op_tree): If rhs_code is
- widened_code which is different from code, don't call
- vect_look_through_possible_promotion but instead just check op is
- SSA_NAME with integral type for which vect_is_simple_use is true
- and call set_op on this_unprom.
-
- * gcc.dg/pr108692.c: New test.
-
---- gcc/tree-vect-patterns.cc.jj 2023-01-02 09:32:45.635949342 +0100
-+++ gcc/tree-vect-patterns.cc 2023-02-07 15:27:33.214608837 +0100
-@@ -601,7 +601,25 @@ vect_widened_op_tree (vec_info *vinfo, s
- if (shift_p && i == 1)
- return 0;
-
-- if (!vect_look_through_possible_promotion (vinfo, op, this_unprom))
-+ if (rhs_code != code)
-+ {
-+ /* If rhs_code is widened_code, don't look through further
-+ possible promotions, there is a promotion already embedded
-+ in the WIDEN_*_EXPR. */
-+ if (TREE_CODE (op) != SSA_NAME
-+ || !INTEGRAL_TYPE_P (TREE_TYPE (op)))
-+ return 0;
-+
-+ stmt_vec_info def_stmt_info;
-+ gimple *def_stmt;
-+ vect_def_type dt;
-+ if (!vect_is_simple_use (op, vinfo, &dt, &def_stmt_info,
-+ &def_stmt))
-+ return 0;
-+ this_unprom->set_op (op, dt, NULL);
-+ }
-+ else if (!vect_look_through_possible_promotion (vinfo, op,
-+ this_unprom))
- return 0;
-
- if (TYPE_PRECISION (this_unprom->type) == TYPE_PRECISION (type))
---- gcc/testsuite/gcc.dg/pr108692.c.jj 2023-02-07 15:47:20.329076264 +0100
-+++ gcc/testsuite/gcc.dg/pr108692.c 2023-02-07 15:46:15.623031983 +0100
-@@ -0,0 +1,31 @@
-+/* PR tree-optimization/108692 */
-+/* { dg-do compile } */
-+/* { dg-options "-O2 -ftree-vectorize" } */
-+
-+__attribute__((noipa)) int
-+foo (signed char *x, signed char *y, int n)
-+{
-+ int i, r = 0;
-+ signed char a, b;
-+ for (i = 0; i < n; i++)
-+ {
-+ a = x[i];
-+ b = y[i];
-+ int c = (unsigned char) a - (unsigned char) b;
-+ r = r + (c < 0 ? -c : c);
-+ }
-+ return r;
-+}
-+
-+int
-+main ()
-+{
-+ signed char x[64] = {}, y[64] = {};
-+ if (__CHAR_BIT__ != 8 || __SIZEOF_INT__ != 4)
-+ return 0;
-+ x[32] = -128;
-+ y[32] = 1;
-+ if (foo (x, y, 64) != 127)
-+ __builtin_abort ();
-+ return 0;
-+}
diff --git a/sources b/sources
index a5a3045..b7af964 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230208.tar.xz) = 55a0d2b5ec00fa83c96b4df9fff77d93020aad808682d9c1bd87f7aed8ecc259b044ae800957ff6fa42c8f6e77cbb2f2cd2f83ff824f584de10bdd1caf201f40
+SHA512 (gcc-13.0.1-20230215.tar.xz) = 630b739424128b17bbde6826164f01fff7a639598881f63c95921168bb35cc7393ceaa63f423bdfb5692ab8ad5a30b99d5681837e05f1b013671373adb2b0b71
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz) = 91690321bf96460c3b3e229199a6f752ed1c27c6933d4345dc7e237dc068f604ad211bb3a0373e14d4f332bee05b6227d6933e14e0b475ffdfea8b511ab735e6
From 95221c62d274b1adb9d4a2d5a227f21ef412e4ad Mon Sep 17 00:00:00 2001
From: Martin Cermak
Date: Mon, 20 Feb 2023 17:27:58 +0100
Subject: [PATCH 014/164] Please ignore: A testing change
---
tests/smoke-test/runtest.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/smoke-test/runtest.sh b/tests/smoke-test/runtest.sh
index 78fda72..7b6a4e9 100755
--- a/tests/smoke-test/runtest.sh
+++ b/tests/smoke-test/runtest.sh
@@ -26,6 +26,8 @@
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+# A testing change.
+
# Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1
From fabc85dc5d9cd4edb3f62e96ae81c2e3ff937eba Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Tue, 21 Feb 2023 12:49:29 +0100
Subject: [PATCH 015/164] 13.0.1-0.5
---
.gitignore | 1 +
gcc.spec | 22 ++++++++++++++++++----
sources | 2 +-
3 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/.gitignore b/.gitignore
index a85ef77..f3b5325 100644
--- a/.gitignore
+++ b/.gitignore
@@ -90,3 +90,4 @@
/newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz
/gcc-13.0.1-20230208.tar.xz
/gcc-13.0.1-20230215.tar.xz
+/gcc-13.0.1-20230221.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 14d4dc1..7014694 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230215
-%global gitrev 76b508266ac7460db2e4fe9eba298520ae1eda70
+%global DATE 20230221
+%global gitrev 467eb8130c9dab8ce72a4f6f39437c1ff382a90c
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.4%{?dist}
+Release: %{gcc_release}.5%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -993,7 +993,7 @@ sed -i 's|libisl\([^-]\)|libgcc13privateisl\1|g' \
../../isl-%{isl_version}/configure \
CC=/usr/bin/gcc CXX=/usr/bin/g++ \
CFLAGS="${CFLAGS:-%optflags} $ISL_FLAG_PIC" --prefix=`cd ..; pwd`/isl-install
-make %{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="${CFLAGS:-%optflags} $ISL_FLAG_PIC"
make install
cd ../isl-install/lib
rm libgcc13privateisl.so{,.23}
@@ -3458,6 +3458,20 @@ end
%endif
%changelog
+* Tue Feb 21 2023 Jakub Jelinek 13.0.1-0.5
+- update from trunk
+ - PRs analyzer/108664, analyzer/108666, analyzer/108725, analyzer/108806,
+ c++/52809, c++/53638, c++/87389, c++/89741, c++/92099, c++/97553,
+ c++/101073, c++/104041, c++/104691, c++/107773, c++/108243,
+ c++/108829, c/105660, c/108375, fortran/103608, fortran/104554,
+ libstdc++/108030, target/90458, target/108805, target/108831,
+ target/108832, target/108862, testsuite/108835,
+ tree-optimization/108657, tree-optimization/108783,
+ tree-optimization/108791, tree-optimization/108816,
+ tree-optimization/108819, tree-optimization/108821,
+ tree-optimization/108825, tree-optimization/108855,
+ tree-optimization/108868
+
* Wed Feb 15 2023 Jakub Jelinek 13.0.1-0.4
- update from trunk
- PRs analyzer/108704, analyzer/108733, analyzer/108745, c++/106675,
diff --git a/sources b/sources
index b7af964..ca2637a 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230215.tar.xz) = 630b739424128b17bbde6826164f01fff7a639598881f63c95921168bb35cc7393ceaa63f423bdfb5692ab8ad5a30b99d5681837e05f1b013671373adb2b0b71
+SHA512 (gcc-13.0.1-20230221.tar.xz) = 7ce594542f3ac5acb07f81d3566309299914500409d149d2d157b8a8bf42e7db0ee4dd924f81d961e64afa882809849b207e5c66ae11972b0365dbaa6d03a2db
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz) = 91690321bf96460c3b3e229199a6f752ed1c27c6933d4345dc7e237dc068f604ad211bb3a0373e14d4f332bee05b6227d6933e14e0b475ffdfea8b511ab735e6
From 863c72823c45380073947d0e0d46d76dc8e90eac Mon Sep 17 00:00:00 2001
From: Martin Cermak
Date: Thu, 23 Feb 2023 18:57:40 +0100
Subject: [PATCH 016/164] CI tests: Setup task for Fedora CI system
---
plans/ci/prepare/prepare.fmf | 6 ++++
plans/ci/prepare/prepare.sh | 54 ++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
create mode 100755 plans/ci/prepare/prepare.fmf
create mode 100755 plans/ci/prepare/prepare.sh
diff --git a/plans/ci/prepare/prepare.fmf b/plans/ci/prepare/prepare.fmf
new file mode 100755
index 0000000..0b8da9f
--- /dev/null
+++ b/plans/ci/prepare/prepare.fmf
@@ -0,0 +1,6 @@
+summary: Setup task
+prepare:
+ script: ./plans/ci/prepare/prepare.sh
+require:
+- koji
+- dnf-utils
diff --git a/plans/ci/prepare/prepare.sh b/plans/ci/prepare/prepare.sh
new file mode 100755
index 0000000..8ffb6ef
--- /dev/null
+++ b/plans/ci/prepare/prepare.sh
@@ -0,0 +1,54 @@
+#!/bin/bash
+
+#
+# Setup task for Fedora CI system. Install the x86_64 GCC build under test
+# along with its respective i686 (compat arch) bits needed for the testing.
+# KOJI_TASK_ID per https://github.com/fedora-ci/dist-git-pipeline/pull/50 .
+#
+
+set -x
+
+true "V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V"
+
+echo "KOJI_TASK_ID=$KOJI_TASK_ID"
+
+. /etc/os-release
+
+if [ "$ID" == "fedora" ] && [ "$(arch)" == "x86_64" ]; then
+
+ if [ -z "${KOJI_TASK_ID}" ]; then
+ echo "Missing koji task ID, skipping ..."
+ exit 0
+ fi
+
+ tmpd=`mktemp -d`
+ pushd $tmpd
+ koji download-task $KOJI_TASK_ID --noprogress --arch=src
+ ls
+ VR=$(rpm -qp gcc* --queryformat='%{version}-%{release}')
+ popd
+ rm -rf $tmpd
+
+ tmpd=`mktemp -d`
+ pushd $tmpd
+ koji download-task $KOJI_TASK_ID --noprogress --arch=x86_64 --arch=noarch
+ rm -f *debuginfo*
+ ls
+ dnf -y install *.rpm
+ popd
+ rm -rf $tmpd
+
+ tmpd=`mktemp -d`
+ pushd $tmpd
+ koji download-task $KOJI_TASK_ID --noprogress --arch=i686
+ rm -f *debuginfo*
+ ls
+ yum -y install libgcc-$VR* libgfortran-$VR* libgomp-$VR* libitm-$VR* \
+ libstdc++-devel-$VR* libstdc++-$VR* libstdc++-static-$VR*
+ popd
+ rm -rf $tmpd
+else
+ echo "Not Fedora x86_64, skipping..."
+fi
+
+true "^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^"
From 19c5115980bbc7711f86bd49dc397296beacc861 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Sat, 4 Mar 2023 19:58:21 +0100
Subject: [PATCH 017/164] 13.0.1-0.6
---
.gitignore | 1 +
gcc.spec | 33 ++++++++++++++++++++++++++++++---
sources | 2 +-
3 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index f3b5325..12e7739 100644
--- a/.gitignore
+++ b/.gitignore
@@ -91,3 +91,4 @@
/gcc-13.0.1-20230208.tar.xz
/gcc-13.0.1-20230215.tar.xz
/gcc-13.0.1-20230221.tar.xz
+/gcc-13.0.1-20230304.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 7014694..2d2fb42 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230221
-%global gitrev 467eb8130c9dab8ce72a4f6f39437c1ff382a90c
+%global DATE 20230304
+%global gitrev 1ae5227bd538f0ad8e5dbda14bde96d1c1db6f55
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.5%{?dist}
+Release: %{gcc_release}.6%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -3458,6 +3458,33 @@ end
%endif
%changelog
+* Sat Mar 4 2023 Jakub Jelinek 13.0.1-0.6
+- update from trunk
+ - PRs ada/108909, analyzer/107565, analyzer/108830, analyzer/108935,
+ analyzer/108968, analyzer/109016, c++/100127, c++/105224, c++/105839,
+ c++/106259, c++/107574, c++/107938, c++/108218, c++/108219,
+ c++/108550, c++/108606, c++/108702, c++/108848, c++/108934,
+ c++/108998, c/107465, c/107846, c/108880, c/108986, d/108167,
+ d/108763, d/108877, d/108945, d/108946, debug/108716, debug/108772,
+ debug/108967, fortran/96024, fortran/96025, fortran/108621,
+ fortran/108923, fortran/108924, fortran/108937, jit/107999,
+ libquadmath/87204, libquadmath/94756, libstdc++/52590,
+ libstdc++/95989, libstdc++/104852, libstdc++/108846, libstdc++/108856,
+ libstdc++/108952, middle-end/97956, middle-end/106258,
+ middle-end/107411, middle-end/108545, middle-end/108546,
+ middle-end/108854, middle-end/109006, modula2/108261, modula2/108944,
+ modula2/108956, pch/14940, sanitizer/108834, sanitizer/108894,
+ target/51534, target/104882, target/108240, target/108876,
+ target/108881, target/108883, target/108910, target/108919,
+ target/108922, testsuite/79356, testsuite/91419, testsuite/108899,
+ testsuite/108942, testsuite/108973, testsuite/108985,
+ testsuite/108991, translation/108890, tree-optimization/108430,
+ tree-optimization/108603, tree-optimization/108793,
+ tree-optimization/108828, tree-optimization/108888,
+ tree-optimization/108950, tree-optimization/108970,
+ tree-optimization/108979, tree-optimization/108988,
+ tree-optimization/109002
+
* Tue Feb 21 2023 Jakub Jelinek 13.0.1-0.5
- update from trunk
- PRs analyzer/108664, analyzer/108666, analyzer/108725, analyzer/108806,
diff --git a/sources b/sources
index ca2637a..7b2af4a 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230221.tar.xz) = 7ce594542f3ac5acb07f81d3566309299914500409d149d2d157b8a8bf42e7db0ee4dd924f81d961e64afa882809849b207e5c66ae11972b0365dbaa6d03a2db
+SHA512 (gcc-13.0.1-20230304.tar.xz) = b9b21080f17737a3f9cbb2b6f152dbf538edc1f011859162586ad034fe48437b26b02bb9978f390d37600c3b035650aed7b6adb72605ea74c61d3615d2669ade
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz) = 91690321bf96460c3b3e229199a6f752ed1c27c6933d4345dc7e237dc068f604ad211bb3a0373e14d4f332bee05b6227d6933e14e0b475ffdfea8b511ab735e6
From 75ecbee53ff33ea94234061d0aed2368f683d214 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Fri, 10 Mar 2023 22:07:43 +0100
Subject: [PATCH 018/164] 13.0.1-0.7
---
.gitignore | 1 +
gcc.spec | 23 ++++++++++++++++++++---
sources | 2 +-
3 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index 12e7739..a730ea8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -92,3 +92,4 @@
/gcc-13.0.1-20230215.tar.xz
/gcc-13.0.1-20230221.tar.xz
/gcc-13.0.1-20230304.tar.xz
+/gcc-13.0.1-20230310.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 2d2fb42..b1e02e7 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230304
-%global gitrev 1ae5227bd538f0ad8e5dbda14bde96d1c1db6f55
+%global DATE 20230310
+%global gitrev e521a1b4c34b3e387c764c429f0f8c11361c3279
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.6%{?dist}
+Release: %{gcc_release}.7%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -3458,6 +3458,23 @@ end
%endif
%changelog
+* Fri Mar 10 2023 Jakub Jelinek 13.0.1-0.7
+- update from trunk
+ - PRs ada/108858, ada/108983, analyzer/102671, analyzer/105755,
+ analyzer/108251, analyzer/108400, analyzer/108475, analyzer/109059,
+ analyzer/109060, c++/102529, c++/105841, c++/106651, c++/107532,
+ c++/107558, c++/107939, c++/108099, c++/108542, c++/108566,
+ c++/108773, c++/108972, c++/109030, c++/109039, c++/109042, c/108079,
+ driver/108865, fortran/104332, fortran/106856, libgcc/108727,
+ libgomp/90596, libgomp/109062, libstdc++/107572, libstdc++/108362,
+ libstdc++/108882, libstdc++/109024, libstdc++/109064,
+ middle-end/108995, other/108464, plugins/108634, sanitizer/81649,
+ sanitizer/108060, sanitizer/109050, target/107299, target/107703,
+ target/107998, target/108185, target/108429, target/108654,
+ target/109000, testsuite/70150, testsuite/108729, testsuite/108730,
+ testsuite/108810, testsuite/108813, tree-optimization/108980,
+ tree-optimization/109008, tree-optimization/109025
+
* Sat Mar 4 2023 Jakub Jelinek 13.0.1-0.6
- update from trunk
- PRs ada/108909, analyzer/107565, analyzer/108830, analyzer/108935,
diff --git a/sources b/sources
index 7b2af4a..36a44df 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230304.tar.xz) = b9b21080f17737a3f9cbb2b6f152dbf538edc1f011859162586ad034fe48437b26b02bb9978f390d37600c3b035650aed7b6adb72605ea74c61d3615d2669ade
+SHA512 (gcc-13.0.1-20230310.tar.xz) = 726b4f4b7559ea5237ac278e7cd472c2c14b88625c478aed30236c0c187e6a4d819ec72e022362b195a0d3f5da8f86a2e6c20c9f8bf267da9eaa0a67d3d47903
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz) = 91690321bf96460c3b3e229199a6f752ed1c27c6933d4345dc7e237dc068f604ad211bb3a0373e14d4f332bee05b6227d6933e14e0b475ffdfea8b511ab735e6
From 99a093cb4f64f29953d66fb7b3cfbc0520974298 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Sat, 18 Mar 2023 09:37:39 +0100
Subject: [PATCH 019/164] 13.0.1-0.8
---
.gitignore | 1 +
gcc.spec | 29 ++++++++++++++++++++++++++---
sources | 2 +-
3 files changed, 28 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index a730ea8..e9fb0ca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -93,3 +93,4 @@
/gcc-13.0.1-20230221.tar.xz
/gcc-13.0.1-20230304.tar.xz
/gcc-13.0.1-20230310.tar.xz
+/gcc-13.0.1-20230318.tar.xz
diff --git a/gcc.spec b/gcc.spec
index b1e02e7..b21b3f7 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230310
-%global gitrev e521a1b4c34b3e387c764c429f0f8c11361c3279
+%global DATE 20230318
+%global gitrev 24c7659a6ceb150243ffcbb95401b05e70d3fff8
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.7%{?dist}
+Release: %{gcc_release}.8%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -3458,6 +3458,29 @@ end
%endif
%changelog
+* Sat Mar 18 2023 Jakub Jelinek 13.0.1-0.8
+- update from trunk
+ - PRs analyzer/105906, analyzer/108045, analyzer/109097, c++/58538,
+ c++/69410, c++/95036, c++/96830, c++/98056, c++/100288, c++/101869,
+ c++/103871, c++/104107, c++/105406, c++/105809, c++/107128,
+ c++/107280, c++/107310, c++/108179, c++/108242, c++/108468,
+ c++/108975, c++/109096, c++/109172, c/109151, d/109108, d/109144,
+ fortran/37336, fortran/58331, fortran/64290, fortran/67444,
+ fortran/67471, fortran/69298, fortran/70863, fortran/71798,
+ fortran/80524, fortran/82996, fortran/84472, fortran/88735,
+ fortran/91316, fortran/93691, fortran/96122, fortran/103854,
+ fortran/106576, fortran/106945, ipa/107925, libstdc++/62196,
+ libstdc++/109111, libstdc++/109165, middle-end/106133,
+ middle-end/108685, middle-end/109031, modula2/109032, modula2/109089,
+ modula2/109102, modula2/109103, modula2/109125, other/109086,
+ preprocessor/67046, rtl-optimization/107762, rtl-optimization/109179,
+ target/105554, target/108583, target/109092, target/109109,
+ target/109117, testsuite/109118, testsuite/109129, testsuite/109145,
+ tree-optimization/106896, tree-optimization/109005,
+ tree-optimization/109046, tree-optimization/109115,
+ tree-optimization/109123, tree-optimization/109139,
+ tree-optimization/109141, web/88860
+
* Fri Mar 10 2023 Jakub Jelinek 13.0.1-0.7
- update from trunk
- PRs ada/108858, ada/108983, analyzer/102671, analyzer/105755,
diff --git a/sources b/sources
index 36a44df..f1658e5 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230310.tar.xz) = 726b4f4b7559ea5237ac278e7cd472c2c14b88625c478aed30236c0c187e6a4d819ec72e022362b195a0d3f5da8f86a2e6c20c9f8bf267da9eaa0a67d3d47903
+SHA512 (gcc-13.0.1-20230318.tar.xz) = 691f0d15e19fd89ca6003f443fe9363f9acbb57920869a51c1ecb4938d225f0c02502a74d6cd224464b68a8f420374e5f6d9685c37ecd936f82a9a1c27b15c79
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz) = 91690321bf96460c3b3e229199a6f752ed1c27c6933d4345dc7e237dc068f604ad211bb3a0373e14d4f332bee05b6227d6933e14e0b475ffdfea8b511ab735e6
From 28a41d7ec1f267a765d87706f3570228a65b5b41 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Tue, 21 Mar 2023 20:57:59 +0100
Subject: [PATCH 020/164] 13.0.1-0.9
---
.gitignore | 2 ++
gcc.spec | 19 +++++++++++++----
gcc13-pr109230.patch | 51 ++++++++++++++++++++++++++++++++++++++++++++
sources | 4 ++--
4 files changed, 70 insertions(+), 6 deletions(-)
create mode 100644 gcc13-pr109230.patch
diff --git a/.gitignore b/.gitignore
index e9fb0ca..70c4e12 100644
--- a/.gitignore
+++ b/.gitignore
@@ -94,3 +94,5 @@
/gcc-13.0.1-20230304.tar.xz
/gcc-13.0.1-20230310.tar.xz
/gcc-13.0.1-20230318.tar.xz
+/gcc-13.0.1-20230321.tar.xz
+/nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz
diff --git a/gcc.spec b/gcc.spec
index b21b3f7..7f3ade5 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,11 +1,11 @@
-%global DATE 20230318
-%global gitrev 24c7659a6ceb150243ffcbb95401b05e70d3fff8
+%global DATE 20230321
+%global gitrev 631cc7b96752740a3fdfd960b503d64faf02c1b6
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
%global gcc_release 0
-%global nvptx_tools_gitrev 472b6e78b3ba918d727698f79911360b7c808247
+%global nvptx_tools_gitrev 93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b
%global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409
%global _unpackaged_files_terminate_build 0
%global _performance_build 1
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.8%{?dist}
+Release: %{gcc_release}.9%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -286,6 +286,7 @@ Patch8: gcc13-no-add-needed.patch
Patch9: gcc13-Wno-format-security.patch
Patch10: gcc13-rh1574936.patch
Patch11: gcc13-d-shared-libphobos.patch
+Patch12: gcc13-pr109230.patch
Patch50: isl-rh2155127.patch
@@ -862,6 +863,7 @@ so that there cannot be any synchronization problems.
%patch10 -p0 -b .rh1574936~
%endif
%patch11 -p0 -b .d-shared-libphobos~
+%patch12 -p0 -b .pr109230~
%patch50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
@@ -3458,6 +3460,15 @@ end
%endif
%changelog
+* Tue Mar 21 2023 Jakub Jelinek 13.0.1-0.9
+- update from trunk
+ - PRs analyzer/109094, c++/106890, c++/109159, c++/109164, fortran/85877,
+ fortran/87127, fortran/99036, fortran/109186, fortran/109206,
+ fortran/109209, fortran/109216, libstdc++/109182, target/109067,
+ target/109178, testsuite/108898, tree-optimization/109170,
+ tree-optimization/109192, tree-optimization/109215,
+ tree-optimization/109219
+
* Sat Mar 18 2023 Jakub Jelinek 13.0.1-0.8
- update from trunk
- PRs analyzer/105906, analyzer/108045, analyzer/109097, c++/58538,
diff --git a/gcc13-pr109230.patch b/gcc13-pr109230.patch
new file mode 100644
index 0000000..141b95e
--- /dev/null
+++ b/gcc13-pr109230.patch
@@ -0,0 +1,51 @@
+2023-03-21 Jakub Jelinek
+
+ PR tree-optimization/109230
+ * match.pd (fneg/fadd simplify): Verify also odd permutation indexes.
+
+ * gcc.dg/pr109230.c: New test.
+
+--- gcc/match.pd.jj 2023-02-18 12:38:30.967022708 +0100
++++ gcc/match.pd 2023-03-21 19:59:40.209634256 +0100
+@@ -8096,6 +8096,7 @@ and,
+ scalar_mode inner_mode = GET_MODE_INNER (vec_mode);
+ }
+ (if (sel.series_p (0, 2, 0, 2)
++ && sel.series_p (1, 2, nelts + 1, 2)
+ && GET_MODE_2XWIDER_MODE (inner_mode).exists (&wide_elt_mode)
+ && multiple_p (GET_MODE_NUNITS (vec_mode), 2, &wide_nunits)
+ && related_vector_mode (vec_mode, wide_elt_mode,
+--- gcc/testsuite/gcc.dg/pr109230.c.jj 2023-03-21 20:03:52.811979268 +0100
++++ gcc/testsuite/gcc.dg/pr109230.c 2023-03-21 20:03:35.884224342 +0100
+@@ -0,0 +1,31 @@
++/* PR tree-optimization/109230 */
++/* { dg-do run } */
++/* { dg-options "-O2 -Wno-psabi" } */
++
++#if __SIZEOF_FLOAT__ == __SIZEOF_INT__
++typedef float V __attribute__((vector_size (4 * sizeof (float))));
++typedef int VI __attribute__((vector_size (4 * sizeof (float))));
++
++__attribute__((noipa)) V
++foo (V x, V y)
++{
++ V a = x - y;
++ V b = y + x;
++ return __builtin_shuffle (b, a, (VI) { 0, 5, 2, 3 });
++}
++
++int
++main ()
++{
++ V a = (V) { 1.0f, 2.0f, 3.0f, 4.0f };
++ V b = (V) { 8.0f, 9.0f, 10.0f, 11.0f };
++ V c = foo (a, b);
++ if (c[0] != 9.0f || c[1] != -7.0f || c[2] != 13.0f || c[3] != 15.0f)
++ __builtin_abort ();
++}
++#else
++int
++main ()
++{
++}
++#endif
diff --git a/sources b/sources
index f1658e5..8bcfac4 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230318.tar.xz) = 691f0d15e19fd89ca6003f443fe9363f9acbb57920869a51c1ecb4938d225f0c02502a74d6cd224464b68a8f420374e5f6d9685c37ecd936f82a9a1c27b15c79
+SHA512 (gcc-13.0.1-20230321.tar.xz) = 92031a51ab6c41d02e081d2013bf33f30a1b483fb4bf37349a683e71ee479dec877edb6e8735092326ed6e5c4081bb14d4be888a648fec948c11c58c06ced455
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
-SHA512 (nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz) = 91690321bf96460c3b3e229199a6f752ed1c27c6933d4345dc7e237dc068f604ad211bb3a0373e14d4f332bee05b6227d6933e14e0b475ffdfea8b511ab735e6
+SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
From 5e48ef55f5bc39af1dbf59e829420c480739b3b0 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Tue, 21 Mar 2023 22:02:15 +0100
Subject: [PATCH 021/164] 13.0.1-0.9
---
gcc13-rh1574936.patch | 29 ++++++++++-------------------
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git a/gcc13-rh1574936.patch b/gcc13-rh1574936.patch
index 6b4be0c..bcc7000 100644
--- a/gcc13-rh1574936.patch
+++ b/gcc13-rh1574936.patch
@@ -7,24 +7,15 @@ these notes only confer that there is no other annobin markup.
2018-07-25 Florian Weimer
- * Makefile.in (LIBGCC2_CFLAGS, CRTSTUFF_CFLAGS): Add
+ * config/t-linux (LIBGCC2_CFLAGS, CRTSTUFF_CFLAGS): Add
-Wa,--generate-missing-build-notes=yes.
---- libgcc/Makefile.in 2018-01-13 13:05:41.000000000 +0100
-+++ libgcc/Makefile.in 2018-07-25 13:15:02.036226940 +0200
-@@ -246,6 +246,7 @@ LIBGCC2_DEBUG_CFLAGS = -g
- LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(HOST_LIBGCC2_CFLAGS) \
- $(LIBGCC2_DEBUG_CFLAGS) -DIN_LIBGCC2 \
- -fbuilding-libgcc -fno-stack-protector \
-+ -Wa,--generate-missing-build-notes=yes \
- $(INHIBIT_LIBC_CFLAGS)
-
- # Additional options to use when compiling libgcc2.a.
-@@ -301,6 +302,7 @@ CRTSTUFF_CFLAGS = -O2 $(GCC_CFLAGS) $(IN
- $(NO_PIE_CFLAGS) -finhibit-size-directive -fno-inline -fno-exceptions \
- -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize \
- -fbuilding-libgcc -fno-stack-protector $(FORCE_EXPLICIT_EH_REGISTRY) \
-+ -Wa,--generate-missing-build-notes=yes \
- $(INHIBIT_LIBC_CFLAGS) $(USE_TM_CLONE_REGISTRY)
-
- # Extra flags to use when compiling crt{begin,end}.o.
+--- libgcc/config/t-linux 2022-12-15 19:25:20.581394950 +0100
++++ libgcc/config/t-linux 2023-03-21 22:00:37.054478562 +0100
+@@ -1,3 +1,6 @@
+ # Override t-slibgcc-elf-ver to export some libgcc symbols with
+ # the symbol versions that glibc used.
+ SHLIB_MAPFILES += $(srcdir)/config/libgcc-glibc.ver
++
++LIBGCC2_CFLAGS += -Wa,--generate-missing-build-notes=yes
++CRTSTUFF_CFLAGS += -Wa,--generate-missing-build-notes=yes
From cf965d214e6c8e061b67edfe9d875b8d7edf9da7 Mon Sep 17 00:00:00 2001
From: Martin Cermak
Date: Fri, 24 Mar 2023 09:46:16 +0100
Subject: [PATCH 022/164] CI Tests: Make the CI testplan more compact
---
plans/ci.fmf | 4 ++++
plans/ci/prepare/prepare.fmf | 6 ------
plans/{ci/prepare => }/prepare.sh | 0
3 files changed, 4 insertions(+), 6 deletions(-)
delete mode 100755 plans/ci/prepare/prepare.fmf
rename plans/{ci/prepare => }/prepare.sh (100%)
diff --git a/plans/ci.fmf b/plans/ci.fmf
index 85710d6..13b60db 100644
--- a/plans/ci.fmf
+++ b/plans/ci.fmf
@@ -2,5 +2,9 @@ summary: CI Gating Plan
discover:
how: fmf
directory: tests
+prepare:
+ - name: prepare
+ how: shell
+ script: ./plans/prepare.sh
execute:
how: tmt
diff --git a/plans/ci/prepare/prepare.fmf b/plans/ci/prepare/prepare.fmf
deleted file mode 100755
index 0b8da9f..0000000
--- a/plans/ci/prepare/prepare.fmf
+++ /dev/null
@@ -1,6 +0,0 @@
-summary: Setup task
-prepare:
- script: ./plans/ci/prepare/prepare.sh
-require:
-- koji
-- dnf-utils
diff --git a/plans/ci/prepare/prepare.sh b/plans/prepare.sh
similarity index 100%
rename from plans/ci/prepare/prepare.sh
rename to plans/prepare.sh
From 8e1f20bf3a8278a50854f7fbaa1e0c4f3778ff9e Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Fri, 24 Mar 2023 11:52:24 +0100
Subject: [PATCH 023/164] 13.0.1-0.10
---
gcc.spec | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/gcc.spec b/gcc.spec
index 7f3ade5..9e73918 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230321
-%global gitrev 631cc7b96752740a3fdfd960b503d64faf02c1b6
+%global DATE 20230324
+%global gitrev 053e16ff35e0921f66d5b48f2b2e4a51eca89e43
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.9%{?dist}
+Release: %{gcc_release}.10%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -3460,6 +3460,15 @@ end
%endif
%changelog
+* Fri Mar 24 2023 Jakub Jelinek 13.0.1-0.10
+- update from trunk
+ - PRs analyzer/109239, c++/105996, c++/108390, c++/108795, c++/109177,
+ c++/109241, c/84900, fortran/104572, middle-end/109258,
+ modula2/107630, modula2/109248, modula2/109264, target/103628,
+ target/109137, target/109228, target/109244, testsuite/105959,
+ tree-optimization/99739, tree-optimization/107569,
+ tree-optimization/109176, tree-optimization/109262
+
* Tue Mar 21 2023 Jakub Jelinek 13.0.1-0.9
- update from trunk
- PRs analyzer/109094, c++/106890, c++/109159, c++/109164, fortran/85877,
From 3c30ab4799b5e8425513fe2f8f1965a46a7483c6 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Fri, 24 Mar 2023 12:02:07 +0100
Subject: [PATCH 024/164] 13.0.1-0.10
---
.gitignore | 1 +
sources | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 70c4e12..de140a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -96,3 +96,4 @@
/gcc-13.0.1-20230318.tar.xz
/gcc-13.0.1-20230321.tar.xz
/nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz
+/gcc-13.0.1-20230324.tar.xz
diff --git a/sources b/sources
index 8bcfac4..47f1d0c 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230321.tar.xz) = 92031a51ab6c41d02e081d2013bf33f30a1b483fb4bf37349a683e71ee479dec877edb6e8735092326ed6e5c4081bb14d4be888a648fec948c11c58c06ced455
+SHA512 (gcc-13.0.1-20230324.tar.xz) = 17f0cdd640232508d316cc02664a2e159a97fa2253b3884862f97f02e60bed45630dfd1811472fdc2215d094a2ac3e7cd05011364f069ca14f741db055d6cd9f
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
From 02ae2beb4c1b5d5281a5892a022d6c51055d7df9 Mon Sep 17 00:00:00 2001
From: Shmuel Melamud
Date: Thu, 2 Mar 2023 17:53:30 +0200
Subject: [PATCH 025/164] Added missing dependencies of Sanity/rebuild-glibc
test.
---
tests/Sanity/rebuild-glibc/main.fmf | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/Sanity/rebuild-glibc/main.fmf b/tests/Sanity/rebuild-glibc/main.fmf
index 01729a4..ea649f0 100644
--- a/tests/Sanity/rebuild-glibc/main.fmf
+++ b/tests/Sanity/rebuild-glibc/main.fmf
@@ -10,7 +10,9 @@ framework: beakerlib
require:
- audit-libs-devel
- binutils
+ - bison
- gcc
+ - gcc-c++
- gd-devel
- glibc-devel
- glibc-static
@@ -26,8 +28,11 @@ require:
- nss-devel
- nss-softokn-devel
- nss-util-devel
+ - python3-devel
- rpm-build
- systemtap-sdt-devel
+ - texinfo
+ - valgrind
- yum-utils
recommend:
- glibc-devel.ppc
@@ -64,6 +69,9 @@ adjust:
- libstdc++-static.i686
- libstdc++-static.x86_64
when: arch == x86_64
+ - require-:
+ - python3-devel
+ when: distro < rhel-8
- enabled: false
when: collection is defined
continue: false
From 85fff34818f25219aec1a286dd1f9bf2af6c9448 Mon Sep 17 00:00:00 2001
From: Andrej Cernek
Date: Thu, 26 Jan 2023 10:26:48 +0100
Subject: [PATCH 026/164] test-m32-m54-options: manage dependencies in fmf file
Also include updated script from the RHEL tests and fixes for rawhide.
Note: dependencies were configured for x86_64 only.
---
tests/Sanity/test-m32-m64-options/cpp11.cpp | 2 +-
.../test-m32-m64-options/lambda-template.C | 2 +-
tests/Sanity/test-m32-m64-options/main.fmf | 59 ++--
tests/Sanity/test-m32-m64-options/runtest.sh | 268 ++++++++----------
4 files changed, 146 insertions(+), 185 deletions(-)
diff --git a/tests/Sanity/test-m32-m64-options/cpp11.cpp b/tests/Sanity/test-m32-m64-options/cpp11.cpp
index 649daec..0d57b57 100644
--- a/tests/Sanity/test-m32-m64-options/cpp11.cpp
+++ b/tests/Sanity/test-m32-m64-options/cpp11.cpp
@@ -3,7 +3,7 @@ class X
{
T p;
public:
- template auto f() -> decltype(+p) { }
+ template auto f() -> decltype(+p) { return p; }
};
struct A
diff --git a/tests/Sanity/test-m32-m64-options/lambda-template.C b/tests/Sanity/test-m32-m64-options/lambda-template.C
index b4db3b8..6f3b4e8 100644
--- a/tests/Sanity/test-m32-m64-options/lambda-template.C
+++ b/tests/Sanity/test-m32-m64-options/lambda-template.C
@@ -10,7 +10,7 @@ auto apply (T t) -> decltype (t())
}
template
-T f(T t)
+void f(T t)
{
T t2 = t;
if (t != [=]()->T { return t; }())
diff --git a/tests/Sanity/test-m32-m64-options/main.fmf b/tests/Sanity/test-m32-m64-options/main.fmf
index 04472ac..cef912f 100644
--- a/tests/Sanity/test-m32-m64-options/main.fmf
+++ b/tests/Sanity/test-m32-m64-options/main.fmf
@@ -1,5 +1,5 @@
summary: Try -m32 and -m64 options.
-description: ''
+description: Try -m32 and -m64 options
contact: mcermak@redhat.com
component:
- gcc
@@ -10,20 +10,16 @@ require:
- gcc
- gcc-c++
- gcc-gfortran
- - glibc-common
- - libgcc
- - libgomp
- - libgfortran
- - libstdc++
- - libstdc++-devel
- glibc-devel
+ - libgfortran
+ - libgomp
+ - libstdc++-devel
- libitm
recommend:
- - libgfortran44.i686
- - libgfortran44.x86_64
- - libgfortran4.i686
- - libgfortran4.x86_64
-duration: 10m
+ - libgfortran5
+ - libitm-devel
+ - libquadmath-devel
+duration: 20m
enabled: true
link:
- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1113429
@@ -31,21 +27,32 @@ adjust:
- enabled: false
when: arch == ia64, ppc64, s390, s390x
continue: false
- - require+:
- - glibc-devel.i686
- - glibc-devel.x86_64
- - libgcc.i686
- - libgcc.x86_64
- - libgfortran.i686
- - libgfortran.x86_64
- - libgomp.i686
- - libgomp.x86_64
- - libitm.i686
- - libitm.x86_64
- - libstdc++.i686
- - libstdc++.x86_64
- when: arch == x86_64
+ - enabled: false
+ when: arch == aarch64
continue: false
+ because: no -m64 nor -m32 there
+ - require+:
+ - glibc-devel.x86_64
+ - glibc-devel.i686
+ - libgfortran.x86_64
+ - libgfortran.i686
+ - libstdc++-devel.x86_64
+ - libstdc++-devel.i686
+ - libitm.x86_64
+ - libitm.i686
+ - libgomp.x86_64
+ - libgomp.i686
+ - libquadmath.x86_64
+ - libquadmath.i686
+ when: arch == x86_64
+ - recommend+:
+ - libgfortran5.x86_64
+ - libgfortran5.i686
+ - libitm-devel.x86_64
+ - libitm-devel.i686
+ - libquadmath-devel.x86_64
+ - libquadmath-devel.i686
+ when: arch == x86_64
extra-nitrate: TC#0197178
extra-summary: /tools/gcc/Sanity/test-m32-m64-options
extra-task: /tools/gcc/Sanity/test-m32-m64-options
diff --git a/tests/Sanity/test-m32-m64-options/runtest.sh b/tests/Sanity/test-m32-m64-options/runtest.sh
index 15e99af..31b8241 100755
--- a/tests/Sanity/test-m32-m64-options/runtest.sh
+++ b/tests/Sanity/test-m32-m64-options/runtest.sh
@@ -26,188 +26,142 @@
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-# This is for Toolset.
-#
# In this test, we try to compile and run programs using -m32 and -m64.
# We compile C, C++ and Fortran Hello World programs. Also, there are two
# proglets which are exercising some C++11 features. Furthermore, we try
# -fgnu-tm, -fopenmp options. We also use libquadmath a little bit.
# We call a function from libgcc. We also use the __thread keyword.
-# Everything should be ok when running under e.g.:
-# scl enable devtoolset-1.0 bash
-# Note, that gfortran is not a part of 1.0 release.
# Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1
-PACKAGES=(gcc gcc-c++ gcc-gfortran glibc-common libgcc libgomp libgfortran glibc-devel libitm)
+GCC=${GCC:-$(type -P gcc)}
+GCC_RPM_NAME=$(rpm --qf '%{name}' -qf $GCC)
-PACKAGES_X86_64=(libgomp libgfortran glibc-devel libgcc libitm)
+[[ "$GCC_RPM_NAME" == *toolset* ]] && TOOLSET=${GCC_RPM_NAME%-gcc} || TOOLSET=''
-# Choose the compiler.
-GCC=${GCC:-gcc}
-GXX=${GXX:-g++}
-GFORTRAN=${GFORTRAN:-gfortran}
-
-PACKAGE=$GCC
-
-# Set the variabile UNDER_DTS on non-empty string, when run under devtoolset
-if $( echo `which gcc` | grep -qE '/opt/rh/' ); then
- UNDER_DTS="true"
- # Set the actual version of DTS
- DTS=`which gcc | awk 'BEGIN { FS="/" } { print $4 }'`
+if [ -n "`rlGetPrimaryArch`" ]; then
+ PRI_ARCH=$(rlGetPrimaryArch)
+else
+ PRI_ARCH="$(uname -i)"
fi
-rlJournalStart
- rlPhaseStartSetup
- for p in "${PACKAGES[@]}"; do
- rpm -q "$p" || yum install -y $p
- rlAssertRpm "$p"
- done; unset p
- yum update -y libitm # this is a hack, since libitm is a troublemaker
- if [ -n "`rlGetSecondaryArch`" ]; then
- rlCheckRpm "libitm.`rlGetSecondaryArch`" || yum install -y libitm.`rlGetSecondaryArch`
- rlAssertRpm "libitm.`rlGetSecondaryArch`"
- fi
-
- rlCheckRpm "libstdc++-devel.`rlGetPrimaryArch`" || yum install -y libstdc++-devel.`rlGetPrimaryArch`
- rlAssertRpm "libstdc++-devel.`rlGetPrimaryArch`"
- # RHEL-8 CI debugging hack (to be removed when not needed):
- rlRun "rpmquery -l libstdc++-devel.`rlGetPrimaryArch` | grep -e bits/c++config"
- rlRun "rpmquery -l libstdc++-devel.`rlGetPrimaryArch` | grep -e iostream"
-
- if [ -n "`rlGetSecondaryArch`" ]; then
- rlCheckRpm "libitm.`rlGetSecondaryArch`" || yum install -y libitm.`rlGetSecondaryArch`
- rlAssertRpm "libitm.`rlGetSecondaryArch`"
- fi
-
- if [ ! -z ${UNDER_DTS} ]; then
- rlCheckRpm "$DTS-libstdc++-devel" || yum install -y $DTS-libstdc++-devel
- rlAssertRpm "$DTS-libstdc++-devel"
- if [ "`arch`" = 'x86_64' ]; then
- rlCheckRpm "$DTS-libquadmath-devel" || yum install -y $DTS-libquadmath-devel
- rlAssertRpm "$DTS-libquadmath-devel"
- fi
- if rlIsRHEL '<=7'; then # no libgfortran[45] on RHEL8+
- rlCheckRpm "libgfortran4" || yum install -y libgfortran4
- if [ -n "`rlGetSecondaryArch`" ]; then
- rlCheckRpm "libgfortran4.`rlGetSecondaryArch`" || yum install -y libgfortran4.`rlGetSecondaryArch`
- rlAssertRpm "libgfortran4.`rlGetSecondaryArch`"
+# State applicable -m switches
+SWITCHES='-m64 -m32'
+case "$PRI_ARCH" in
+ i686)
+ SWITCHES=-m32 # just base RHEL-6/i386
+ ;;
+ ppc64le) # we never had 32 support there
+ SWITCHES=-m64
+ ;;
+ aarch64)
+ # Not only we never had 32-bit support there, GCC on this architecture
+ # doesn't accept the -m64 switch either. This test isn't applicable
+ # at all and should be excluded by its relevancy, e.g. in TCMS:
+ # arch = aarch64: False
+ exit 1
+ ;;
+ ppc64|s390x) # 32-bit support present only in system GCC of RHEL <8
+ if [[ -z "$TOOLSET" ]] && rlIsRHEL '<8'; then
+ if [[ "$PRI_ARCH" != s390x ]]; then
+ SWITCHES='-m64 -m32'
+ else
+ SWITCHES='-m64 -m31'
+ fi
+ else
+ SWITCHES=-m64
fi
- rlCheckRpm "libgfortran5" || yum install -y libgfortran5
- rlAssertRpm "libgfortran5" && yum -y update libgfortran5
- if [ -n "`rlGetSecondaryArch`" ]; then
- rlCheckRpm "libgfortran5.`rlGetSecondaryArch`" || yum install -y libgfortran5.`rlGetSecondaryArch`
- rlAssertRpm "libgfortran5.`rlGetSecondaryArch`"
- fi
- fi
- fi
-
- # Check whether on rhel6 x86_64 i686-packages are installed too.
- # On rhel5 i386-packages should be already installed.
- if [ "$(uname -i)" == "x86_64" ]; then
- for pack in "${PACKAGES_X86_64[@]}"; do
- rpm -q ${pack}.i?86 || yum install -y ${pack}.i?86
- done; unset pack
-
- if [ ! -z ${UNDER_DTS} ]; then
- yum install -y $DTS-libstdc++-devel.i?86
- yum install -y $DTS-libquadmath-devel.i?86
- fi
- fi
-
- rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
- # We need some files.
- rlRun "cp -v hello.{c,cpp,f90} tm.c quad.c thr-init-2.c \
- clear_cache.c omphello.c lambda-template.C cpp11.cpp $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartSetup "Showing compiler versions"
- for compiler in $GCC $GXX $GFORTRAN
- do
- rlLog "Version of compiler: $compiler"
- eval "$compiler --version 2>&1" | while read line
- do
- rlLog " $line"
- done
- done
- rlPhaseEnd
-
-ARCH="$(uname -i)"
-case "$ARCH" in
- "aarch64") export SWITCHES="-mlittle-endian" # we don't have -m64, so let's use some dummy switch that is enabled by default
- ;;
- "i386") export SWITCHES="-m32"
- ;;
- "ppc64") export SWITCHES="-m32 -m64"
- ;;
- "ppc64le") export SWITCHES="-m64"
- ;;
- "s390x") export SWITCHES="-m31 -m64"
- ;;
- "x86_64") export SWITCHES="-m32 -m64"
- ;;
+ ;;
esac
-# Always try both -m32 and -m64.
-for m in $SWITCHES; do
- rlPhaseStartTest "Compile and run [$m]"
- rlRun "$GCC $m hello.c -o hello_c"
- rlRun "./hello_c"
+rlJournalStart
+ rlPhaseStartSetup
+ rlLogInfo "COLLECTIONS=$COLLECTIONS"
+ rlLogInfo "GCC=$GCC"
+ rlLogInfo "SKIP_COLLECTION_METAPACKAGE_CHECK=$SKIP_COLLECTION_METAPACKAGE_CHECK"
- rlRun "$GXX $m hello.cpp -o hello_cpp"
- rlRun "./hello_cpp"
+ # We optionally need to skip checking for the presence of the metapackage
+ # because that would pull in all the dependent toolset subrpms. We do not
+ # always want that, especially in CI.
+ _COLLECTIONS="$COLLECTIONS"
+ if ! test -z $SKIP_COLLECTION_METAPACKAGE_CHECK; then
+ for c in $SKIP_COLLECTION_METAPACKAGE_CHECK; do
+ rlLogInfo "ignoring metapackage check for collection $c"
+ export COLLECTIONS=$(shopt -s extglob && echo ${COLLECTIONS//$c/})
+ done
+ fi
+ rlLogInfo "(without skipped) COLLECTIONS=$COLLECTIONS"
+ export COLLECTIONS="$_COLLECTIONS"
- # Now try a few C++11 features.
- $GXX -xc++ -std=c++11 - <<< "int main(){}"
- if test $? -eq 0; then
- rlRun "$GXX $m -std=c++11 lambda-template.C -o lambda"
- rlRun "./lambda"
+ rlRun "TmpDir=\$(mktemp -d)"
+ rlRun "cp -v hello.{c,cpp,f90} tm.c quad.c thr-init-2.c clear_cache.c omphello.c lambda-template.C cpp11.cpp $TmpDir"
+ rlRun "pushd $TmpDir"
+ rlPhaseEnd
- rlRun "$GXX $m -std=c++11 cpp11.cpp -o cpp11"
- rlRun "./cpp11"
- fi
+ rlPhaseStartSetup "Showing compiler versions"
+ for compiler in gcc g++ gfortran; do
+ rlLogInfo "Version of compiler: $compiler"
+ eval "$compiler --version 2>&1" | while read line; do
+ rlLogInfo " $line"
+ done
+ done
+ rlPhaseEnd
- rlRun "$GFORTRAN $m hello.f90 -o hello_fortran"
- rlRun "./hello_fortran"
+ for m in $SWITCHES; do
+ rlPhaseStartTest "Compile and run [$m]"
- # TM support is GCC >=4.7 only.
- $GCC -xc -O2 -std=gnu99 -fgnu-tm - <<< "int main(){}"
- if test $? -eq 0; then
- rlRun "$GCC $m -O2 -std=gnu99 -fgnu-tm tm.c -o tm"
- rlRun "./tm"
- fi
+ # Test C
+ rlRun "gcc $m hello.c -o hello_c"
+ rlRun ./hello_c
- # Test OpenMP.
- rlRun "$GCC $m omphello.c -O2 -std=gnu99 -fopenmp -o omp"
- rlRun "./omp"
+ # Test C++
+ rlRun "g++ $m hello.cpp -o hello_cpp"
+ rlRun ./hello_cpp
- # Test __thread.
- rlRun "$GCC $m thr-init-2.c -O2 -std=gnu99 -ftls-model=initial-exec -o thr"
- rlRun "./thr"
+ # C++11 features. Not available in system GCC of RHEL-6
+ if ! rlIsRHEL 6 || [[ -n "$TOOLSET" ]]; then
+ rlRun "g++ $m -std=c++11 lambda-template.C -o lambda"
+ rlRun ./lambda
- # Now test some libquadmath stuff (__float128 support).
- # libquadmath is mising on RHEL machines, usually.
- # But with DTS, this should be available.
- if [ ! -z ${UNDER_DTS} ]; then
- if [ "`arch`" = 'x86_64' ]; then
- rlRun "$GCC $m quad.c -O2 -std=gnu99 -lquadmath -o quad -lm"
- rlRun "./quad"
- else
- rlLog "quadmath test skipped (needs x86_64)"
- fi
- fi
+ rlRun "g++ $m -std=c++11 cpp11.cpp -o cpp11"
+ rlRun ./cpp11
+ fi
- # And now something from libgcc, e.g. __builtin___clear_cache.
- rlRun "$GCC $m clear_cache.c -O2 -std=gnu99 -o cache"
- rlRun "./cache"
- rlPhaseEnd
-done; unset m
+ # Test Fortran
+ rlRun "gfortran $m hello.f90 -o hello_fortran"
+ rlRun "./hello_fortran"
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlPhaseEnd
+ # Test TM. Not available in system GCC of RHEL-6
+ if ! rlIsRHEL 6 || [[ -n "$TOOLSET" ]]; then
+ rlRun "gcc $m -O2 -std=gnu99 -fgnu-tm tm.c -o tm"
+ rlRun ./tm
+ fi
+
+ # Test OpenMP
+ rlRun "gcc $m omphello.c -O2 -std=gnu99 -fopenmp -o omp"
+ rlRun ./omp
+
+ # Test __thread
+ rlRun "gcc $m thr-init-2.c -O2 -std=gnu99 -ftls-model=initial-exec -o thr"
+ rlRun ./thr
+
+ # Now test some libquadmath stuff (__float128 support).
+ if rpm -q ${GCC_RPM_NAME%%gcc}libquadmath-devel &>/dev/null; then
+ rlRun "gcc $m quad.c -O2 -std=gnu99 -lquadmath -o quad -lm"
+ rlRun ./quad
+ fi
+
+ # And now something from libgcc, e.g. __builtin___clear_cache.
+ rlRun "gcc $m clear_cache.c -O2 -std=gnu99 -o cache"
+ rlRun ./cache
+
+ rlPhaseEnd
+ done
+
+ rlPhaseStartCleanup
+ rlRun popd
+ rlRun "rm -r $TmpDir"
+ rlPhaseEnd
rlJournalPrintText
rlJournalEnd
From dc8f6e461b5f9b23557c09e11f21b3e418f226c2 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Wed, 29 Mar 2023 17:26:07 +0200
Subject: [PATCH 027/164] 13.0.1-0.11
---
.gitignore | 1 +
gcc.spec | 26 +++++++++++++++++-----
gcc13-pr109230.patch | 51 --------------------------------------------
sources | 2 +-
4 files changed, 23 insertions(+), 57 deletions(-)
delete mode 100644 gcc13-pr109230.patch
diff --git a/.gitignore b/.gitignore
index de140a3..c64ca40 100644
--- a/.gitignore
+++ b/.gitignore
@@ -97,3 +97,4 @@
/gcc-13.0.1-20230321.tar.xz
/nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz
/gcc-13.0.1-20230324.tar.xz
+/gcc-13.0.1-20230329.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 9e73918..5fdc504 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230324
-%global gitrev 053e16ff35e0921f66d5b48f2b2e4a51eca89e43
+%global DATE 20230329
+%global gitrev 5864cb72cba24f25ae864298e85b553f0cadee5d
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.10%{?dist}
+Release: %{gcc_release}.11%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -286,7 +286,6 @@ Patch8: gcc13-no-add-needed.patch
Patch9: gcc13-Wno-format-security.patch
Patch10: gcc13-rh1574936.patch
Patch11: gcc13-d-shared-libphobos.patch
-Patch12: gcc13-pr109230.patch
Patch50: isl-rh2155127.patch
@@ -863,7 +862,6 @@ so that there cannot be any synchronization problems.
%patch10 -p0 -b .rh1574936~
%endif
%patch11 -p0 -b .d-shared-libphobos~
-%patch12 -p0 -b .pr109230~
%patch50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
@@ -3460,6 +3458,24 @@ end
%endif
%changelog
+* Wed Mar 29 2023 Jakub Jelinek 13.0.1-0.11
+- update from trunk
+ - PRs analyzer/109098, bootstrap/84402, bootstrap/109310, c++/105481,
+ c++/106969, c++/107163, c++/109309, c++/109320, c++/109321, c/107002,
+ fortran/104321, fortran/104949, fortran/109314, gcov-profile/109297,
+ ipa/105685, ipa/106124, libgcc/108891, libstdc++/103387,
+ libstdc++/109288, libstdc++/109299, lto/109263, middle-end/106190,
+ other/109163, other/109293, rtl-optimization/109187,
+ rtl-optimization/109237, target/106282, target/109072, target/109082,
+ target/109140, target/109167, target/109276, target/109296,
+ target/109312, tree-optimization/54498, tree-optimization/106912,
+ tree-optimization/107087, tree-optimization/108129,
+ tree-optimization/108357, tree-optimization/109154,
+ tree-optimization/109230, tree-optimization/109238,
+ tree-optimization/109265, tree-optimization/109274,
+ tree-optimization/109301, tree-optimization/109327,
+ tree-optimization/109331
+
* Fri Mar 24 2023 Jakub Jelinek 13.0.1-0.10
- update from trunk
- PRs analyzer/109239, c++/105996, c++/108390, c++/108795, c++/109177,
diff --git a/gcc13-pr109230.patch b/gcc13-pr109230.patch
deleted file mode 100644
index 141b95e..0000000
--- a/gcc13-pr109230.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-2023-03-21 Jakub Jelinek
-
- PR tree-optimization/109230
- * match.pd (fneg/fadd simplify): Verify also odd permutation indexes.
-
- * gcc.dg/pr109230.c: New test.
-
---- gcc/match.pd.jj 2023-02-18 12:38:30.967022708 +0100
-+++ gcc/match.pd 2023-03-21 19:59:40.209634256 +0100
-@@ -8096,6 +8096,7 @@ and,
- scalar_mode inner_mode = GET_MODE_INNER (vec_mode);
- }
- (if (sel.series_p (0, 2, 0, 2)
-+ && sel.series_p (1, 2, nelts + 1, 2)
- && GET_MODE_2XWIDER_MODE (inner_mode).exists (&wide_elt_mode)
- && multiple_p (GET_MODE_NUNITS (vec_mode), 2, &wide_nunits)
- && related_vector_mode (vec_mode, wide_elt_mode,
---- gcc/testsuite/gcc.dg/pr109230.c.jj 2023-03-21 20:03:52.811979268 +0100
-+++ gcc/testsuite/gcc.dg/pr109230.c 2023-03-21 20:03:35.884224342 +0100
-@@ -0,0 +1,31 @@
-+/* PR tree-optimization/109230 */
-+/* { dg-do run } */
-+/* { dg-options "-O2 -Wno-psabi" } */
-+
-+#if __SIZEOF_FLOAT__ == __SIZEOF_INT__
-+typedef float V __attribute__((vector_size (4 * sizeof (float))));
-+typedef int VI __attribute__((vector_size (4 * sizeof (float))));
-+
-+__attribute__((noipa)) V
-+foo (V x, V y)
-+{
-+ V a = x - y;
-+ V b = y + x;
-+ return __builtin_shuffle (b, a, (VI) { 0, 5, 2, 3 });
-+}
-+
-+int
-+main ()
-+{
-+ V a = (V) { 1.0f, 2.0f, 3.0f, 4.0f };
-+ V b = (V) { 8.0f, 9.0f, 10.0f, 11.0f };
-+ V c = foo (a, b);
-+ if (c[0] != 9.0f || c[1] != -7.0f || c[2] != 13.0f || c[3] != 15.0f)
-+ __builtin_abort ();
-+}
-+#else
-+int
-+main ()
-+{
-+}
-+#endif
diff --git a/sources b/sources
index 47f1d0c..6db4e59 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230324.tar.xz) = 17f0cdd640232508d316cc02664a2e159a97fa2253b3884862f97f02e60bed45630dfd1811472fdc2215d094a2ac3e7cd05011364f069ca14f741db055d6cd9f
+SHA512 (gcc-13.0.1-20230329.tar.xz) = 58a45335495f2c15c569ee6594bdf1b99a0ee57df01b268b2682b8d219d306e377aa019925ee59936eb0c464cba63c42e8f23e912f13ba9209642a3f74f95d42
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
From b290aa01d1cd7369f308799c5596b8420b9b5fc8 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Sat, 1 Apr 2023 10:33:07 +0200
Subject: [PATCH 028/164] 13.0.1-0.12
---
.gitignore | 1 +
gcc.spec | 46 +++++++++++++++++++++++++++-------------------
sources | 2 +-
3 files changed, 29 insertions(+), 20 deletions(-)
diff --git a/.gitignore b/.gitignore
index c64ca40..b7f736d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -98,3 +98,4 @@
/nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz
/gcc-13.0.1-20230324.tar.xz
/gcc-13.0.1-20230329.tar.xz
+/gcc-13.0.1-20230401.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 5fdc504..290eefe 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230329
-%global gitrev 5864cb72cba24f25ae864298e85b553f0cadee5d
+%global DATE 20230401
+%global gitrev 21536f033a889b9c0aa53f7888469bab3d9296bd
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.11%{?dist}
+Release: %{gcc_release}.12%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -845,32 +845,32 @@ so that there cannot be any synchronization problems.
%prep
%setup -q -n gcc-%{version}-%{DATE} -a 1 -a 2 -a 3
-%patch0 -p0 -b .hack~
-%patch2 -p0 -b .sparc-config-detection~
-%patch3 -p0 -b .libgomp-omp_h-multilib~
-%patch4 -p0 -b .libtool-no-rpath~
+%patch -P0 -p0 -b .hack~
+%patch -P2 -p0 -b .sparc-config-detection~
+%patch -P3 -p0 -b .libgomp-omp_h-multilib~
+%patch -P4 -p0 -b .libtool-no-rpath~
%if %{build_isl}
-%patch5 -p0 -b .isl-dl~
-%patch6 -p0 -b .isl-dl2~
+%patch -P5 -p0 -b .isl-dl~
+%patch -P6 -p0 -b .isl-dl2~
%endif
%if %{build_libstdcxx_docs}
-%patch7 -p0 -b .libstdc++-docs~
+%patch -P7 -p0 -b .libstdc++-docs~
%endif
-%patch8 -p0 -b .no-add-needed~
-%patch9 -p0 -b .Wno-format-security~
+%patch -P8 -p0 -b .no-add-needed~
+%patch -P9 -p0 -b .Wno-format-security~
%if 0%{?fedora} >= 29 || 0%{?rhel} > 7
-%patch10 -p0 -b .rh1574936~
+%patch -P10 -p0 -b .rh1574936~
%endif
-%patch11 -p0 -b .d-shared-libphobos~
+%patch -P11 -p0 -b .d-shared-libphobos~
-%patch50 -p0 -b .rh2155127~
+%patch -P50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
%if 0%{?rhel} >= 9
-%patch100 -p1 -b .fortran-fdec-duplicates~
-%patch101 -p1 -b .fortran-flogical-as-integer~
-%patch102 -p1 -b .fortran-fdec-override-kind~
-%patch103 -p1 -b .fortran-fdec-non-logical-if~
+%patch -P100 -p1 -b .fortran-fdec-duplicates~
+%patch -P101 -p1 -b .fortran-flogical-as-integer~
+%patch -P102 -p1 -b .fortran-fdec-override-kind~
+%patch -P103 -p1 -b .fortran-fdec-non-logical-if~
%endif
%ifarch %{arm}
@@ -3458,6 +3458,14 @@ end
%endif
%changelog
+* Sat Apr 1 2023 Jakub Jelinek 13.0.1-0.12
+- update from trunk
+ - PRs analyzer/107396, bootstrap/101834, c++/101118, c++/105221, c++/105452,
+ c++/107897, c++/108887, c++/109278, c++/109319, libstdc++/109242,
+ libstdc++/109339, libstdc++/109340, modula2/109315, modula2/109336,
+ target/85048, target/109254, target/109328, tree-optimization/91645,
+ tree-optimization/109342, tree-optimization/109362
+
* Wed Mar 29 2023 Jakub Jelinek 13.0.1-0.11
- update from trunk
- PRs analyzer/109098, bootstrap/84402, bootstrap/109310, c++/105481,
diff --git a/sources b/sources
index 6db4e59..ce2c95e 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230329.tar.xz) = 58a45335495f2c15c569ee6594bdf1b99a0ee57df01b268b2682b8d219d306e377aa019925ee59936eb0c464cba63c42e8f23e912f13ba9209642a3f74f95d42
+SHA512 (gcc-13.0.1-20230401.tar.xz) = c5b1bbaf7b96576ed662dc16d1e92b7b666f237c6e931315e672782f097d54bd4b406c725daa340e22a6760dba320201663e632b12362e6e3201153bf127facf
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
From 52fa8aefa306db13bab620b08cb185c2390cdc1c Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Tue, 4 Apr 2023 17:49:54 +0200
Subject: [PATCH 029/164] 13.0.1-0.13
---
.gitignore | 1 +
gcc.spec | 13 ++++++++++---
sources | 2 +-
3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index b7f736d..b85279e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -99,3 +99,4 @@
/gcc-13.0.1-20230324.tar.xz
/gcc-13.0.1-20230329.tar.xz
/gcc-13.0.1-20230401.tar.xz
+/gcc-13.0.1-20230404.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 290eefe..3947873 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230401
-%global gitrev 21536f033a889b9c0aa53f7888469bab3d9296bd
+%global DATE 20230404
+%global gitrev f9101c02b26988d799233db0b778732f7e56259f
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.12%{?dist}
+Release: %{gcc_release}.13%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -3458,6 +3458,13 @@ end
%endif
%changelog
+* Tue Apr 4 2023 Jakub Jelinek 13.0.1-0.13
+- update from trunk
+ - PRs c++/53164, c++/105848, c++/107484, c++/109160, c++/109300, ipa/109303,
+ modula2/109388, other/109306, sanitizer/109107, target/102146,
+ target/108699, target/108807, target/109375, target/109376,
+ target/109384, tree-optimization/109304, tree-optimization/109386
+
* Sat Apr 1 2023 Jakub Jelinek 13.0.1-0.12
- update from trunk
- PRs analyzer/107396, bootstrap/101834, c++/101118, c++/105221, c++/105452,
diff --git a/sources b/sources
index ce2c95e..6f2abd1 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230401.tar.xz) = c5b1bbaf7b96576ed662dc16d1e92b7b666f237c6e931315e672782f097d54bd4b406c725daa340e22a6760dba320201663e632b12362e6e3201153bf127facf
+SHA512 (gcc-13.0.1-20230404.tar.xz) = d7c177e5bcf0efe6f3e48af4da5ab601c44eadad48b4af30bfcd833f256e615593e3ae5979ded5249b3d88417f482093a548dfab353e0d44bc1743afee295a79
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
From 52a79c17eeea5055a27e26fd90a7fed7c7ffcff6 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Tue, 18 Apr 2023 18:35:23 +0200
Subject: [PATCH 030/164] 13.0.1-0.14
---
.gitignore | 1 +
gcc.spec | 31 ++++++++++++++++++++++++++++---
gcc13-pr108969.patch | 29 +++++++++++++++++++++++++++++
sources | 2 +-
4 files changed, 59 insertions(+), 4 deletions(-)
create mode 100644 gcc13-pr108969.patch
diff --git a/.gitignore b/.gitignore
index b85279e..1f178dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -100,3 +100,4 @@
/gcc-13.0.1-20230329.tar.xz
/gcc-13.0.1-20230401.tar.xz
/gcc-13.0.1-20230404.tar.xz
+/gcc-13.0.1-20230418.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 3947873..f518905 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230404
-%global gitrev f9101c02b26988d799233db0b778732f7e56259f
+%global DATE 20230418
+%global gitrev 90e2966fefb872b610765ac4f89ad9bcab43d72c
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.13%{?dist}
+Release: %{gcc_release}.14%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -286,6 +286,7 @@ Patch8: gcc13-no-add-needed.patch
Patch9: gcc13-Wno-format-security.patch
Patch10: gcc13-rh1574936.patch
Patch11: gcc13-d-shared-libphobos.patch
+Patch12: gcc13-pr108969.patch
Patch50: isl-rh2155127.patch
@@ -862,6 +863,7 @@ so that there cannot be any synchronization problems.
%patch -P10 -p0 -b .rh1574936~
%endif
%patch -P11 -p0 -b .d-shared-libphobos~
+%patch -P12 -p0 -b .pr108969~
%patch -P50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
@@ -3458,6 +3460,29 @@ end
%endif
%changelog
+* Tue Apr 18 2023 Jakub Jelinek 13.0.1-0.14
+- update from trunk and releases/gcc-13 branch
+ - PRs analyzer/108722, bootstrap/109510, c++/109277, c++/109357, c++/109420,
+ c++/109514, c++/109531, driver/108241, fortran/61615, fortran/85686,
+ fortran/87477, fortran/88247, fortran/91941, fortran/92779,
+ fortran/93339, fortran/93813, fortran/98408, fortran/99982,
+ fortran/100948, fortran/102106, fortran/104272, fortran/104312,
+ fortran/104349, fortran/105205, fortran/106918, fortran/109492,
+ fortran/109511, ipa/107769, ipa/108959, ipa/109318, libstdc++/108291,
+ libstdc++/108827, libstdc++/108969, libstdc++/109482,
+ libstdc++/109525, modula2/109423, modula2/109488, modula2/109496,
+ modula2/109497, target/54816, target/70243, target/99708,
+ target/104989, target/108812, target/108892, target/108947,
+ target/109040, target/109104, target/109374, target/109402,
+ target/109458, target/109479, target/109508, testsuite/108809,
+ testsuite/108815, tree-optimization/108139, tree-optimization/109392,
+ tree-optimization/109410, tree-optimization/109417,
+ tree-optimization/109427, tree-optimization/109434,
+ tree-optimization/109462, tree-optimization/109469,
+ tree-optimization/109473, tree-optimization/109491,
+ tree-optimization/109502, tree-optimization/109524,
+ tree-optimization/109539
+
* Tue Apr 4 2023 Jakub Jelinek 13.0.1-0.13
- update from trunk
- PRs c++/53164, c++/105848, c++/107484, c++/109160, c++/109300, ipa/109303,
diff --git a/gcc13-pr108969.patch b/gcc13-pr108969.patch
new file mode 100644
index 0000000..88b4d4b
--- /dev/null
+++ b/gcc13-pr108969.patch
@@ -0,0 +1,29 @@
+libstdc++: Fix preprocessor condition in linker script [PR108969]
+
+The linker script is preprocessed with $(top_builddir)/config.h not the
+include/$target/bits/c++config.h version, which means that configure
+macros do not have the _GLIBCXX_ prefix yet.
+
+The _GLIBCXX_SYMVER_GNU and _GLIBCXX_SHARED checks are redundant,
+because the gnu.ver file is only used for _GLIBCXX_SYMVER_GNU and the
+linker script is only used for the shared library. Remove those.
+
+libstdc++-v3/ChangeLog:
+
+ PR libstdc++/108969
+ * config/abi/pre/gnu.ver: Fix preprocessor condition.
+
+--- libstdc++-v3/config/abi/pre/gnu.ver
++++ libstdc++-v3/config/abi/pre/gnu.ver
+@@ -2512,9 +2512,8 @@ GLIBCXX_3.4.31 {
+ _ZNKSt12__shared_ptrINSt10filesystem28recursive_directory_iterator10_Dir_stackELN9__gnu_cxx12_Lock_policyE[012]EEcvbEv;
+ _ZNKSt12__shared_ptrINSt10filesystem7__cxx1128recursive_directory_iterator10_Dir_stackELN9__gnu_cxx12_Lock_policyE[012]EEcvbEv;
+
+-#if defined(_GLIBCXX_SYMVER_GNU) && defined(_GLIBCXX_SHARED) \
+- && defined(_GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE) \
+- && defined(_GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT)
++#if defined(HAVE_AS_SYMVER_DIRECTIVE) \
++ && defined(HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT)
+ # See src/c++98/globals_io.cc
+ _ZSt3cin;
+ _ZSt4cout;
diff --git a/sources b/sources
index 6f2abd1..9c0b2e6 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230404.tar.xz) = d7c177e5bcf0efe6f3e48af4da5ab601c44eadad48b4af30bfcd833f256e615593e3ae5979ded5249b3d88417f482093a548dfab353e0d44bc1743afee295a79
+SHA512 (gcc-13.0.1-20230418.tar.xz) = 2015b135608474d16dde00cccf03a405898494eb2988048e781b9ae64e3b8a7a6d3b4faf3ca30185ec9e18cd7728d5fdc195aaedc25c75ccc59c5105d1424fcd
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
From 6fdcb2b9e5dab07004c3473d382272d2d1cabd0e Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Wed, 19 Apr 2023 21:27:34 +0200
Subject: [PATCH 031/164] 13.0.1-0.15
---
.gitignore | 1 +
gcc.spec | 13 ++++++++-----
gcc13-pr108969.patch | 29 -----------------------------
sources | 2 +-
4 files changed, 10 insertions(+), 35 deletions(-)
delete mode 100644 gcc13-pr108969.patch
diff --git a/.gitignore b/.gitignore
index 1f178dc..3db1818 100644
--- a/.gitignore
+++ b/.gitignore
@@ -101,3 +101,4 @@
/gcc-13.0.1-20230401.tar.xz
/gcc-13.0.1-20230404.tar.xz
/gcc-13.0.1-20230418.tar.xz
+/gcc-13.0.1-20230419.tar.xz
diff --git a/gcc.spec b/gcc.spec
index f518905..c3a5fe9 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230418
-%global gitrev 90e2966fefb872b610765ac4f89ad9bcab43d72c
+%global DATE 20230419
+%global gitrev fa3dfe9cf38be8a7cb0e7d0c11c67e8767f8e008
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.14%{?dist}
+Release: %{gcc_release}.15%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -286,7 +286,6 @@ Patch8: gcc13-no-add-needed.patch
Patch9: gcc13-Wno-format-security.patch
Patch10: gcc13-rh1574936.patch
Patch11: gcc13-d-shared-libphobos.patch
-Patch12: gcc13-pr108969.patch
Patch50: isl-rh2155127.patch
@@ -863,7 +862,6 @@ so that there cannot be any synchronization problems.
%patch -P10 -p0 -b .rh1574936~
%endif
%patch -P11 -p0 -b .d-shared-libphobos~
-%patch -P12 -p0 -b .pr108969~
%patch -P50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
@@ -3460,6 +3458,11 @@ end
%endif
%changelog
+* Wed Apr 19 2023 Jakub Jelinek 13.0.1-0.15
+- update from trunk and releases/gcc-13 branch
+ - GCC 13.1-rc2
+ - PRs c++/109556, target/106602
+
* Tue Apr 18 2023 Jakub Jelinek 13.0.1-0.14
- update from trunk and releases/gcc-13 branch
- PRs analyzer/108722, bootstrap/109510, c++/109277, c++/109357, c++/109420,
diff --git a/gcc13-pr108969.patch b/gcc13-pr108969.patch
deleted file mode 100644
index 88b4d4b..0000000
--- a/gcc13-pr108969.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-libstdc++: Fix preprocessor condition in linker script [PR108969]
-
-The linker script is preprocessed with $(top_builddir)/config.h not the
-include/$target/bits/c++config.h version, which means that configure
-macros do not have the _GLIBCXX_ prefix yet.
-
-The _GLIBCXX_SYMVER_GNU and _GLIBCXX_SHARED checks are redundant,
-because the gnu.ver file is only used for _GLIBCXX_SYMVER_GNU and the
-linker script is only used for the shared library. Remove those.
-
-libstdc++-v3/ChangeLog:
-
- PR libstdc++/108969
- * config/abi/pre/gnu.ver: Fix preprocessor condition.
-
---- libstdc++-v3/config/abi/pre/gnu.ver
-+++ libstdc++-v3/config/abi/pre/gnu.ver
-@@ -2512,9 +2512,8 @@ GLIBCXX_3.4.31 {
- _ZNKSt12__shared_ptrINSt10filesystem28recursive_directory_iterator10_Dir_stackELN9__gnu_cxx12_Lock_policyE[012]EEcvbEv;
- _ZNKSt12__shared_ptrINSt10filesystem7__cxx1128recursive_directory_iterator10_Dir_stackELN9__gnu_cxx12_Lock_policyE[012]EEcvbEv;
-
--#if defined(_GLIBCXX_SYMVER_GNU) && defined(_GLIBCXX_SHARED) \
-- && defined(_GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE) \
-- && defined(_GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT)
-+#if defined(HAVE_AS_SYMVER_DIRECTIVE) \
-+ && defined(HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT)
- # See src/c++98/globals_io.cc
- _ZSt3cin;
- _ZSt4cout;
diff --git a/sources b/sources
index 9c0b2e6..f12246b 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230418.tar.xz) = 2015b135608474d16dde00cccf03a405898494eb2988048e781b9ae64e3b8a7a6d3b4faf3ca30185ec9e18cd7728d5fdc195aaedc25c75ccc59c5105d1424fcd
+SHA512 (gcc-13.0.1-20230419.tar.xz) = 4723c151479826238cd53f32577eb91578f0314aedda77598ce3d2e7b5287fd57789bfc42c3511e6716775fd895716a2974ad7a1afda248629af27445982deea
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
From ee018dc183d14211ea8016a8bf4a8c22c6174d1e Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Fri, 21 Apr 2023 14:38:09 +0200
Subject: [PATCH 032/164] 13.0.1-0.16
---
.gitignore | 1 +
gcc.spec | 16 ++++++++++++---
gcc13-pr109583.patch | 48 ++++++++++++++++++++++++++++++++++++++++++++
sources | 2 +-
4 files changed, 63 insertions(+), 4 deletions(-)
create mode 100644 gcc13-pr109583.patch
diff --git a/.gitignore b/.gitignore
index 3db1818..3beff17 100644
--- a/.gitignore
+++ b/.gitignore
@@ -102,3 +102,4 @@
/gcc-13.0.1-20230404.tar.xz
/gcc-13.0.1-20230418.tar.xz
/gcc-13.0.1-20230419.tar.xz
+/gcc-13.0.1-20230421.tar.xz
diff --git a/gcc.spec b/gcc.spec
index c3a5fe9..8436907 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,5 +1,5 @@
-%global DATE 20230419
-%global gitrev fa3dfe9cf38be8a7cb0e7d0c11c67e8767f8e008
+%global DATE 20230421
+%global gitrev 4be14f2db84d42993908d17f2b66a655b5bc050d
%global gcc_version 13.0.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.15%{?dist}
+Release: %{gcc_release}.16%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -286,6 +286,7 @@ Patch8: gcc13-no-add-needed.patch
Patch9: gcc13-Wno-format-security.patch
Patch10: gcc13-rh1574936.patch
Patch11: gcc13-d-shared-libphobos.patch
+Patch12: gcc13-pr109583.patch
Patch50: isl-rh2155127.patch
@@ -862,6 +863,7 @@ so that there cannot be any synchronization problems.
%patch -P10 -p0 -b .rh1574936~
%endif
%patch -P11 -p0 -b .d-shared-libphobos~
+%patch -P12 -p0 -b .pr109583~
%patch -P50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
@@ -2488,6 +2490,7 @@ end
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/amxfp16intrin.h
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/prfchiintrin.h
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/raointintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/amxcomplexintrin.h
%endif
%ifarch ia64
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/ia64intrin.h
@@ -3458,6 +3461,13 @@ end
%endif
%changelog
+* Fri Apr 21 2023 Jakub Jelinek 13.0.1-0.16
+- update from trunk and releases/gcc-13 branch
+ - GCC 13.1-rc3
+ - PRs tree-optimization/109564
+- fix ICE on fneg/fadd optimization (PR tree-optimization/109583)
+- include amxcomplexintrin.h header on x86 (#2188608)
+
* Wed Apr 19 2023 Jakub Jelinek 13.0.1-0.15
- update from trunk and releases/gcc-13 branch
- GCC 13.1-rc2
diff --git a/gcc13-pr109583.patch b/gcc13-pr109583.patch
new file mode 100644
index 0000000..537ca34
--- /dev/null
+++ b/gcc13-pr109583.patch
@@ -0,0 +1,48 @@
+2023-04-21 Jakub Jelinek
+
+ PR tree-optimization/109583
+ * match.pd (fneg/fadd simplify): Don't call related_vector_mode
+ if vec_mode is not VECTOR_MODE_P.
+
+ * gcc.dg/pr109583.c: New test.
+
+--- gcc/match.pd.jj 2023-04-18 11:01:38.867871375 +0200
++++ gcc/match.pd 2023-04-21 13:26:01.250166206 +0200
+@@ -8103,7 +8103,8 @@ and,
+ poly_uint64 wide_nunits;
+ scalar_mode inner_mode = GET_MODE_INNER (vec_mode);
+ }
+- (if (sel.series_p (0, 2, 0, 2)
++ (if (VECTOR_MODE_P (vec_mode)
++ && sel.series_p (0, 2, 0, 2)
+ && sel.series_p (1, 2, nelts + 1, 2)
+ && GET_MODE_2XWIDER_MODE (inner_mode).exists (&wide_elt_mode)
+ && multiple_p (GET_MODE_NUNITS (vec_mode), 2, &wide_nunits)
+--- gcc/testsuite/gcc.dg/pr109583.c.jj 2023-04-21 13:28:36.462911138 +0200
++++ gcc/testsuite/gcc.dg/pr109583.c 2023-04-21 13:28:06.746342736 +0200
+@@ -0,0 +1,25 @@
++/* PR tree-optimization/109583 */
++/* { dg-do compile } */
++/* { dg-options "-O1 -Wno-psabi" } */
++/* { dg-additional-options "-mno-avx" { target i?86-*-* x86_64-*-* } } */
++
++typedef float v8sf __attribute__((vector_size (8 * sizeof (float))));
++typedef int v8si __attribute__((vector_size (8 * sizeof (int))));
++
++#if __SIZEOF_INT__ == __SIZEOF_FLOAT__
++v8sf
++foo (v8sf x, v8sf y)
++{
++ v8sf a = x - y;
++ v8sf b = x + y;
++ return __builtin_shuffle (a, b, (v8si) { 0, 9, 2, 11, 4, 13, 6, 15 });
++}
++
++v8sf
++bar (v8sf x, v8sf y)
++{
++ v8sf a = x + y;
++ v8sf b = x - y;
++ return __builtin_shuffle (a, b, (v8si) { 0, 9, 2, 11, 4, 13, 6, 15 });
++}
++#endif
diff --git a/sources b/sources
index f12246b..57ed1a1 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230419.tar.xz) = 4723c151479826238cd53f32577eb91578f0314aedda77598ce3d2e7b5287fd57789bfc42c3511e6716775fd895716a2974ad7a1afda248629af27445982deea
+SHA512 (gcc-13.0.1-20230421.tar.xz) = 75b36b5018e014e9c187f86de4333494c05760b0f1ddf02b46e969f477202d7998aadbbb6b3ee1f0a1ed950e764e4ad706f7040ae2845339c56d671fd812e148
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
From e31a1bddc0554b632b7fa2ee587e387c3ef9f6c2 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Fri, 21 Apr 2023 14:51:27 +0200
Subject: [PATCH 033/164] 13.0.1-0.16
---
gcc13-pr109583.patch | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/gcc13-pr109583.patch b/gcc13-pr109583.patch
index 537ca34..1eb3708 100644
--- a/gcc13-pr109583.patch
+++ b/gcc13-pr109583.patch
@@ -8,16 +8,16 @@
--- gcc/match.pd.jj 2023-04-18 11:01:38.867871375 +0200
+++ gcc/match.pd 2023-04-21 13:26:01.250166206 +0200
-@@ -8103,7 +8103,8 @@ and,
- poly_uint64 wide_nunits;
- scalar_mode inner_mode = GET_MODE_INNER (vec_mode);
- }
-- (if (sel.series_p (0, 2, 0, 2)
-+ (if (VECTOR_MODE_P (vec_mode)
-+ && sel.series_p (0, 2, 0, 2)
- && sel.series_p (1, 2, nelts + 1, 2)
- && GET_MODE_2XWIDER_MODE (inner_mode).exists (&wide_elt_mode)
- && multiple_p (GET_MODE_NUNITS (vec_mode), 2, &wide_nunits)
+@@ -8095,7 +8095,8 @@ and,
+ poly_uint64 wide_nunits;
+ scalar_mode inner_mode = GET_MODE_INNER (vec_mode);
+ }
+- (if (sel.series_p (0, 2, 0, 2)
++ (if (VECTOR_MODE_P (vec_mode)
++ && sel.series_p (0, 2, 0, 2)
+ && sel.series_p (1, 2, nelts + 1, 2)
+ && GET_MODE_2XWIDER_MODE (inner_mode).exists (&wide_elt_mode)
+ && multiple_p (GET_MODE_NUNITS (vec_mode), 2, &wide_nunits)
--- gcc/testsuite/gcc.dg/pr109583.c.jj 2023-04-21 13:28:36.462911138 +0200
+++ gcc/testsuite/gcc.dg/pr109583.c 2023-04-21 13:28:06.746342736 +0200
@@ -0,0 +1,25 @@
From ca788bfdffb0f4bd7b210e848f2007cec8829de9 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Wed, 26 Apr 2023 10:58:06 +0200
Subject: [PATCH 034/164] 13.1.1-1
---
.gitignore | 1 +
gcc.spec | 17 ++++++++------
gcc13-libstdc++-docs.patch | 4 ++--
gcc13-pr109583.patch | 48 --------------------------------------
sources | 2 +-
update-gcc.sh | 2 +-
6 files changed, 15 insertions(+), 59 deletions(-)
delete mode 100644 gcc13-pr109583.patch
diff --git a/.gitignore b/.gitignore
index 3beff17..d54fd05 100644
--- a/.gitignore
+++ b/.gitignore
@@ -103,3 +103,4 @@
/gcc-13.0.1-20230418.tar.xz
/gcc-13.0.1-20230419.tar.xz
/gcc-13.0.1-20230421.tar.xz
+/gcc-13.1.1-20230426.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 8436907..f562329 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20230421
-%global gitrev 4be14f2db84d42993908d17f2b66a655b5bc050d
-%global gcc_version 13.0.1
+%global DATE 20230426
+%global gitrev 99aa4c60d1f6a96b09f65b669d44bbab206f0a75
+%global gcc_version 13.1.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 0
+%global gcc_release 1
%global nvptx_tools_gitrev 93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b
%global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409
%global _unpackaged_files_terminate_build 0
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}.16%{?dist}
+Release: %{gcc_release}%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -286,7 +286,6 @@ Patch8: gcc13-no-add-needed.patch
Patch9: gcc13-Wno-format-security.patch
Patch10: gcc13-rh1574936.patch
Patch11: gcc13-d-shared-libphobos.patch
-Patch12: gcc13-pr109583.patch
Patch50: isl-rh2155127.patch
@@ -863,7 +862,6 @@ so that there cannot be any synchronization problems.
%patch -P10 -p0 -b .rh1574936~
%endif
%patch -P11 -p0 -b .d-shared-libphobos~
-%patch -P12 -p0 -b .pr109583~
%patch -P50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
@@ -3461,6 +3459,11 @@ end
%endif
%changelog
+* Wed Apr 26 2023 Jakub Jelinek 13.1.1-1
+- update from releases/gcc-13 branch
+ - GCC 13.1 release
+ - PRs c/107041, target/109566
+
* Fri Apr 21 2023 Jakub Jelinek 13.0.1-0.16
- update from trunk and releases/gcc-13 branch
- GCC 13.1-rc3
diff --git a/gcc13-libstdc++-docs.patch b/gcc13-libstdc++-docs.patch
index 5a2fe27..6dffae6 100644
--- a/gcc13-libstdc++-docs.patch
+++ b/gcc13-libstdc++-docs.patch
@@ -4,7 +4,7 @@
FSF
-+ Release 13.0.1
++ Release 13.1.1
+
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
@@ -17,7 +17,7 @@
- The API documentation, rendered into HTML, can be viewed online
+ The API documentation, rendered into HTML, can be viewed locally
-+ for the 13.0.1 release,
++ for the 13.1.1 release,
+ online
for each GCC release
and
diff --git a/gcc13-pr109583.patch b/gcc13-pr109583.patch
deleted file mode 100644
index 1eb3708..0000000
--- a/gcc13-pr109583.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-2023-04-21 Jakub Jelinek
-
- PR tree-optimization/109583
- * match.pd (fneg/fadd simplify): Don't call related_vector_mode
- if vec_mode is not VECTOR_MODE_P.
-
- * gcc.dg/pr109583.c: New test.
-
---- gcc/match.pd.jj 2023-04-18 11:01:38.867871375 +0200
-+++ gcc/match.pd 2023-04-21 13:26:01.250166206 +0200
-@@ -8095,7 +8095,8 @@ and,
- poly_uint64 wide_nunits;
- scalar_mode inner_mode = GET_MODE_INNER (vec_mode);
- }
-- (if (sel.series_p (0, 2, 0, 2)
-+ (if (VECTOR_MODE_P (vec_mode)
-+ && sel.series_p (0, 2, 0, 2)
- && sel.series_p (1, 2, nelts + 1, 2)
- && GET_MODE_2XWIDER_MODE (inner_mode).exists (&wide_elt_mode)
- && multiple_p (GET_MODE_NUNITS (vec_mode), 2, &wide_nunits)
---- gcc/testsuite/gcc.dg/pr109583.c.jj 2023-04-21 13:28:36.462911138 +0200
-+++ gcc/testsuite/gcc.dg/pr109583.c 2023-04-21 13:28:06.746342736 +0200
-@@ -0,0 +1,25 @@
-+/* PR tree-optimization/109583 */
-+/* { dg-do compile } */
-+/* { dg-options "-O1 -Wno-psabi" } */
-+/* { dg-additional-options "-mno-avx" { target i?86-*-* x86_64-*-* } } */
-+
-+typedef float v8sf __attribute__((vector_size (8 * sizeof (float))));
-+typedef int v8si __attribute__((vector_size (8 * sizeof (int))));
-+
-+#if __SIZEOF_INT__ == __SIZEOF_FLOAT__
-+v8sf
-+foo (v8sf x, v8sf y)
-+{
-+ v8sf a = x - y;
-+ v8sf b = x + y;
-+ return __builtin_shuffle (a, b, (v8si) { 0, 9, 2, 11, 4, 13, 6, 15 });
-+}
-+
-+v8sf
-+bar (v8sf x, v8sf y)
-+{
-+ v8sf a = x + y;
-+ v8sf b = x - y;
-+ return __builtin_shuffle (a, b, (v8si) { 0, 9, 2, 11, 4, 13, 6, 15 });
-+}
-+#endif
diff --git a/sources b/sources
index 57ed1a1..ffb1707 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.0.1-20230421.tar.xz) = 75b36b5018e014e9c187f86de4333494c05760b0f1ddf02b46e969f477202d7998aadbbb6b3ee1f0a1ed950e764e4ad706f7040ae2845339c56d671fd812e148
+SHA512 (gcc-13.1.1-20230426.tar.xz) = 7a588d7720c67fce57ab483168684195810a168f3234667151d0b76638d15ae50d8f9de0c9f2c2aaa1345e45c46577575b717dbb73f8cccce79932c37cacac5a
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
diff --git a/update-gcc.sh b/update-gcc.sh
index b6c0315..0c357f3 100755
--- a/update-gcc.sh
+++ b/update-gcc.sh
@@ -3,5 +3,5 @@
git clone --depth 1 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp
git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin $1
d=`date --iso | sed 's/-//g'`
-git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-13.0.1-$d/ $1 | xz -9e > gcc-13.0.1-$d.tar.xz
+git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-13.1.1-$d/ $1 | xz -9e > gcc-13.1.1-$d.tar.xz
rm -rf gcc-dir.tmp
From f18f04b3fb27e756f098bd81deba0d6b7dd15856 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Thu, 11 May 2023 14:38:05 +0200
Subject: [PATCH 035/164] 13.1.1-2
---
.gitignore | 1 +
gcc.spec | 16 +++++++++++++---
sources | 2 +-
3 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index d54fd05..a274f6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -104,3 +104,4 @@
/gcc-13.0.1-20230419.tar.xz
/gcc-13.0.1-20230421.tar.xz
/gcc-13.1.1-20230426.tar.xz
+/gcc-13.1.1-20230511.tar.xz
diff --git a/gcc.spec b/gcc.spec
index f562329..37709e6 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20230426
-%global gitrev 99aa4c60d1f6a96b09f65b669d44bbab206f0a75
+%global DATE 20230511
+%global gitrev 55ca611b161ce96d568ea82ff0e6ea395dc76957
%global gcc_version 13.1.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 1
+%global gcc_release 2
%global nvptx_tools_gitrev 93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b
%global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409
%global _unpackaged_files_terminate_build 0
@@ -3459,6 +3459,16 @@ end
%endif
%changelog
+* Thu May 11 2023 Jakub Jelinek 13.1.1-2
+- update from releases/gcc-13 branch
+ - PRs c++/91618, c++/96604, c++/109506, c++/109640, c++/109642, c++/109666,
+ c++/109671, c++/109756, c/107682, c/109409, c/109412, debug/109676,
+ fortran/109622, libffi/109447, libgomp/108098, libstdc++/40380,
+ libstdc++/109694, libstdc++/109703, rtl-optimization/109585,
+ target/108758, target/109069, target/109535, target/109661,
+ target/109762, tree-optimization/109573, tree-optimization/109609,
+ tree-optimization/109724, tree-optimization/109778
+
* Wed Apr 26 2023 Jakub Jelinek 13.1.1-1
- update from releases/gcc-13 branch
- GCC 13.1 release
diff --git a/sources b/sources
index ffb1707..7a82c78 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.1.1-20230426.tar.xz) = 7a588d7720c67fce57ab483168684195810a168f3234667151d0b76638d15ae50d8f9de0c9f2c2aaa1345e45c46577575b717dbb73f8cccce79932c37cacac5a
+SHA512 (gcc-13.1.1-20230511.tar.xz) = 0ba5b1db652992b1abd356ac36a48c9db4ecd01c751ae3488dd8680199e678845d59bfb4b8d747b91bca258ea8d5a2c274f3bbb2039dd4de2f65942dd902a616
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
From 8f1aceb90beea8c643f2debf68f3bcbe00bc8348 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Fri, 19 May 2023 11:26:04 +0200
Subject: [PATCH 036/164] 13.1.1-3
---
.gitignore | 1 +
gcc.spec | 13 ++++++++++---
sources | 2 +-
3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index a274f6a..ad9cdaa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -105,3 +105,4 @@
/gcc-13.0.1-20230421.tar.xz
/gcc-13.1.1-20230426.tar.xz
/gcc-13.1.1-20230511.tar.xz
+/gcc-13.1.1-20230519.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 37709e6..5dedde9 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20230511
-%global gitrev 55ca611b161ce96d568ea82ff0e6ea395dc76957
+%global DATE 20230519
+%global gitrev 75b6adf0fdb4d09b64cddfdce59a030f69071fc5
%global gcc_version 13.1.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 2
+%global gcc_release 3
%global nvptx_tools_gitrev 93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b
%global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409
%global _unpackaged_files_terminate_build 0
@@ -3459,6 +3459,13 @@ end
%endif
%changelog
+* Fri May 19 2023 Jakub Jelinek 13.1.1-3
+- update from releases/gcc-13 branch
+ - PRs c++/80488, c++/83258, c++/97700, c++/103807, c++/109651, c++/109745,
+ c++/109761, c++/109774, c++/109868, c++/109884, fortran/109641,
+ fortran/109846, libstdc++/109816, libstdc++/109883, target/104338,
+ target/109697
+
* Thu May 11 2023 Jakub Jelinek 13.1.1-2
- update from releases/gcc-13 branch
- PRs c++/91618, c++/96604, c++/109506, c++/109640, c++/109642, c++/109666,
diff --git a/sources b/sources
index 7a82c78..92b1935 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.1.1-20230511.tar.xz) = 0ba5b1db652992b1abd356ac36a48c9db4ecd01c751ae3488dd8680199e678845d59bfb4b8d747b91bca258ea8d5a2c274f3bbb2039dd4de2f65942dd902a616
+SHA512 (gcc-13.1.1-20230519.tar.xz) = 7969a54b13b9852790728ddb460297a899413fbfdf872f0ca06b4a1600cf6cafb532be6ec176f51abcde1f3cf0d87f8ac948e241ff20f152443c9c8d3eaf8455
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
From a9552bf745649e7a8e10e9e4fb7ecd6e7b62c11e Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Wed, 14 Jun 2023 18:01:04 +0200
Subject: [PATCH 037/164] 13.1.1-4
---
.gitignore | 1 +
gcc.spec | 18 +++++++++++++++---
sources | 2 +-
3 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index ad9cdaa..ecec0bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -106,3 +106,4 @@
/gcc-13.1.1-20230426.tar.xz
/gcc-13.1.1-20230511.tar.xz
/gcc-13.1.1-20230519.tar.xz
+/gcc-13.1.1-20230614.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 5dedde9..a33ce2d 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20230519
-%global gitrev 75b6adf0fdb4d09b64cddfdce59a030f69071fc5
+%global DATE 20230614
+%global gitrev 0d7019741b037c7e9c4e57d6de3bce6bb2ed8026
%global gcc_version 13.1.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 3
+%global gcc_release 4
%global nvptx_tools_gitrev 93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b
%global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409
%global _unpackaged_files_terminate_build 0
@@ -3459,6 +3459,18 @@ end
%endif
%changelog
+* Wed Jun 14 2023 Jakub Jelinek 13.1.1-4
+- update from releases/gcc-13 branch
+ - PRs bootstrap/110085, c++/109871, fortran/100607, libgcc/109670,
+ libgcc/109685, libstdc++/108178, libstdc++/109261, libstdc++/109758,
+ libstdc++/109822, libstdc++/109949, libstdc++/110139,
+ middle-end/110200, target/82931, target/92729, target/104327,
+ target/105753, target/106907, target/109547, target/109650,
+ target/109800, target/109939, target/109954, target/110036,
+ target/110044, target/110088, target/110108, target/110227,
+ tree-optimization/109505, tree-optimization/110165,
+ tree-optimization/110166
+
* Fri May 19 2023 Jakub Jelinek 13.1.1-3
- update from releases/gcc-13 branch
- PRs c++/80488, c++/83258, c++/97700, c++/103807, c++/109651, c++/109745,
diff --git a/sources b/sources
index 92b1935..aaa2ce1 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.1.1-20230519.tar.xz) = 7969a54b13b9852790728ddb460297a899413fbfdf872f0ca06b4a1600cf6cafb532be6ec176f51abcde1f3cf0d87f8ac948e241ff20f152443c9c8d3eaf8455
+SHA512 (gcc-13.1.1-20230614.tar.xz) = 47deb22e3025f469cd54f60fd64cab91dd9bdc044224a2e913577d663f6218e8e7eaaf755a25e1e208c2f9a454bf657fcd2cb1b483c86805340b7fa65bcb2301
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
From f3a804c686d1b8a7f6f29b93193cb0108d86631b Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Fri, 16 Jun 2023 20:17:58 +0200
Subject: [PATCH 038/164] Make the Fortran patches hopefully apply again.
---
gcc13-fortran-fdec-non-logical-if.patch | 4 ++--
gcc13-fortran-flogical-as-integer.patch | 16 ++++++++--------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/gcc13-fortran-fdec-non-logical-if.patch b/gcc13-fortran-fdec-non-logical-if.patch
index a3a830c..3e3c915 100644
--- a/gcc13-fortran-fdec-non-logical-if.patch
+++ b/gcc13-fortran-fdec-non-logical-if.patch
@@ -53,7 +53,7 @@ diff --git a/gcc/fortran/resolve.cc b/gcc/fortran/resolve.cc
index bc0df0fdb99..07dd039f3bf 100644
--- a/gcc/fortran/resolve.cc
+++ b/gcc/fortran/resolve.cc
-@@ -10789,10 +10789,31 @@ gfc_resolve_blocks (gfc_code *b, gfc_namespace *ns)
+@@ -11030,10 +11030,31 @@ gfc_resolve_blocks (gfc_code *b, gfc_nam
switch (b->op)
{
case EXEC_IF:
@@ -89,7 +89,7 @@ index bc0df0fdb99..07dd039f3bf 100644
break;
case EXEC_WHERE:
-@@ -12093,11 +12114,32 @@ start:
+@@ -12585,11 +12606,32 @@ start:
break;
case EXEC_IF:
diff --git a/gcc13-fortran-flogical-as-integer.patch b/gcc13-fortran-flogical-as-integer.patch
index 28df5e1..f40b143 100644
--- a/gcc13-fortran-flogical-as-integer.patch
+++ b/gcc13-fortran-flogical-as-integer.patch
@@ -44,7 +44,7 @@ diff --git a/gcc/fortran/resolve.cc b/gcc/fortran/resolve.cc
index c075d0fa0c4..4b90cb59902 100644
--- a/gcc/fortran/resolve.cc
+++ b/gcc/fortran/resolve.cc
-@@ -3915,7 +3915,6 @@ lookup_uop_fuzzy (const char *op, gfc_symtree *uop)
+@@ -4035,7 +4035,6 @@ lookup_uop_fuzzy (const char *op, gfc_sy
return gfc_closest_fuzzy_match (op, candidates);
}
@@ -52,7 +52,7 @@ index c075d0fa0c4..4b90cb59902 100644
/* Callback finding an impure function as an operand to an .and. or
.or. expression. Remember the last function warned about to
avoid double warnings when recursing. */
-@@ -3975,6 +3974,22 @@ convert_hollerith_to_character (gfc_expr *e)
+@@ -4095,6 +4094,22 @@ convert_hollerith_to_character (gfc_expr
}
}
@@ -75,7 +75,7 @@ index c075d0fa0c4..4b90cb59902 100644
/* Convert to numeric and issue a warning for the conversion. */
static void
-@@ -3987,6 +4002,22 @@ convert_to_numeric (gfc_expr *a, gfc_expr *b)
+@@ -4107,6 +4122,22 @@ convert_to_numeric (gfc_expr *a, gfc_exp
gfc_convert_type_warn (a, &t, 2, 1);
}
@@ -98,7 +98,7 @@ index c075d0fa0c4..4b90cb59902 100644
/* Resolve an operator expression node. This can involve replacing the
operation with a user defined function call. */
-@@ -4072,6 +4103,12 @@ resolve_operator (gfc_expr *e)
+@@ -4198,6 +4229,12 @@ resolve_operator (gfc_expr *e)
case INTRINSIC_TIMES:
case INTRINSIC_DIVIDE:
case INTRINSIC_POWER:
@@ -110,8 +110,8 @@ index c075d0fa0c4..4b90cb59902 100644
+
if (gfc_numeric_ts (&op1->ts) && gfc_numeric_ts (&op2->ts))
{
- gfc_type_convert_binary (e, 1);
-@@ -4108,6 +4145,13 @@ resolve_operator (gfc_expr *e)
+ /* Do not perform conversions if operands are not conformable as
+@@ -4245,6 +4282,13 @@ resolve_operator (gfc_expr *e)
case INTRINSIC_OR:
case INTRINSIC_EQV:
case INTRINSIC_NEQV:
@@ -125,7 +125,7 @@ index c075d0fa0c4..4b90cb59902 100644
if (op1->ts.type == BT_LOGICAL && op2->ts.type == BT_LOGICAL)
{
e->ts.type = BT_LOGICAL;
-@@ -4158,6 +4202,9 @@ resolve_operator (gfc_expr *e)
+@@ -4296,6 +4340,9 @@ resolve_operator (gfc_expr *e)
goto simplify_op;
}
@@ -135,7 +135,7 @@ index c075d0fa0c4..4b90cb59902 100644
if (op1->ts.type == BT_LOGICAL)
{
e->ts.type = BT_LOGICAL;
-@@ -4198,6 +4245,12 @@ resolve_operator (gfc_expr *e)
+@@ -4336,6 +4383,12 @@ resolve_operator (gfc_expr *e)
convert_hollerith_to_character (op2);
}
From 27512209124baf03388abd25ac046368a449b344 Mon Sep 17 00:00:00 2001
From: Marek Polacek
Date: Fri, 16 Jun 2023 14:31:24 -0400
Subject: [PATCH 039/164] Remove 3 gcc13-fortran-* patches
---
gcc.spec | 6 -
gcc13-fortran-fdec-non-logical-if.patch | 378 ---------------
gcc13-fortran-fdec-override-kind.patch | 588 ------------------------
gcc13-fortran-flogical-as-integer.patch | 305 ------------
4 files changed, 1277 deletions(-)
delete mode 100644 gcc13-fortran-fdec-non-logical-if.patch
delete mode 100644 gcc13-fortran-fdec-override-kind.patch
delete mode 100644 gcc13-fortran-flogical-as-integer.patch
diff --git a/gcc.spec b/gcc.spec
index a33ce2d..3dd7f04 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -290,9 +290,6 @@ Patch11: gcc13-d-shared-libphobos.patch
Patch50: isl-rh2155127.patch
Patch100: gcc13-fortran-fdec-duplicates.patch
-Patch101: gcc13-fortran-flogical-as-integer.patch
-Patch102: gcc13-fortran-fdec-override-kind.patch
-Patch103: gcc13-fortran-fdec-non-logical-if.patch
# On ARM EABI systems, we do want -gnueabi to be part of the
# target triple.
@@ -868,9 +865,6 @@ touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m
%if 0%{?rhel} >= 9
%patch -P100 -p1 -b .fortran-fdec-duplicates~
-%patch -P101 -p1 -b .fortran-flogical-as-integer~
-%patch -P102 -p1 -b .fortran-fdec-override-kind~
-%patch -P103 -p1 -b .fortran-fdec-non-logical-if~
%endif
%ifarch %{arm}
diff --git a/gcc13-fortran-fdec-non-logical-if.patch b/gcc13-fortran-fdec-non-logical-if.patch
deleted file mode 100644
index 3e3c915..0000000
--- a/gcc13-fortran-fdec-non-logical-if.patch
+++ /dev/null
@@ -1,378 +0,0 @@
-From cc87ddb841017bb0976b05091733609ee17d7f05 Mon Sep 17 00:00:00 2001
-From: Mark Eggleston
-Date: Fri, 22 Jan 2021 13:15:17 +0000
-Subject: [PATCH 07/10] Allow non-logical expressions in IF statements
-
-Use -fdec-non-logical-if to enable feature. Also enabled using -fdec.
----
- gcc/fortran/lang.opt | 4 ++
- gcc/fortran/options.cc | 1 +
- gcc/fortran/resolve.cc | 60 ++++++++++++++++---
- ...gical_expressions_if_statements_blocks_1.f | 25 ++++++++
- ...gical_expressions_if_statements_blocks_2.f | 25 ++++++++
- ...gical_expressions_if_statements_blocks_3.f | 25 ++++++++
- ...gical_expressions_if_statements_blocks_4.f | 45 ++++++++++++++
- ...gical_expressions_if_statements_blocks_5.f | 45 ++++++++++++++
- ...gical_expressions_if_statements_blocks_6.f | 45 ++++++++++++++
- 9 files changed, 266 insertions(+), 9 deletions(-)
- create mode 100644 gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_1.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_2.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_3.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_4.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_5.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_6.f
-
-diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt
-index 4a269ebb22d..d886c2f33ed 100644
---- a/gcc/fortran/lang.opt
-+++ b/gcc/fortran/lang.opt
-@@ -506,6 +506,10 @@ fdec-override-kind
- Fortran Var(flag_dec_override_kind)
- Enable support for per variable kind specification.
-
-+fdec-non-logical-if
-+Fortran Var(flag_dec_non_logical_if)
-+Enable support for non-logical expressions in if statements.
-+
- fdec-structure
- Fortran Var(flag_dec_structure)
- Enable support for DEC STRUCTURE/RECORD.
-diff --git a/gcc/fortran/options.cc b/gcc/fortran/options.cc
-index edbab483b36..a946c86790a 100644
---- a/gcc/fortran/options.cc
-+++ b/gcc/fortran/options.cc
-@@ -79,6 +79,7 @@ set_dec_flags (int value)
- SET_BITFLAG (flag_dec_char_conversions, value, value);
- SET_BITFLAG (flag_dec_duplicates, value, value);
- SET_BITFLAG (flag_dec_override_kind, value, value);
-+ SET_BITFLAG (flag_dec_non_logical_if, value, value);
- }
-
- /* Finalize DEC flags. */
-diff --git a/gcc/fortran/resolve.cc b/gcc/fortran/resolve.cc
-index bc0df0fdb99..07dd039f3bf 100644
---- a/gcc/fortran/resolve.cc
-+++ b/gcc/fortran/resolve.cc
-@@ -11030,10 +11030,31 @@ gfc_resolve_blocks (gfc_code *b, gfc_nam
- switch (b->op)
- {
- case EXEC_IF:
-- if (t && b->expr1 != NULL
-- && (b->expr1->ts.type != BT_LOGICAL || b->expr1->rank != 0))
-- gfc_error ("IF clause at %L requires a scalar LOGICAL expression",
-- &b->expr1->where);
-+ if (t && b->expr1 != NULL)
-+ {
-+ if (flag_dec_non_logical_if && b->expr1->ts.type != BT_LOGICAL)
-+ {
-+ gfc_expr* cast;
-+ cast = gfc_ne (b->expr1,
-+ gfc_get_int_expr (1, &gfc_current_locus, 0),
-+ INTRINSIC_NE);
-+ if (cast == NULL)
-+ gfc_internal_error ("gfc_resolve_blocks(): Failed to cast "
-+ "to LOGICAL in IF");
-+ b->expr1 = cast;
-+ if (warn_conversion_extra)
-+ {
-+ gfc_warning (OPT_Wconversion_extra, "Non-LOGICAL type in"
-+ " IF statement condition %L will be true if"
-+ " it evaluates to nonzero",
-+ &b->expr1->where);
-+ }
-+ }
-+
-+ if ((b->expr1->ts.type != BT_LOGICAL || b->expr1->rank != 0))
-+ gfc_error ("IF clause at %L requires a scalar LOGICAL "
-+ "expression", &b->expr1->where);
-+ }
- break;
-
- case EXEC_WHERE:
-@@ -12585,11 +12606,32 @@ start:
- break;
-
- case EXEC_IF:
-- if (t && code->expr1 != NULL
-- && (code->expr1->ts.type != BT_LOGICAL
-- || code->expr1->rank != 0))
-- gfc_error ("IF clause at %L requires a scalar LOGICAL expression",
-- &code->expr1->where);
-+ if (t && code->expr1 != NULL)
-+ {
-+ if (flag_dec_non_logical_if
-+ && code->expr1->ts.type != BT_LOGICAL)
-+ {
-+ gfc_expr* cast;
-+ cast = gfc_ne (code->expr1,
-+ gfc_get_int_expr (1, &gfc_current_locus, 0),
-+ INTRINSIC_NE);
-+ if (cast == NULL)
-+ gfc_internal_error ("gfc_resolve_code(): Failed to cast "
-+ "to LOGICAL in IF");
-+ code->expr1 = cast;
-+ if (warn_conversion_extra)
-+ {
-+ gfc_warning (OPT_Wconversion_extra, "Non-LOGICAL type in"
-+ " IF statement condition %L will be true if"
-+ " it evaluates to nonzero",
-+ &code->expr1->where);
-+ }
-+ }
-+
-+ if (code->expr1->ts.type != BT_LOGICAL || code->expr1->rank != 0)
-+ gfc_error ("IF clause at %L requires a scalar LOGICAL "
-+ "expression", &code->expr1->where);
-+ }
- break;
-
- case EXEC_CALL:
-diff --git a/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_1.f b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_1.f
-new file mode 100644
-index 00000000000..0101db893ca
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_1.f
-@@ -0,0 +1,25 @@
-+! { dg-do run }
-+! { dg-options "-fdec -Wconversion-extra" }
-+!
-+! Allow logical expressions in if statements and blocks
-+!
-+! Contributed by Francisco Redondo Marchena
-+! and Jeff Law
-+! Modified by Mark Eggleston
-+!
-+ PROGRAM logical_exp_if_st_bl
-+ INTEGER ipos/1/
-+ INTEGER ineg/0/
-+
-+ ! Test non logical variables
-+ if (ineg) STOP 1 ! { dg-warning "if it evaluates to nonzero" }
-+ if (0) STOP 2 ! { dg-warning "if it evaluates to nonzero" }
-+
-+ ! Test non logical expressions in if statements
-+ if (MOD(ipos, 1)) STOP 3 ! { dg-warning "if it evaluates to nonzero" }
-+
-+ ! Test non logical expressions in if blocks
-+ if (MOD(2 * ipos, 2)) then ! { dg-warning "if it evaluates to nonzero" }
-+ STOP 4
-+ endif
-+ END
-diff --git a/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_2.f b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_2.f
-new file mode 100644
-index 00000000000..876f4e09508
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_2.f
-@@ -0,0 +1,25 @@
-+! { dg-do run }
-+! { dg-options "-fdec-non-logical-if -Wconversion-extra" }
-+!
-+! Allow logical expressions in if statements and blocks
-+!
-+! Contributed by Francisco Redondo Marchena
-+! and Jeff Law
-+! Modified by Mark Eggleston
-+!
-+ PROGRAM logical_exp_if_st_bl
-+ INTEGER ipos/1/
-+ INTEGER ineg/0/
-+
-+ ! Test non logical variables
-+ if (ineg) STOP 1 ! { dg-warning "if it evaluates to nonzero" }
-+ if (0) STOP 2 ! { dg-warning "if it evaluates to nonzero" }
-+
-+ ! Test non logical expressions in if statements
-+ if (MOD(ipos, 1)) STOP 3 ! { dg-warning "if it evaluates to nonzero" }
-+
-+ ! Test non logical expressions in if blocks
-+ if (MOD(2 * ipos, 2)) then ! { dg-warning "if it evaluates to nonzero" }
-+ STOP 4
-+ endif
-+ END
-diff --git a/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_3.f b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_3.f
-new file mode 100644
-index 00000000000..35cb4c51b8d
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_3.f
-@@ -0,0 +1,25 @@
-+! { dg-do compile }
-+! { dg-options "-fdec -fno-dec-non-logical-if" }
-+!
-+! Allow logical expressions in if statements and blocks
-+!
-+! Contributed by Francisco Redondo Marchena
-+! and Jeff Law
-+! Modified by Mark Eggleston
-+!
-+ PROGRAM logical_exp_if_st_bl
-+ INTEGER ipos/1/
-+ INTEGER ineg/0/
-+
-+ ! Test non logical variables
-+ if (ineg) STOP 1 ! { dg-error "IF clause at" }
-+ if (0) STOP 2 ! { dg-error "IF clause at" }
-+
-+ ! Test non logical expressions in if statements
-+ if (MOD(ipos, 1)) STOP 3 ! { dg-error "IF clause at" }
-+
-+ ! Test non logical expressions in if blocks
-+ if (MOD(2 * ipos, 2)) then ! { dg-error "IF clause at" }
-+ STOP 4
-+ endif
-+ END
-diff --git a/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_4.f b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_4.f
-new file mode 100644
-index 00000000000..7b60b60827f
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_4.f
-@@ -0,0 +1,45 @@
-+! { dg-do run }
-+! { dg-options "-fdec -Wconversion-extra" }
-+!
-+! Contributed by Francisco Redondo Marchena
-+! and Jeff Law
-+! Modified by Mark Eggleston
-+!
-+ function othersub1()
-+ integer*4 othersub1
-+ othersub1 = 9
-+ end
-+
-+ function othersub2()
-+ integer*4 othersub2
-+ othersub2 = 0
-+ end
-+
-+ program MAIN
-+ integer*4 othersub1
-+ integer*4 othersub2
-+ integer a /1/
-+ integer b /2/
-+
-+ if (othersub1()) then ! { dg-warning "if it evaluates to nonzero" }
-+ write(*,*) "OK"
-+ else
-+ stop 1
-+ end if
-+ if (othersub2()) then ! { dg-warning "if it evaluates to nonzero" }
-+ stop 2
-+ else
-+ write(*,*) "OK"
-+ end if
-+ if (a-b) then ! { dg-warning "if it evaluates to nonzero" }
-+ write(*,*) "OK"
-+ else
-+ stop 3
-+ end if
-+ if (b-(a+1)) then ! { dg-warning "if it evaluates to nonzero" }
-+ stop 3
-+ else
-+ write(*,*) "OK"
-+ end if
-+ end
-+
-diff --git a/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_5.f b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_5.f
-new file mode 100644
-index 00000000000..80336f48ca1
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_5.f
-@@ -0,0 +1,45 @@
-+! { dg-do run }
-+! { dg-options "-fdec-non-logical-if -Wconversion-extra" }
-+!
-+! Contributed by Francisco Redondo Marchena
-+! and Jeff Law
-+! Modified by Mark Eggleston
-+!
-+ function othersub1()
-+ integer*4 othersub1
-+ othersub1 = 9
-+ end
-+
-+ function othersub2()
-+ integer*4 othersub2
-+ othersub2 = 0
-+ end
-+
-+ program MAIN
-+ integer*4 othersub1
-+ integer*4 othersub2
-+ integer a /1/
-+ integer b /2/
-+
-+ if (othersub1()) then ! { dg-warning "Non-LOGICAL type in IF statement" }
-+ write(*,*) "OK"
-+ else
-+ stop 1
-+ end if
-+ if (othersub2()) then ! { dg-warning "Non-LOGICAL type in IF statement" }
-+ stop 2
-+ else
-+ write(*,*) "OK"
-+ end if
-+ if (a-b) then ! { dg-warning "Non-LOGICAL type in IF statement" }
-+ write(*,*) "OK"
-+ else
-+ stop 3
-+ end if
-+ if (b-(a+1)) then ! { dg-warning "Non-LOGICAL type in IF statement" }
-+ stop 3
-+ else
-+ write(*,*) "OK"
-+ end if
-+ end
-+
-diff --git a/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_6.f b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_6.f
-new file mode 100644
-index 00000000000..e1125ca717a
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_6.f
-@@ -0,0 +1,45 @@
-+! { dg-do compile }
-+! { dg-options "-fdec -fno-dec-non-logical-if" }
-+!
-+! Contributed by Francisco Redondo Marchena
-+! and Jeff Law
-+! Modified by Mark Eggleston
-+!
-+ function othersub1()
-+ integer*4 othersub1
-+ othersub1 = 9
-+ end
-+
-+ function othersub2()
-+ integer*4 othersub2
-+ othersub2 = 0
-+ end
-+
-+ program MAIN
-+ integer*4 othersub1
-+ integer*4 othersub2
-+ integer a /1/
-+ integer b /2/
-+
-+ if (othersub1()) then ! { dg-error "IF clause at" }
-+ write(*,*) "OK"
-+ else
-+ stop 1
-+ end if
-+ if (othersub2()) then ! { dg-error "IF clause at" }
-+ stop 2
-+ else
-+ write(*,*) "OK"
-+ end if
-+ if (a-b) then ! { dg-error "IF clause at" }
-+ write(*,*) "OK"
-+ else
-+ stop 3
-+ end if
-+ if (b-(a+1)) then ! { dg-error "IF clause at" }
-+ stop 3
-+ else
-+ write(*,*) "OK"
-+ end if
-+ end
-+
---
-2.27.0
-
diff --git a/gcc13-fortran-fdec-override-kind.patch b/gcc13-fortran-fdec-override-kind.patch
deleted file mode 100644
index 370fa56..0000000
--- a/gcc13-fortran-fdec-override-kind.patch
+++ /dev/null
@@ -1,588 +0,0 @@
-From 786869fd62813e80da9b6545a295d53c36275c19 Mon Sep 17 00:00:00 2001
-From: Mark Eggleston
-Date: Fri, 22 Jan 2021 13:12:14 +0000
-Subject: [PATCH 06/10] Allow string length and kind to be specified on a per
- variable basis.
-
-This allows kind/length to be mixed with array specification in
-declarations.
-
-e.g.
-
- INTEGER*4 x*2, y*8
- CHARACTER names*20(10)
- REAL v(100)*8, vv*4(50)
-
-The per-variable size overrides the kind or length specified for the type.
-
-Use -fdec-override-kind to enable. Also enabled by -fdec.
-
-Note: this feature is a merger of two previously separate features.
-
-Now accepts named constants as kind parameters:
-
- INTEGER A
- PARAMETER (A=2)
- INTEGER B*(A)
-
-Contributed by Mark Eggleston
-
-Now rejects invalid kind parameters and prints error messages:
-
- INTEGER X*3
-
-caused an internal compiler error.
-
-Contributed by Mark Eggleston
----
- gcc/fortran/decl.cc | 156 ++++++++++++++----
- gcc/fortran/lang.opt | 4 +
- gcc/fortran/options.cc | 1 +
- .../dec_mixed_char_array_declaration_1.f | 13 ++
- .../dec_mixed_char_array_declaration_2.f | 13 ++
- .../dec_mixed_char_array_declaration_3.f | 13 ++
- .../gfortran.dg/dec_spec_in_variable_1.f | 31 ++++
- .../gfortran.dg/dec_spec_in_variable_2.f | 31 ++++
- .../gfortran.dg/dec_spec_in_variable_3.f | 31 ++++
- .../gfortran.dg/dec_spec_in_variable_4.f | 14 ++
- .../gfortran.dg/dec_spec_in_variable_5.f | 19 +++
- .../gfortran.dg/dec_spec_in_variable_6.f | 19 +++
- .../gfortran.dg/dec_spec_in_variable_7.f | 15 ++
- .../gfortran.dg/dec_spec_in_variable_8.f | 14 ++
- 14 files changed, 340 insertions(+), 34 deletions(-)
- create mode 100644 gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_1.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_2.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_3.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_spec_in_variable_1.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_spec_in_variable_2.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_spec_in_variable_3.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_spec_in_variable_4.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_spec_in_variable_5.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_spec_in_variable_6.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_spec_in_variable_7.f
- create mode 100644 gcc/testsuite/gfortran.dg/dec_spec_in_variable_8.f
-
-diff --git a/gcc/fortran/decl.cc b/gcc/fortran/decl.cc
-index 5c8c1b7981b..f7dc9d8263d 100644
---- a/gcc/fortran/decl.cc
-+++ b/gcc/fortran/decl.cc
-@@ -1213,6 +1213,54 @@ syntax:
- return MATCH_ERROR;
- }
-
-+/* This matches the nonstandard kind given after a variable name, like:
-+ INTEGER x*2, y*4
-+ The per-variable kind will override any kind given in the type
-+ declaration.
-+*/
-+
-+static match
-+match_per_symbol_kind (int *length)
-+{
-+ match m;
-+ gfc_expr *expr = NULL;
-+
-+ m = gfc_match_char ('*');
-+ if (m != MATCH_YES)
-+ return m;
-+
-+ m = gfc_match_small_literal_int (length, NULL);
-+ if (m == MATCH_YES || m == MATCH_ERROR)
-+ return m;
-+
-+ if (gfc_match_char ('(') == MATCH_NO)
-+ return MATCH_ERROR;
-+
-+ m = gfc_match_expr (&expr);
-+ if (m == MATCH_YES)
-+ {
-+ m = MATCH_ERROR; // Assume error
-+ if (gfc_expr_check_typed (expr, gfc_current_ns, false))
-+ {
-+ if ((expr->expr_type == EXPR_CONSTANT)
-+ && (expr->ts.type == BT_INTEGER))
-+ {
-+ *length = mpz_get_si(expr->value.integer);
-+ m = MATCH_YES;
-+ }
-+ }
-+
-+ if (m == MATCH_YES)
-+ {
-+ if (gfc_match_char (')') == MATCH_NO)
-+ m = MATCH_ERROR;
-+ }
-+ }
-+
-+ if (expr != NULL)
-+ gfc_free_expr (expr);
-+ return m;
-+}
-
- /* Special subroutine for finding a symbol. Check if the name is found
- in the current name space. If not, and we're compiling a function or
-@@ -2443,6 +2491,35 @@ check_function_name (char *name)
- }
-
-
-+static match
-+match_character_length_clause (gfc_charlen **cl, bool *cl_deferred, int elem)
-+{
-+ gfc_expr* char_len;
-+ char_len = NULL;
-+
-+ match m = match_char_length (&char_len, cl_deferred, false);
-+ if (m == MATCH_YES)
-+ {
-+ *cl = gfc_new_charlen (gfc_current_ns, NULL);
-+ (*cl)->length = char_len;
-+ }
-+ else if (m == MATCH_NO)
-+ {
-+ if (elem > 1
-+ && (current_ts.u.cl->length == NULL
-+ || current_ts.u.cl->length->expr_type != EXPR_CONSTANT))
-+ {
-+ *cl = gfc_new_charlen (gfc_current_ns, NULL);
-+ (*cl)->length = gfc_copy_expr (current_ts.u.cl->length);
-+ }
-+ else
-+ *cl = current_ts.u.cl;
-+
-+ *cl_deferred = current_ts.deferred;
-+ }
-+ return m;
-+}
-+
- /* Match a variable name with an optional initializer. When this
- subroutine is called, a variable is expected to be parsed next.
- Depending on what is happening at the moment, updates either the
-@@ -2453,7 +2530,7 @@ variable_decl (int elem)
- {
- char name[GFC_MAX_SYMBOL_LEN + 1];
- static unsigned int fill_id = 0;
-- gfc_expr *initializer, *char_len;
-+ gfc_expr *initializer;
- gfc_array_spec *as;
- gfc_array_spec *cp_as; /* Extra copy for Cray Pointees. */
- gfc_charlen *cl;
-@@ -2462,11 +2539,15 @@ variable_decl (int elem)
- match m;
- bool t;
- gfc_symbol *sym;
-+ match cl_match;
-+ match kind_match;
-+ int overridden_kind;
- char c;
-
- initializer = NULL;
- as = NULL;
- cp_as = NULL;
-+ kind_match = MATCH_NO;
-
- /* When we get here, we've just matched a list of attributes and
- maybe a type and a double colon. The next thing we expect to see
-@@ -2519,6 +2600,28 @@ variable_decl (int elem)
-
- var_locus = gfc_current_locus;
-
-+
-+ cl = NULL;
-+ cl_deferred = false;
-+ cl_match = MATCH_NO;
-+
-+ /* Check for a character length clause before an array clause */
-+ if (flag_dec_override_kind)
-+ {
-+ if (current_ts.type == BT_CHARACTER)
-+ {
-+ cl_match = match_character_length_clause (&cl, &cl_deferred, elem);
-+ if (cl_match == MATCH_ERROR)
-+ goto cleanup;
-+ }
-+ else
-+ {
-+ kind_match = match_per_symbol_kind (&overridden_kind);
-+ if (kind_match == MATCH_ERROR)
-+ goto cleanup;
-+ }
-+ }
-+
- /* Now we could see the optional array spec. or character length. */
- m = gfc_match_array_spec (&as, true, true);
- if (m == MATCH_ERROR)
-@@ -2667,40 +2770,12 @@ variable_decl (int elem)
- }
- }
-
-- char_len = NULL;
-- cl = NULL;
-- cl_deferred = false;
--
-- if (current_ts.type == BT_CHARACTER)
-+ /* Second chance for a character length clause */
-+ if (cl_match == MATCH_NO && current_ts.type == BT_CHARACTER)
- {
-- switch (match_char_length (&char_len, &cl_deferred, false))
-- {
-- case MATCH_YES:
-- cl = gfc_new_charlen (gfc_current_ns, NULL);
--
-- cl->length = char_len;
-- break;
--
-- /* Non-constant lengths need to be copied after the first
-- element. Also copy assumed lengths. */
-- case MATCH_NO:
-- if (elem > 1
-- && (current_ts.u.cl->length == NULL
-- || current_ts.u.cl->length->expr_type != EXPR_CONSTANT))
-- {
-- cl = gfc_new_charlen (gfc_current_ns, NULL);
-- cl->length = gfc_copy_expr (current_ts.u.cl->length);
-- }
-- else
-- cl = current_ts.u.cl;
--
-- cl_deferred = current_ts.deferred;
--
-- break;
--
-- case MATCH_ERROR:
-- goto cleanup;
-- }
-+ m = match_character_length_clause (&cl, &cl_deferred, elem);
-+ if (m == MATCH_ERROR)
-+ goto cleanup;
- }
-
- /* The dummy arguments and result of the abreviated form of MODULE
-@@ -2802,6 +2877,19 @@ variable_decl (int elem)
- goto cleanup;
- }
-
-+ if (kind_match == MATCH_YES)
-+ {
-+ gfc_find_symbol (name, gfc_current_ns, 1, &sym);
-+ /* sym *must* be found at this point */
-+ sym->ts.kind = overridden_kind;
-+ if (gfc_validate_kind (sym->ts.type, sym->ts.kind, true) < 0)
-+ {
-+ gfc_error ("Kind %d not supported for type %s at %C",
-+ sym->ts.kind, gfc_basic_typename (sym->ts.type));
-+ return MATCH_ERROR;
-+ }
-+ }
-+
- if (!check_function_name (name))
- {
- m = MATCH_ERROR;
-diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt
-index 25cc948699b..4a269ebb22d 100644
---- a/gcc/fortran/lang.opt
-+++ b/gcc/fortran/lang.opt
-@@ -502,6 +502,10 @@ fdec-math
- Fortran Var(flag_dec_math)
- Enable legacy math intrinsics for compatibility.
-
-+fdec-override-kind
-+Fortran Var(flag_dec_override_kind)
-+Enable support for per variable kind specification.
-+
- fdec-structure
- Fortran Var(flag_dec_structure)
- Enable support for DEC STRUCTURE/RECORD.
-diff --git a/gcc/fortran/options.cc b/gcc/fortran/options.cc
-index d6bd36c3a8a..edbab483b36 100644
---- a/gcc/fortran/options.cc
-+++ b/gcc/fortran/options.cc
-@@ -78,6 +78,7 @@ set_dec_flags (int value)
- SET_BITFLAG (flag_dec_blank_format_item, value, value);
- SET_BITFLAG (flag_dec_char_conversions, value, value);
- SET_BITFLAG (flag_dec_duplicates, value, value);
-+ SET_BITFLAG (flag_dec_override_kind, value, value);
- }
-
- /* Finalize DEC flags. */
-diff --git a/gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_1.f b/gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_1.f
-new file mode 100644
-index 00000000000..706ea4112a4
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_1.f
-@@ -0,0 +1,13 @@
-+! { dg-do run }
-+! { dg-options "-fdec" }
-+!
-+! Test character declaration with mixed string length and array specification
-+!
-+! Contributed by Jim MacArthur
-+! Modified by Mark Eggleston
-+!
-+ PROGRAM character_declaration
-+ CHARACTER ASPEC_SLENGTH*2 (5) /'01','02','03','04','05'/
-+ CHARACTER SLENGTH_ASPEC(5)*2 /'01','02','03','04','05'/
-+ if (ASPEC_SLENGTH(3).NE.SLENGTH_ASPEC(3)) STOP 1
-+ END
-diff --git a/gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_2.f b/gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_2.f
-new file mode 100644
-index 00000000000..26d2acf01de
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_2.f
-@@ -0,0 +1,13 @@
-+! { dg-do run }
-+! { dg-options "-fdec-override-kind" }
-+!
-+! Test character declaration with mixed string length and array specification
-+!
-+! Contributed by Jim MacArthur
-+! Modified by Mark Eggleston
-+!
-+ PROGRAM character_declaration
-+ CHARACTER ASPEC_SLENGTH*2 (5) /'01','02','03','04','05'/
-+ CHARACTER SLENGTH_ASPEC(5)*2 /'01','02','03','04','05'/
-+ if (ASPEC_SLENGTH(3).NE.SLENGTH_ASPEC(3)) STOP 1
-+ END
-diff --git a/gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_3.f b/gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_3.f
-new file mode 100644
-index 00000000000..76e4f0bdb93
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_3.f
-@@ -0,0 +1,13 @@
-+! { dg-do compile }
-+! { dg-options "-fdec-override-kind -fno-dec-override-kind" }
-+!
-+! Test character declaration with mixed string length and array specification
-+!
-+! Contributed by Jim MacArthur
-+! Modified by Mark Eggleston
-+!
-+ PROGRAM character_declaration
-+ CHARACTER ASPEC_SLENGTH*2 (5) /'01','02','03','04','05'/ ! { dg-error "Syntax error" }
-+ CHARACTER SLENGTH_ASPEC(5)*2 /'01','02','03','04','05'/
-+ if (ASPEC_SLENGTH(3).NE.SLENGTH_ASPEC(3)) STOP 1 ! { dg-error " Operands of comparison operator" }
-+ END
-diff --git a/gcc/testsuite/gfortran.dg/dec_spec_in_variable_1.f b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_1.f
-new file mode 100644
-index 00000000000..edd0f5874b7
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_1.f
-@@ -0,0 +1,31 @@
-+! { dg-do run }
-+! { dg-options "-fdec" }
-+!
-+! Test kind specification in variable not in type
-+!
-+! Contributed by Mark Eggleston
-+!
-+ program spec_in_var
-+ integer*8 ai*1, bi*4, ci
-+ real*4 ar*4, br*8, cr
-+
-+ ai = 1
-+ ar = 1.0
-+ bi = 2
-+ br = 2.0
-+ ci = 3
-+ cr = 3.0
-+
-+ if (ai .ne. 1) stop 1
-+ if (abs(ar - 1.0) > 1.0D-6) stop 2
-+ if (bi .ne. 2) stop 3
-+ if (abs(br - 2.0) > 1.0D-6) stop 4
-+ if (ci .ne. 3) stop 5
-+ if (abs(cr - 3.0) > 1.0D-6) stop 6
-+ if (kind(ai) .ne. 1) stop 7
-+ if (kind(ar) .ne. 4) stop 8
-+ if (kind(bi) .ne. 4) stop 9
-+ if (kind(br) .ne. 8) stop 10
-+ if (kind(ci) .ne. 8) stop 11
-+ if (kind(cr) .ne. 4) stop 12
-+ end
-diff --git a/gcc/testsuite/gfortran.dg/dec_spec_in_variable_2.f b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_2.f
-new file mode 100644
-index 00000000000..bfaba584dbb
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_2.f
-@@ -0,0 +1,31 @@
-+! { dg-do run }
-+! { dg-options "-fdec-override-kind" }
-+!
-+! Test kind specification in variable not in type
-+!
-+! Contributed by Mark Eggleston
-+!
-+ program spec_in_var
-+ integer*8 ai*1, bi*4, ci
-+ real*4 ar*4, br*8, cr
-+
-+ ai = 1
-+ ar = 1.0
-+ bi = 2
-+ br = 2.0
-+ ci = 3
-+ cr = 3.0
-+
-+ if (ai .ne. 1) stop 1
-+ if (abs(ar - 1.0) > 1.0D-6) stop 2
-+ if (bi .ne. 2) stop 3
-+ if (abs(br - 2.0) > 1.0D-6) stop 4
-+ if (ci .ne. 3) stop 5
-+ if (abs(cr - 3.0) > 1.0D-6) stop 6
-+ if (kind(ai) .ne. 1) stop 7
-+ if (kind(ar) .ne. 4) stop 8
-+ if (kind(bi) .ne. 4) stop 9
-+ if (kind(br) .ne. 8) stop 10
-+ if (kind(ci) .ne. 8) stop 11
-+ if (kind(cr) .ne. 4) stop 12
-+ end
-diff --git a/gcc/testsuite/gfortran.dg/dec_spec_in_variable_3.f b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_3.f
-new file mode 100644
-index 00000000000..5ff434e7466
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_3.f
-@@ -0,0 +1,31 @@
-+! { dg-do compile }
-+! { dg-options "-fdec -fno-dec-override-kind" }
-+!
-+! Test kind specification in variable not in type
-+!
-+! Contributed by Mark Eggleston
-+!
-+ program spec_in_var
-+ integer*8 ai*1, bi*4, ci ! { dg-error "Syntax error" }
-+ real*4 ar*4, br*8, cr ! { dg-error "Syntax error" }
-+
-+ ai = 1
-+ ar = 1.0
-+ bi = 2
-+ br = 2.0
-+ ci = 3
-+ cr = 3.0
-+
-+ if (ai .ne. 1) stop 1
-+ if (abs(ar - 1.0) > 1.0D-6) stop 2
-+ if (bi .ne. 2) stop 3
-+ if (abs(br - 2.0) > 1.0D-6) stop 4
-+ if (ci .ne. 3) stop 5
-+ if (abs(cr - 3.0) > 1.0D-6) stop 6
-+ if (kind(ai) .ne. 1) stop 7
-+ if (kind(ar) .ne. 4) stop 8
-+ if (kind(bi) .ne. 4) stop 9
-+ if (kind(br) .ne. 8) stop 10
-+ if (kind(ci) .ne. 8) stop 11
-+ if (kind(cr) .ne. 4) stop 12
-+ end
-diff --git a/gcc/testsuite/gfortran.dg/dec_spec_in_variable_4.f b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_4.f
-new file mode 100644
-index 00000000000..c01980e8b9d
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_4.f
-@@ -0,0 +1,14 @@
-+! { dg-do compile }
-+!
-+! Test kind specification in variable not in type. The per variable
-+! kind specification is not enabled so these should fail
-+!
-+! Contributed by Mark Eggleston
-+!
-+ program spec_in_var
-+ integer a
-+ parameter(a=2)
-+ integer b*(a) ! { dg-error "Syntax error" }
-+ real c*(8) ! { dg-error "Syntax error" }
-+ logical d*1_1 ! { dg-error "Syntax error" }
-+ end
-diff --git a/gcc/testsuite/gfortran.dg/dec_spec_in_variable_5.f b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_5.f
-new file mode 100644
-index 00000000000..e2f39da3f4f
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_5.f
-@@ -0,0 +1,19 @@
-+! { dg-do run }
-+! { dg-options "-fdec-override-kind" }
-+!
-+! Test kind specification in variable not in type
-+!
-+! Contributed by Mark Eggleston
-+!
-+ program spec_in_var
-+ integer a
-+ parameter(a=2)
-+ integer b*(a)
-+ real c*(8)
-+ logical d*(1_1)
-+ character e*(a)
-+ if (kind(b).ne.2) stop 1
-+ if (kind(c).ne.8) stop 2
-+ if (kind(d).ne.1) stop 3
-+ if (len(e).ne.2) stop 4
-+ end
-diff --git a/gcc/testsuite/gfortran.dg/dec_spec_in_variable_6.f b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_6.f
-new file mode 100644
-index 00000000000..569747874e3
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_6.f
-@@ -0,0 +1,19 @@
-+! { dg-do run }
-+! { dg-options "-fdec" }
-+!
-+! Test kind specification in variable not in type
-+!
-+! Contributed by Mark Eggleston
-+!
-+ program spec_in_var
-+ integer a
-+ parameter(a=2)
-+ integer b*(a)
-+ real c*(8)
-+ logical d*(1_1)
-+ character e*(a)
-+ if (kind(b).ne.2) stop 1
-+ if (kind(c).ne.8) stop 2
-+ if (kind(d).ne.1) stop 3
-+ if (len(e).ne.2) stop 4
-+ end
-diff --git a/gcc/testsuite/gfortran.dg/dec_spec_in_variable_7.f b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_7.f
-new file mode 100644
-index 00000000000..b975bfd15c5
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_7.f
-@@ -0,0 +1,15 @@
-+! { dg-do compile }
-+! { dg-options "-fdec -fno-dec-override-kind" }
-+!
-+! Test kind specification in variable not in type as the per variable
-+! kind specification is not enables these should fail
-+!
-+! Contributed by Mark Eggleston
-+!
-+ program spec_in_var
-+ integer a
-+ parameter(a=2)
-+ integer b*(a) ! { dg-error "Syntax error" }
-+ real c*(8) ! { dg-error "Syntax error" }
-+ logical d*1_1 ! { dg-error "Syntax error" }
-+ end
-diff --git a/gcc/testsuite/gfortran.dg/dec_spec_in_variable_8.f b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_8.f
-new file mode 100644
-index 00000000000..85732e0bd85
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/dec_spec_in_variable_8.f
-@@ -0,0 +1,14 @@
-+! { dg-do compile }
-+! { dg-options "-fdec" }
-+!
-+! Check that invalid kind values are rejected.
-+!
-+! Contributed by Mark Eggleston
-+!
-+ program spec_in_var
-+ integer a
-+ parameter(a=3)
-+ integer b*(a) ! { dg-error "Kind 3 not supported" }
-+ real c*(78) ! { dg-error "Kind 78 not supported" }
-+ logical d*(*) ! { dg-error "Invalid character" }
-+ end
---
-2.27.0
-
diff --git a/gcc13-fortran-flogical-as-integer.patch b/gcc13-fortran-flogical-as-integer.patch
deleted file mode 100644
index f40b143..0000000
--- a/gcc13-fortran-flogical-as-integer.patch
+++ /dev/null
@@ -1,305 +0,0 @@
-From 9b45f3063dfd2b893e7963a4828c1b0afecdc68a Mon Sep 17 00:00:00 2001
-From: Mark Eggleston
-Date: Fri, 22 Jan 2021 12:41:46 +0000
-Subject: [PATCH 02/10] Convert LOGICAL to INTEGER for arithmetic ops, and vice
- versa
-
-We allow converting LOGICAL types to INTEGER when doing arithmetic
-operations, and converting INTEGER types to LOGICAL for use in
-boolean operations.
-
-This feature is enabled with the -flogical-as-integer flag.
-
-Note: using this feature will disable bitwise logical operations enabled by
--fdec.
----
- gcc/fortran/lang.opt | 4 ++
- gcc/fortran/resolve.cc | 55 ++++++++++++++++++-
- .../logical_to_integer_and_vice_versa_1.f | 31 +++++++++++
- .../logical_to_integer_and_vice_versa_2.f | 31 +++++++++++
- .../logical_to_integer_and_vice_versa_3.f | 33 +++++++++++
- .../logical_to_integer_and_vice_versa_4.f | 33 +++++++++++
- 6 files changed, 186 insertions(+), 1 deletion(-)
- create mode 100644 gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_1.f
- create mode 100644 gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_2.f
- create mode 100644 gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_3.f
- create mode 100644 gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_4.f
-
-diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt
-index 52bd522051e..c4da248f07c 100644
---- a/gcc/fortran/lang.opt
-+++ b/gcc/fortran/lang.opt
-@@ -497,6 +497,10 @@ fdec-static
- Fortran Var(flag_dec_static)
- Enable DEC-style STATIC and AUTOMATIC attributes.
-
-+flogical-as-integer
-+Fortran Var(flag_logical_as_integer)
-+Convert from integer to logical or logical to integer for arithmetic operations.
-+
- fdefault-double-8
- Fortran Var(flag_default_double)
- Set the default double precision kind to an 8 byte wide type.
-diff --git a/gcc/fortran/resolve.cc b/gcc/fortran/resolve.cc
-index c075d0fa0c4..4b90cb59902 100644
---- a/gcc/fortran/resolve.cc
-+++ b/gcc/fortran/resolve.cc
-@@ -4035,7 +4035,6 @@ lookup_uop_fuzzy (const char *op, gfc_sy
- return gfc_closest_fuzzy_match (op, candidates);
- }
-
--
- /* Callback finding an impure function as an operand to an .and. or
- .or. expression. Remember the last function warned about to
- avoid double warnings when recursing. */
-@@ -4095,6 +4094,22 @@ convert_hollerith_to_character (gfc_expr
- }
- }
-
-+/* If E is a logical, convert it to an integer and issue a warning
-+ for the conversion. */
-+
-+static void
-+convert_integer_to_logical (gfc_expr *e)
-+{
-+ if (e->ts.type == BT_INTEGER)
-+ {
-+ /* Convert to LOGICAL */
-+ gfc_typespec t;
-+ t.type = BT_LOGICAL;
-+ t.kind = 1;
-+ gfc_convert_type_warn (e, &t, 2, 1);
-+ }
-+}
-+
- /* Convert to numeric and issue a warning for the conversion. */
-
- static void
-@@ -4107,6 +4122,22 @@ convert_to_numeric (gfc_expr *a, gfc_exp
- gfc_convert_type_warn (a, &t, 2, 1);
- }
-
-+/* If E is a logical, convert it to an integer and issue a warning
-+ for the conversion. */
-+
-+static void
-+convert_logical_to_integer (gfc_expr *e)
-+{
-+ if (e->ts.type == BT_LOGICAL)
-+ {
-+ /* Convert to INTEGER */
-+ gfc_typespec t;
-+ t.type = BT_INTEGER;
-+ t.kind = 1;
-+ gfc_convert_type_warn (e, &t, 2, 1);
-+ }
-+}
-+
- /* Resolve an operator expression node. This can involve replacing the
- operation with a user defined function call. */
-
-@@ -4198,6 +4229,12 @@ resolve_operator (gfc_expr *e)
- case INTRINSIC_TIMES:
- case INTRINSIC_DIVIDE:
- case INTRINSIC_POWER:
-+ if (flag_logical_as_integer)
-+ {
-+ convert_logical_to_integer (op1);
-+ convert_logical_to_integer (op2);
-+ }
-+
- if (gfc_numeric_ts (&op1->ts) && gfc_numeric_ts (&op2->ts))
- {
- /* Do not perform conversions if operands are not conformable as
-@@ -4245,6 +4282,13 @@ resolve_operator (gfc_expr *e)
- case INTRINSIC_OR:
- case INTRINSIC_EQV:
- case INTRINSIC_NEQV:
-+
-+ if (flag_logical_as_integer)
-+ {
-+ convert_integer_to_logical (op1);
-+ convert_integer_to_logical (op2);
-+ }
-+
- if (op1->ts.type == BT_LOGICAL && op2->ts.type == BT_LOGICAL)
- {
- e->ts.type = BT_LOGICAL;
-@@ -4296,6 +4340,9 @@ resolve_operator (gfc_expr *e)
- goto simplify_op;
- }
-
-+ if (flag_logical_as_integer)
-+ convert_integer_to_logical (op1);
-+
- if (op1->ts.type == BT_LOGICAL)
- {
- e->ts.type = BT_LOGICAL;
-@@ -4336,6 +4383,12 @@ resolve_operator (gfc_expr *e)
- convert_hollerith_to_character (op2);
- }
-
-+ if (flag_logical_as_integer)
-+ {
-+ convert_logical_to_integer (op1);
-+ convert_logical_to_integer (op2);
-+ }
-+
- if (op1->ts.type == BT_CHARACTER && op2->ts.type == BT_CHARACTER
- && op1->ts.kind == op2->ts.kind)
- {
-diff --git a/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_1.f b/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_1.f
-new file mode 100644
-index 00000000000..938a91d9e9a
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_1.f
-@@ -0,0 +1,31 @@
-+! { dg-do run }
-+! { dg-options "-std=legacy -flogical-as-integer" }
-+!
-+! Test conversion between logical and integer for logical operators
-+!
-+! Test case contributed by Jim MacArthur
-+! Modified for -flogical-as-integer by Mark Eggleston
-+!
-+!
-+ PROGRAM logical_integer_conversion
-+ LOGICAL lpos /.true./
-+ INTEGER ineg/0/
-+ INTEGER ires
-+ LOGICAL lres
-+
-+ ! Test Logicals converted to Integers
-+ if ((lpos.AND.ineg).EQ.1) STOP 3
-+ if ((ineg.AND.lpos).NE.0) STOP 4
-+ ires = (.true..AND.0)
-+ if (ires.NE.0) STOP 5
-+ ires = (1.AND..false.)
-+ if (ires.EQ.1) STOP 6
-+
-+ ! Test Integers converted to Logicals
-+ if (lpos.EQ.ineg) STOP 7
-+ if (ineg.EQ.lpos) STOP 8
-+ lres = (.true..EQ.0)
-+ if (lres) STOP 9
-+ lres = (1.EQ..false.)
-+ if (lres) STOP 10
-+ END
-diff --git a/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_2.f b/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_2.f
-new file mode 100644
-index 00000000000..9f146202ba5
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_2.f
-@@ -0,0 +1,31 @@
-+! { dg-do compile }
-+! { dg-options "-std=legacy -flogical-as-integer -fno-logical-as-integer" }
-+!
-+! Based on logical_to_integer_and_vice_versa_1.f but with option disabled
-+! to test for error messages.
-+!
-+! Test case contributed by by Mark Eggleston
-+!
-+!
-+ PROGRAM logical_integer_conversion
-+ LOGICAL lpos /.true./
-+ INTEGER ineg/0/
-+ INTEGER ires
-+ LOGICAL lres
-+
-+ ! Test Logicals converted to Integers
-+ if ((lpos.AND.ineg).EQ.1) STOP 3 ! { dg-error "Operands of logical operator" }
-+ if ((ineg.AND.lpos).NE.0) STOP 4 ! { dg-error "Operands of logical operator" }
-+ ires = (.true..AND.0) ! { dg-error "Operands of logical operator" }
-+ if (ires.NE.0) STOP 5
-+ ires = (1.AND..false.) ! { dg-error "Operands of logical operator" }
-+ if (ires.EQ.1) STOP 6
-+
-+ ! Test Integers converted to Logicals
-+ if (lpos.EQ.ineg) STOP 7 ! { dg-error "Operands of comparison operator" }
-+ if (ineg.EQ.lpos) STOP 8 ! { dg-error "Operands of comparison operator" }
-+ lres = (.true..EQ.0) ! { dg-error "Operands of comparison operator" }
-+ if (lres) STOP 9
-+ lres = (1.EQ..false.) ! { dg-error "Operands of comparison operator" }
-+ if (lres) STOP 10
-+ END
-diff --git a/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_3.f b/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_3.f
-new file mode 100644
-index 00000000000..446873eb2dc
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_3.f
-@@ -0,0 +1,33 @@
-+! { dg-do compile }
-+! { dg-options "-std=legacy -flogical-as-integer" }
-+!
-+! Test conversion between logical and integer for logical operators
-+!
-+ program test
-+ logical f /.false./
-+ logical t /.true./
-+ real x
-+
-+ x = 7.7
-+ x = x + t*3.0
-+ if (abs(x - 10.7).gt.0.00001) stop 1
-+ x = x + .false.*5.0
-+ if (abs(x - 10.7).gt.0.00001) stop 2
-+ x = x - .true.*5.0
-+ if (abs(x - 5.7).gt.0.00001) stop 3
-+ x = x + t
-+ if (abs(x - 6.7).gt.0.00001) stop 4
-+ x = x + f
-+ if (abs(x - 6.7).gt.0.00001) stop 5
-+ x = x - t
-+ if (abs(x - 5.7).gt.0.00001) stop 6
-+ x = x - f
-+ if (abs(x - 5.7).gt.0.00001) stop 7
-+ x = x**.true.
-+ if (abs(x - 5.7).gt.0.00001) stop 8
-+ x = x**.false.
-+ if (abs(x - 1.0).gt.0.00001) stop 9
-+ x = x/t
-+ if (abs(x - 1.0).gt.0.00001) stop 10
-+ if ((x/.false.).le.huge(x)) stop 11
-+ end
-diff --git a/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_4.f b/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_4.f
-new file mode 100644
-index 00000000000..4301a4988d8
---- /dev/null
-+++ b/gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_4.f
-@@ -0,0 +1,33 @@
-+! { dg-do compile }
-+! { dg-options "-std=legacy -flogical-as-integer -fno-logical-as-integer" }
-+!
-+! Test conversion between logical and integer for logical operators
-+!
-+ program test
-+ logical f /.false./
-+ logical t /.true./
-+ real x
-+
-+ x = 7.7
-+ x = x + t*3.0 ! { dg-error "Operands of binary numeric" }
-+ if (abs(x - 10.7).gt.0.00001) stop 1
-+ x = x + .false.*5.0 ! { dg-error "Operands of binary numeric" }
-+ if (abs(x - 10.7).gt.0.00001) stop 2
-+ x = x - .true.*5.0 ! { dg-error "Operands of binary numeric" }
-+ if (abs(x - 5.7).gt.0.00001) stop 3
-+ x = x + t ! { dg-error "Operands of binary numeric" }
-+ if (abs(x - 6.7).gt.0.00001) stop 4
-+ x = x + f ! { dg-error "Operands of binary numeric" }
-+ if (abs(x - 6.7).gt.0.00001) stop 5
-+ x = x - t ! { dg-error "Operands of binary numeric" }
-+ if (abs(x - 5.7).gt.0.00001) stop 6
-+ x = x - f ! { dg-error "Operands of binary numeric" }
-+ if (abs(x - 5.7).gt.0.00001) stop 7
-+ x = x**.true. ! { dg-error "Operands of binary numeric" }
-+ if (abs(x - 5.7).gt.0.00001) stop 8
-+ x = x**.false. ! { dg-error "Operands of binary numeric" }
-+ if (abs(x - 1.0).gt.0.00001) stop 9
-+ x = x/t ! { dg-error "Operands of binary numeric" }
-+ if (abs(x - 1.0).gt.0.00001) stop 10
-+ if ((x/.false.).le.huge(x)) stop 11 ! { dg-error "Operands of binary numeric" }
-+ end
---
-2.27.0
-
From 31fb0540394f44bf55e185753a0d107d4228ddad Mon Sep 17 00:00:00 2001
From: Fedora Release Engineering
Date: Wed, 19 Jul 2023 20:52:11 +0000
Subject: [PATCH 040/164] Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering
---
gcc.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gcc.spec b/gcc.spec
index 3dd7f04..4c1d27e 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}%{?dist}
+Release: %{gcc_release}%{?dist}.1
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -3453,6 +3453,9 @@ end
%endif
%changelog
+* Wed Jul 19 2023 Fedora Release Engineering - 13.1.1-4.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
* Wed Jun 14 2023 Jakub Jelinek 13.1.1-4
- update from releases/gcc-13 branch
- PRs bootstrap/110085, c++/109871, fortran/100607, libgcc/109670,
From 4e02d56d94df8145466c633b2be0b8635f73028a Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Fri, 28 Jul 2023 18:57:41 +0200
Subject: [PATCH 041/164] 13.2.1-1
---
.gitignore | 1 +
gcc.spec | 38 +++++++++++++++++++++++++++++++++-----
gcc13-libstdc++-docs.patch | 4 ++--
sources | 2 +-
update-gcc.sh | 2 +-
5 files changed, 38 insertions(+), 9 deletions(-)
diff --git a/.gitignore b/.gitignore
index ecec0bc..267dfa7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -107,3 +107,4 @@
/gcc-13.1.1-20230511.tar.xz
/gcc-13.1.1-20230519.tar.xz
/gcc-13.1.1-20230614.tar.xz
+/gcc-13.2.1-20230728.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 4c1d27e..45edab1 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20230614
-%global gitrev 0d7019741b037c7e9c4e57d6de3bce6bb2ed8026
-%global gcc_version 13.1.1
+%global DATE 20230728
+%global gitrev 8a3e2d71f2a0309540e68c79dadd66a06ca3da73
+%global gcc_version 13.2.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 4
+%global gcc_release 1
%global nvptx_tools_gitrev 93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b
%global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409
%global _unpackaged_files_terminate_build 0
@@ -136,7 +136,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}%{?dist}.1
+Release: %{gcc_release}%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -3453,6 +3453,34 @@ end
%endif
%changelog
+* Fri Jul 28 2023 Jakub Jelinek 13.2.1-1
+- update from releases/gcc-13 branch
+ - GCC 13.2 release
+ - PRs c++/109247, c++/110102, c++/110122, c++/110463, c++/110468,
+ c++/110524, c++/110535, c++/110595, c++/110809, d/103944, d/106977,
+ d/108842, d/108962, d/110113, d/110359, d/110471, d/110514, d/110516,
+ debug/110295, fortran/86277, fortran/95947, fortran/100297,
+ fortran/110288, fortran/110585, fortran/110658, ipa/109983,
+ ipa/110276, libgcc/109712, libgcc/110179, libstdc++/95048,
+ libstdc++/100285, libstdc++/104299, libstdc++/109741,
+ libstdc++/109921, libstdc++/110149, libstdc++/110239,
+ libstdc++/110432, libstdc++/110542, libstdc++/110574,
+ middle-end/98619, middle-end/103979, middle-end/110055,
+ middle-end/110420, modula2/108121, modula2/109586, modula2/109675,
+ modula2/109729, modula2/110246, rtl-optimization/110237,
+ target/101469, target/105325, target/106966, target/108743,
+ target/109932, target/110011, target/110100, target/110132,
+ target/110136, target/110206, target/110264, target/110309,
+ target/110406, target/110560, target/110624, testsuite/66005,
+ testsuite/83904, testsuite/110230, tree-optimization/109143,
+ tree-optimization/110228, tree-optimization/110298,
+ tree-optimization/110381, tree-optimization/110392,
+ tree-optimization/110515, tree-optimization/110556,
+ tree-optimization/110557, tree-optimization/110669,
+ tree-optimization/110731, tree-optimization/110755,
+ tree-optimization/110766, tree-optimization/110799,
+ tree-optimization/110829
+
* Wed Jul 19 2023 Fedora Release Engineering - 13.1.1-4.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
diff --git a/gcc13-libstdc++-docs.patch b/gcc13-libstdc++-docs.patch
index 6dffae6..ce94f5d 100644
--- a/gcc13-libstdc++-docs.patch
+++ b/gcc13-libstdc++-docs.patch
@@ -4,7 +4,7 @@
FSF
-+ Release 13.1.1
++ Release 13.2.1
+
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
@@ -17,7 +17,7 @@
- The API documentation, rendered into HTML, can be viewed online
+ The API documentation, rendered into HTML, can be viewed locally
-+ for the 13.1.1 release,
++ for the 13.2.1 release,
+ online
for each GCC release
and
diff --git a/sources b/sources
index aaa2ce1..ccd2d08 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.1.1-20230614.tar.xz) = 47deb22e3025f469cd54f60fd64cab91dd9bdc044224a2e913577d663f6218e8e7eaaf755a25e1e208c2f9a454bf657fcd2cb1b483c86805340b7fa65bcb2301
+SHA512 (gcc-13.2.1-20230728.tar.xz) = 7698968e1eabfe8ae8ff79806d9c15a50e861b2776ea5968e6b1f2ebf399d7b62cc4066d7d43b3cd791b790f41c2da401c33a0b258b640bf4c1f1cebd2cac99a
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
diff --git a/update-gcc.sh b/update-gcc.sh
index 0c357f3..b49ed15 100755
--- a/update-gcc.sh
+++ b/update-gcc.sh
@@ -3,5 +3,5 @@
git clone --depth 1 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp
git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin $1
d=`date --iso | sed 's/-//g'`
-git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-13.1.1-$d/ $1 | xz -9e > gcc-13.1.1-$d.tar.xz
+git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-13.2.1-$d/ $1 | xz -9e > gcc-13.2.1-$d.tar.xz
rm -rf gcc-dir.tmp
From 267dcb128b5dbc43d6990a2587860d8bfbaa0590 Mon Sep 17 00:00:00 2001
From: Patsy Griffin
Date: Mon, 31 Jul 2023 17:05:53 -0400
Subject: [PATCH 042/164] Allow for the optional removal of tzdata.
See https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata
---
gcc.spec | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gcc.spec b/gcc.spec
index 45edab1..f286e6a 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -4,7 +4,7 @@
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 1
+%global gcc_release 2
%global nvptx_tools_gitrev 93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b
%global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409
%global _unpackaged_files_terminate_build 0
@@ -375,7 +375,7 @@ Summary: GNU Standard C++ Library
Autoreq: true
Requires: glibc >= 2.10.90-7
BuildRequires: tzdata >= 2017c
-Requires: tzdata >= 2017c
+Recommends: tzdata >= 2017c
%description -n libstdc++
The libstdc++ package contains a rewritten standard compliant GCC Standard
@@ -3453,6 +3453,10 @@ end
%endif
%changelog
+* Mon Jul 31 2023 Patsy Griffin 13.2.1-2
+- Allow for the optional removal of tzdata.
+- See https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata
+
* Fri Jul 28 2023 Jakub Jelinek 13.2.1-1
- update from releases/gcc-13 branch
- GCC 13.2 release
From 3245329e23d2bd6e8db5d73c01cc4690af7d48b3 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Wed, 6 Sep 2023 15:13:22 +0200
Subject: [PATCH 043/164] 13.2.1-2
---
.gitignore | 2 ++
gcc.spec | 38 ++++++++++++++++++++++++++++++++------
sources | 4 ++--
3 files changed, 36 insertions(+), 8 deletions(-)
diff --git a/.gitignore b/.gitignore
index 267dfa7..ae41c63 100644
--- a/.gitignore
+++ b/.gitignore
@@ -108,3 +108,5 @@
/gcc-13.1.1-20230519.tar.xz
/gcc-13.1.1-20230614.tar.xz
/gcc-13.2.1-20230728.tar.xz
+/gcc-13.2.1-20230906.tar.xz
+/nvptx-tools-aa3404ad5a496cda5d79a50bedb1344fd63e8763.tar.xz
diff --git a/gcc.spec b/gcc.spec
index f286e6a..e756a83 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,11 +1,11 @@
-%global DATE 20230728
-%global gitrev 8a3e2d71f2a0309540e68c79dadd66a06ca3da73
+%global DATE 20230906
+%global gitrev d91ea9a1c7236c23fe896b4cb2b4f8130b92732c
%global gcc_version 13.2.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
%global gcc_release 2
-%global nvptx_tools_gitrev 93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b
+%global nvptx_tools_gitrev aa3404ad5a496cda5d79a50bedb1344fd63e8763
%global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409
%global _unpackaged_files_terminate_build 0
%global _performance_build 1
@@ -375,7 +375,11 @@ Summary: GNU Standard C++ Library
Autoreq: true
Requires: glibc >= 2.10.90-7
BuildRequires: tzdata >= 2017c
+%if 0%{?fedora} > 38 || 0%{?rhel} > 9
Recommends: tzdata >= 2017c
+%else
+Requires: tzdata >= 2017c
+%endif
%description -n libstdc++
The libstdc++ package contains a rewritten standard compliant GCC Standard
@@ -3453,9 +3457,31 @@ end
%endif
%changelog
-* Mon Jul 31 2023 Patsy Griffin 13.2.1-2
-- Allow for the optional removal of tzdata.
-- See https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata
+* Wed Sep 6 2023 Jakub Jelinek 13.2.1-2
+- update from releases/gcc-13 branch
+ - PRs c++/92407, c++/106310, c++/106652, c++/109678, c++/109751, c++/110197,
+ c++/110566, c++/110927, debug/111080, fortran/99326, fortran/102109,
+ fortran/102112, fortran/102190, fortran/102532, fortran/108961,
+ fortran/109684, fortran/109948, fortran/110825, libgcc/110956,
+ libstdc++/110593, libstdc++/110708, libstdc++/110719,
+ libstdc++/110807, libstdc++/110860, libstdc++/110862,
+ libstdc++/110917, libstdc++/110968, libstdc++/110970,
+ libstdc++/110974, libstdc++/110990, middle-end/111017, modula2/108119,
+ modula2/108344, modula2/109779, modula2/109810, modula2/109830,
+ modula2/109879, modula2/109908, modula2/109952, modula2/110003,
+ modula2/110019, modula2/110125, modula2/110126, modula2/110161,
+ modula2/110174, modula2/110189, modula2/110284, modula2/110631,
+ modula2/110779, modula2/110865, target/89835, target/109713,
+ target/109725, target/110220, target/110484, target/110741,
+ target/111010, target/111127, tree-optimization/110280,
+ tree-optimization/110702, tree-optimization/110914,
+ tree-optimization/111015, tree-optimization/111019,
+ tree-optimization/111039, tree-optimization/111070,
+ tree-optimization/111109
+
+* Mon Jul 31 2023 Patsy Griffin
+- allow for the optional removal of tzdata
+ - see https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata
* Fri Jul 28 2023 Jakub Jelinek 13.2.1-1
- update from releases/gcc-13 branch
diff --git a/sources b/sources
index ccd2d08..aaff95b 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.2.1-20230728.tar.xz) = 7698968e1eabfe8ae8ff79806d9c15a50e861b2776ea5968e6b1f2ebf399d7b62cc4066d7d43b3cd791b790f41c2da401c33a0b258b640bf4c1f1cebd2cac99a
+SHA512 (gcc-13.2.1-20230906.tar.xz) = f62a7a2779a79539181a725a0f8ac5a2ec4b51b942fe5648a1bfb388b05222006d780a5603c92de431f006446492e24e5b94c80d7988547e3dc98938a311a4dd
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
-SHA512 (nvptx-tools-93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b.tar.xz) = c719fad8689b2b6f3c888d0308604ddef884037d71ec3e755c68052d30075a181c29358fda516833ace437921b17602b147be7886317be94ec9736faa8cb52be
+SHA512 (nvptx-tools-aa3404ad5a496cda5d79a50bedb1344fd63e8763.tar.xz) = 33a024326426375533cb5dd9b68b2508f37540be418d2506bfa19a5f5866485e9af150469064e9059b68136ad8cb080b3b12e7eb5c6b7d1288cf6bfb3f6bb5d0
From 8eebf443734c3167ab94b93c5e9441b3146bc76d Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Fri, 8 Sep 2023 22:38:33 +0200
Subject: [PATCH 044/164] 13.2.1-2
---
gcc.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gcc.spec b/gcc.spec
index e756a83..1c52856 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -866,6 +866,8 @@ so that there cannot be any synchronization problems.
%patch -P50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
+sed -i -e 's/ -fcase / -fcase -Wno-all /' libgm2/*/Makefile.am
+sed -i -e 's/ -fcase / -fcase -Wno-all /' libgm2/*/Makefile.in
%if 0%{?rhel} >= 9
%patch -P100 -p1 -b .fortran-fdec-duplicates~
@@ -3457,7 +3459,7 @@ end
%endif
%changelog
-* Wed Sep 6 2023 Jakub Jelinek 13.2.1-2
+* Fri Sep 8 2023 Jakub Jelinek 13.2.1-2
- update from releases/gcc-13 branch
- PRs c++/92407, c++/106310, c++/106652, c++/109678, c++/109751, c++/110197,
c++/110566, c++/110927, debug/111080, fortran/99326, fortran/102109,
From c4ec5953ba5e9ddfe7cf16f098a94797076ecc07 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Mon, 18 Sep 2023 10:06:19 +0200
Subject: [PATCH 045/164] 13.2.1-3
---
.gitignore | 1 +
gcc.spec | 13 ++++++++-----
sources | 2 +-
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/.gitignore b/.gitignore
index ae41c63..4b7f502 100644
--- a/.gitignore
+++ b/.gitignore
@@ -110,3 +110,4 @@
/gcc-13.2.1-20230728.tar.xz
/gcc-13.2.1-20230906.tar.xz
/nvptx-tools-aa3404ad5a496cda5d79a50bedb1344fd63e8763.tar.xz
+/gcc-13.2.1-20230918.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 1c52856..2960f8d 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20230906
-%global gitrev d91ea9a1c7236c23fe896b4cb2b4f8130b92732c
+%global DATE 20230918
+%global gitrev 45e56bb7a6c79b62ab17ac8e4e86c2e66c2554c1
%global gcc_version 13.2.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 2
+%global gcc_release 3
%global nvptx_tools_gitrev aa3404ad5a496cda5d79a50bedb1344fd63e8763
%global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409
%global _unpackaged_files_terminate_build 0
@@ -866,8 +866,6 @@ so that there cannot be any synchronization problems.
%patch -P50 -p0 -b .rh2155127~
touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
-sed -i -e 's/ -fcase / -fcase -Wno-all /' libgm2/*/Makefile.am
-sed -i -e 's/ -fcase / -fcase -Wno-all /' libgm2/*/Makefile.in
%if 0%{?rhel} >= 9
%patch -P100 -p1 -b .fortran-fdec-duplicates~
@@ -3459,6 +3457,11 @@ end
%endif
%changelog
+* Mon Sep 18 2023 Jakub Jelinek 13.2.1-3
+- update from releases/gcc-13 branch
+ - PRs c++/111357, modula2/111330, target/96762, target/111306,
+ target/111335, target/111340, target/111412
+
* Fri Sep 8 2023 Jakub Jelinek 13.2.1-2
- update from releases/gcc-13 branch
- PRs c++/92407, c++/106310, c++/106652, c++/109678, c++/109751, c++/110197,
diff --git a/sources b/sources
index aaff95b..80d614e 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.2.1-20230906.tar.xz) = f62a7a2779a79539181a725a0f8ac5a2ec4b51b942fe5648a1bfb388b05222006d780a5603c92de431f006446492e24e5b94c80d7988547e3dc98938a311a4dd
+SHA512 (gcc-13.2.1-20230918.tar.xz) = 4106cd7fa1a6bd634dc75fccdd38c9cc923b9fc8b9f4ad15ff7eb1daf3e00809b84137909b39790360d86c1c98a63514872ecb3a7f79ae362e161cd525c391fe
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-aa3404ad5a496cda5d79a50bedb1344fd63e8763.tar.xz) = 33a024326426375533cb5dd9b68b2508f37540be418d2506bfa19a5f5866485e9af150469064e9059b68136ad8cb080b3b12e7eb5c6b7d1288cf6bfb3f6bb5d0
From 666e815832a5cf898d459cb02a9422942b7fff17 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Wed, 11 Oct 2023 10:27:55 +0200
Subject: [PATCH 046/164] 13.2.1-4
---
.gitignore | 1 +
gcc.spec | 15 ++++++++++++---
sources | 2 +-
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index 4b7f502..947393e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -111,3 +111,4 @@
/gcc-13.2.1-20230906.tar.xz
/nvptx-tools-aa3404ad5a496cda5d79a50bedb1344fd63e8763.tar.xz
/gcc-13.2.1-20230918.tar.xz
+/gcc-13.2.1-20231011.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 2960f8d..5d6c7c4 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20230918
-%global gitrev 45e56bb7a6c79b62ab17ac8e4e86c2e66c2554c1
+%global DATE 20231011
+%global gitrev dc4aa177146b55dd7bd0b2dd63c721f3eaf2d2a8
%global gcc_version 13.2.1
%global gcc_major 13
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 3
+%global gcc_release 4
%global nvptx_tools_gitrev aa3404ad5a496cda5d79a50bedb1344fd63e8763
%global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409
%global _unpackaged_files_terminate_build 0
@@ -3457,6 +3457,15 @@ end
%endif
%changelog
+* Wed Oct 11 2023 Jakub Jelinek 13.2.1-4
+- update from releases/gcc-13 branch
+ - PRs ada/110488, ada/111434, c++/99631, c++/111471, c++/111485, c++/111493,
+ c++/111512, fortran/68155, fortran/92586, fortran/111674,
+ libstdc++/108046, libstdc++/111050, libstdc++/111102,
+ libstdc++/111511, middle-end/111699, modula2/111510, target/111121,
+ target/111411, tree-optimization/110315, tree-optimization/110386,
+ tree-optimization/111331, tree-optimization/111519
+
* Mon Sep 18 2023 Jakub Jelinek 13.2.1-3
- update from releases/gcc-13 branch
- PRs c++/111357, modula2/111330, target/96762, target/111306,
diff --git a/sources b/sources
index 80d614e..94cf85d 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (gcc-13.2.1-20230918.tar.xz) = 4106cd7fa1a6bd634dc75fccdd38c9cc923b9fc8b9f4ad15ff7eb1daf3e00809b84137909b39790360d86c1c98a63514872ecb3a7f79ae362e161cd525c391fe
+SHA512 (gcc-13.2.1-20231011.tar.xz) = 24fea15e0b67a2faa3d5476b105983b474b654e9ec50cdffb1967f18338c098539d5bd39e99f5f607eb64f6b0cf6d8e3ae91c9d5ea8069fc10b566739971be60
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983
SHA512 (nvptx-tools-aa3404ad5a496cda5d79a50bedb1344fd63e8763.tar.xz) = 33a024326426375533cb5dd9b68b2508f37540be418d2506bfa19a5f5866485e9af150469064e9059b68136ad8cb080b3b12e7eb5c6b7d1288cf6bfb3f6bb5d0
From b2371a5073ce0b44db9e1b233159619217a519ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?=
Date: Thu, 9 Nov 2023 10:22:15 +0100
Subject: [PATCH 047/164] Move gating tests to a different repo
Remove the gating tests from here and use the tests from
https://src.fedoraproject.org/tests/gcc
There's more of them there, they are are more up-to-date,
maintained by RHEL QA staff and re-used in other downstreams
(CentOS Stream, RHEL, RHIVOS).
---
plans/ci.fmf | 13 +-
plans/prepare.sh | 54 ------
plans/provide_secondary_arch_rpms.sh | 64 +++++++
.../abs.c | 12 --
.../main.fmf | 26 ---
.../runtest.sh | 52 ------
.../main.fmf | 29 ---
.../runtest.sh | 53 ------
.../abc.f90 | 22 ---
.../main.fmf | 38 ----
.../runtest.sh | 56 ------
.../builtin.c | 29 ---
.../main.fmf | 33 ----
.../runtest.sh | 58 ------
.../foo.java | 5 -
.../main.fmf | 39 ----
.../runtest.sh | 71 --------
.../main.fmf | 32 ----
.../runtest.sh | 54 ------
.../main.fmf | 12 --
.../runtest.sh | 50 ------
.../main.fmf | 17 --
.../runtest.sh | 55 ------
.../x.c | 8 -
.../main.fmf | 17 --
.../runtest.sh | 52 ------
.../test.cc | 7 -
.../main.fmf | 16 --
.../runtest.sh | 52 ------
.../tst.c | 6 -
.../b.gdb | 2 -
.../main.fmf | 17 --
.../runtest.sh | 52 ------
.../test.c | 6 -
.../main.fmf | 16 --
.../runtest.sh | 56 ------
.../alloc1.f90 | 5 -
.../main.fmf | 17 --
.../runtest.sh | 51 ------
.../main.fmf | 17 --
.../runtest.sh | 50 ------
.../main.fmf | 27 ---
.../reproducer.cc | 14 --
.../runtest.sh | 66 -------
.../main.fmf | 16 --
.../reproducer.cc | 12 --
.../runtest.sh | 55 ------
.../main.fmf | 26 ---
.../runtest.sh | 57 ------
.../f.cc | 15 --
.../main.fmf | 28 ---
.../runtest.sh | 54 ------
.../unused_parameter_warning/main.fmf | 31 ----
.../unused_parameter_warning/runtest.sh | 60 -------
.../unused_parameter_warning/test.cpp | 2 -
tests/Sanity/compile-rpm/main.fmf | 45 -----
tests/Sanity/compile-rpm/runtest.sh | 99 -----------
tests/Sanity/libitm-smoke/bins_aarch64.tar.gz | Bin 42861 -> 0 bytes
tests/Sanity/libitm-smoke/bins_i686.tar.gz | Bin 18165 -> 0 bytes
tests/Sanity/libitm-smoke/bins_ppc64.tar.gz | Bin 42218 -> 0 bytes
tests/Sanity/libitm-smoke/bins_ppc64le.tar.gz | Bin 41583 -> 0 bytes
tests/Sanity/libitm-smoke/bins_s390x.tar.gz | Bin 20507 -> 0 bytes
tests/Sanity/libitm-smoke/bins_x86_64.tar.gz | Bin 19693 -> 0 bytes
tests/Sanity/libitm-smoke/main.fmf | 34 ----
tests/Sanity/libitm-smoke/runtest.sh | 75 --------
tests/Sanity/rebuild-binutils/main.fmf | 70 --------
tests/Sanity/rebuild-binutils/runtest.sh | 89 ----------
tests/Sanity/rebuild-glibc/main.fmf | 84 ---------
tests/Sanity/rebuild-glibc/runtest.sh | 79 ---------
.../Sanity/test-m32-m64-options/clear_cache.c | 7 -
tests/Sanity/test-m32-m64-options/cpp11.cpp | 78 --------
tests/Sanity/test-m32-m64-options/hello.c | 8 -
tests/Sanity/test-m32-m64-options/hello.cpp | 7 -
tests/Sanity/test-m32-m64-options/hello.f90 | 3 -
.../test-m32-m64-options/lambda-template.C | 41 -----
tests/Sanity/test-m32-m64-options/main.fmf | 58 ------
tests/Sanity/test-m32-m64-options/omphello.c | 24 ---
tests/Sanity/test-m32-m64-options/quad.c | 38 ----
tests/Sanity/test-m32-m64-options/runtest.sh | 167 ------------------
.../Sanity/test-m32-m64-options/thr-init-2.c | 20 ---
tests/Sanity/test-m32-m64-options/tm.c | 34 ----
tests/fedora-flags/hello.c | 5 -
tests/fedora-flags/hello.cpp | 5 -
tests/fedora-flags/main.c | 6 -
tests/fedora-flags/main.cpp | 6 -
tests/fedora-flags/main.fmf | 10 --
tests/fedora-flags/runtest.sh | 29 ---
tests/smoke-test/Makefile | 65 -------
tests/smoke-test/PURPOSE | 3 -
tests/smoke-test/clear_cache.c | 7 -
tests/smoke-test/hello.c | 7 -
tests/smoke-test/hello.cpp | 7 -
tests/smoke-test/hello.f90 | 3 -
tests/smoke-test/main.fmf | 22 ---
tests/smoke-test/omphello.c | 24 ---
tests/smoke-test/quad.c | 38 ----
tests/smoke-test/runtest.sh | 127 -------------
tests/smoke-test/thr-init-2.c | 24 ---
tests/smoke-test/tm.c | 34 ----
99 files changed, 72 insertions(+), 3194 deletions(-)
delete mode 100755 plans/prepare.sh
create mode 100755 plans/provide_secondary_arch_rpms.sh
delete mode 100644 tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/abs.c
delete mode 100644 tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/main.fmf
delete mode 100755 tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/runtest.sh
delete mode 100644 tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/main.fmf
delete mode 100755 tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/runtest.sh
delete mode 100644 tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/abc.f90
delete mode 100644 tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/main.fmf
delete mode 100755 tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/runtest.sh
delete mode 100644 tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/builtin.c
delete mode 100644 tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/main.fmf
delete mode 100755 tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/runtest.sh
delete mode 100644 tests/Regression/537941-libltdl-may-load-library-in-current-directory/foo.java
delete mode 100644 tests/Regression/537941-libltdl-may-load-library-in-current-directory/main.fmf
delete mode 100755 tests/Regression/537941-libltdl-may-load-library-in-current-directory/runtest.sh
delete mode 100644 tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/main.fmf
delete mode 100755 tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/runtest.sh
delete mode 100644 tests/Regression/bz1815504-Regression-in-the-line-information-debug/main.fmf
delete mode 100755 tests/Regression/bz1815504-Regression-in-the-line-information-debug/runtest.sh
delete mode 100644 tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/main.fmf
delete mode 100755 tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/runtest.sh
delete mode 100644 tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/x.c
delete mode 100644 tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/main.fmf
delete mode 100755 tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/runtest.sh
delete mode 100644 tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/test.cc
delete mode 100644 tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/main.fmf
delete mode 100755 tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/runtest.sh
delete mode 100644 tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/tst.c
delete mode 100644 tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/b.gdb
delete mode 100644 tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/main.fmf
delete mode 100755 tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/runtest.sh
delete mode 100644 tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/test.c
delete mode 100644 tests/Regression/bz1896093-Compiling-with-flto-auto-fails-if-make-is-not/main.fmf
delete mode 100755 tests/Regression/bz1896093-Compiling-with-flto-auto-fails-if-make-is-not/runtest.sh
delete mode 100644 tests/Regression/bz1927579-libgfortran-seems-to-be-missing/alloc1.f90
delete mode 100644 tests/Regression/bz1927579-libgfortran-seems-to-be-missing/main.fmf
delete mode 100755 tests/Regression/bz1927579-libgfortran-seems-to-be-missing/runtest.sh
delete mode 100644 tests/Regression/bz1939638-gcc-toolset-10-libasan-devel-depends-on-the-wrong/main.fmf
delete mode 100755 tests/Regression/bz1939638-gcc-toolset-10-libasan-devel-depends-on-the-wrong/runtest.sh
delete mode 100644 tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/main.fmf
delete mode 100644 tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/reproducer.cc
delete mode 100755 tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/runtest.sh
delete mode 100644 tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/main.fmf
delete mode 100644 tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/reproducer.cc
delete mode 100755 tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/runtest.sh
delete mode 100644 tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/main.fmf
delete mode 100755 tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/runtest.sh
delete mode 100644 tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/f.cc
delete mode 100644 tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/main.fmf
delete mode 100755 tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/runtest.sh
delete mode 100644 tests/Regression/unused_parameter_warning/main.fmf
delete mode 100755 tests/Regression/unused_parameter_warning/runtest.sh
delete mode 100644 tests/Regression/unused_parameter_warning/test.cpp
delete mode 100644 tests/Sanity/compile-rpm/main.fmf
delete mode 100755 tests/Sanity/compile-rpm/runtest.sh
delete mode 100644 tests/Sanity/libitm-smoke/bins_aarch64.tar.gz
delete mode 100644 tests/Sanity/libitm-smoke/bins_i686.tar.gz
delete mode 100644 tests/Sanity/libitm-smoke/bins_ppc64.tar.gz
delete mode 100644 tests/Sanity/libitm-smoke/bins_ppc64le.tar.gz
delete mode 100644 tests/Sanity/libitm-smoke/bins_s390x.tar.gz
delete mode 100644 tests/Sanity/libitm-smoke/bins_x86_64.tar.gz
delete mode 100644 tests/Sanity/libitm-smoke/main.fmf
delete mode 100755 tests/Sanity/libitm-smoke/runtest.sh
delete mode 100644 tests/Sanity/rebuild-binutils/main.fmf
delete mode 100755 tests/Sanity/rebuild-binutils/runtest.sh
delete mode 100644 tests/Sanity/rebuild-glibc/main.fmf
delete mode 100755 tests/Sanity/rebuild-glibc/runtest.sh
delete mode 100644 tests/Sanity/test-m32-m64-options/clear_cache.c
delete mode 100644 tests/Sanity/test-m32-m64-options/cpp11.cpp
delete mode 100644 tests/Sanity/test-m32-m64-options/hello.c
delete mode 100644 tests/Sanity/test-m32-m64-options/hello.cpp
delete mode 100644 tests/Sanity/test-m32-m64-options/hello.f90
delete mode 100644 tests/Sanity/test-m32-m64-options/lambda-template.C
delete mode 100644 tests/Sanity/test-m32-m64-options/main.fmf
delete mode 100644 tests/Sanity/test-m32-m64-options/omphello.c
delete mode 100644 tests/Sanity/test-m32-m64-options/quad.c
delete mode 100755 tests/Sanity/test-m32-m64-options/runtest.sh
delete mode 100644 tests/Sanity/test-m32-m64-options/thr-init-2.c
delete mode 100644 tests/Sanity/test-m32-m64-options/tm.c
delete mode 100644 tests/fedora-flags/hello.c
delete mode 100644 tests/fedora-flags/hello.cpp
delete mode 100644 tests/fedora-flags/main.c
delete mode 100644 tests/fedora-flags/main.cpp
delete mode 100644 tests/fedora-flags/main.fmf
delete mode 100755 tests/fedora-flags/runtest.sh
delete mode 100644 tests/smoke-test/Makefile
delete mode 100644 tests/smoke-test/PURPOSE
delete mode 100644 tests/smoke-test/clear_cache.c
delete mode 100644 tests/smoke-test/hello.c
delete mode 100644 tests/smoke-test/hello.cpp
delete mode 100644 tests/smoke-test/hello.f90
delete mode 100644 tests/smoke-test/main.fmf
delete mode 100644 tests/smoke-test/omphello.c
delete mode 100644 tests/smoke-test/quad.c
delete mode 100755 tests/smoke-test/runtest.sh
delete mode 100644 tests/smoke-test/thr-init-2.c
delete mode 100644 tests/smoke-test/tm.c
diff --git a/plans/ci.fmf b/plans/ci.fmf
index 13b60db..b6a344d 100644
--- a/plans/ci.fmf
+++ b/plans/ci.fmf
@@ -1,10 +1,13 @@
summary: CI Gating Plan
discover:
how: fmf
- directory: tests
-prepare:
- - name: prepare
- how: shell
- script: ./plans/prepare.sh
+ url: https://src.fedoraproject.org/tests/gcc.git
+ filter: 'tag: Fedora-CI-gating'
execute:
how: tmt
+adjust:
+ - prepare+:
+ - name: Add secondary architecture RPMs
+ how: shell
+ script: ./plans/provide_secondary_arch_rpms.sh
+ when: arch == x86_64
diff --git a/plans/prepare.sh b/plans/prepare.sh
deleted file mode 100755
index 8ffb6ef..0000000
--- a/plans/prepare.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-
-#
-# Setup task for Fedora CI system. Install the x86_64 GCC build under test
-# along with its respective i686 (compat arch) bits needed for the testing.
-# KOJI_TASK_ID per https://github.com/fedora-ci/dist-git-pipeline/pull/50 .
-#
-
-set -x
-
-true "V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V"
-
-echo "KOJI_TASK_ID=$KOJI_TASK_ID"
-
-. /etc/os-release
-
-if [ "$ID" == "fedora" ] && [ "$(arch)" == "x86_64" ]; then
-
- if [ -z "${KOJI_TASK_ID}" ]; then
- echo "Missing koji task ID, skipping ..."
- exit 0
- fi
-
- tmpd=`mktemp -d`
- pushd $tmpd
- koji download-task $KOJI_TASK_ID --noprogress --arch=src
- ls
- VR=$(rpm -qp gcc* --queryformat='%{version}-%{release}')
- popd
- rm -rf $tmpd
-
- tmpd=`mktemp -d`
- pushd $tmpd
- koji download-task $KOJI_TASK_ID --noprogress --arch=x86_64 --arch=noarch
- rm -f *debuginfo*
- ls
- dnf -y install *.rpm
- popd
- rm -rf $tmpd
-
- tmpd=`mktemp -d`
- pushd $tmpd
- koji download-task $KOJI_TASK_ID --noprogress --arch=i686
- rm -f *debuginfo*
- ls
- yum -y install libgcc-$VR* libgfortran-$VR* libgomp-$VR* libitm-$VR* \
- libstdc++-devel-$VR* libstdc++-$VR* libstdc++-static-$VR*
- popd
- rm -rf $tmpd
-else
- echo "Not Fedora x86_64, skipping..."
-fi
-
-true "^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^"
diff --git a/plans/provide_secondary_arch_rpms.sh b/plans/provide_secondary_arch_rpms.sh
new file mode 100755
index 0000000..f26a5ab
--- /dev/null
+++ b/plans/provide_secondary_arch_rpms.sh
@@ -0,0 +1,64 @@
+#!/usr/bin/env bash
+
+# Fedora CI testing systems don't provide a repository with the i686
+# RPMs of the build being tested. As a consequence, most
+# dnf install -y .i686
+# commands (whether being run by a test or by TMT's prepare) will probably
+# fail on a version mismatch with the present x86_64 gcc RPMs. To prevent
+# such failures we provide this script which we recommend to include in every
+# Fedora CI test plan.
+#
+# Implementation notes:
+#
+# * The gcc build being tested in Fedora CI is given via KOJI_TASK_ID. See
+# https://github.com/fedora-ci/dist-git-pipeline/pull/50 for details.
+#
+# * Currently this script just downloads and installs the i686 RPMs. It
+# would not be sufficient for tests that uninstall and reinstall those
+# RPMs. If such a test appears, this script should create a repository.
+#
+# * Fedora CI testing systems seem to have extremely small RAM-based /tmp,
+# unable to host all the downloaded RPMs, and no other "real" filesystem
+# than "/". That's the reason for using
+# mktemp -d --tmpdir=/
+
+set -x
+
+true "V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V-V"
+
+echo "KOJI_TASK_ID=$KOJI_TASK_ID"
+
+. /etc/os-release
+
+echo "ID=$ID"
+echo "arch=$(arch)"
+echo "KOJI_TASK_ID=$KOJI_TASK_ID"
+
+if [[ "$ID" = fedora ]] && [[ "$(arch)" = x86_64 ]] && [[ -n "$KOJI_TASK_ID" ]]; then
+
+ if tmpd=$(mktemp -d --tmpdir=/) && pushd "$tmpd"; then
+
+ # Download
+ rpm -q koji || dnf -y install koji
+ koji download-task "$KOJI_TASK_ID" --noprogress --arch={x86_64,i686,noarch}
+
+ # Remove conflicting RPMs
+ rm -f ./*debuginfo* ./*debugsource*
+ rm -f gcc-[0-9]*.i686.*
+ rm -f ./*docs*.i686.*
+
+ # Install
+ ls
+ dnf -y install ./*.rpm
+
+ # Clean up
+ # shellcheck disable=SC2164
+ popd
+ rm -rf "$tmpd"
+ fi
+
+else
+ echo "Not applicable"
+fi
+
+true "^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^"
diff --git a/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/abs.c b/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/abs.c
deleted file mode 100644
index 801bda0..0000000
--- a/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/abs.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include
-#include
-
-int
-main ()
-{
- int i = 2;
- if (-10 * abs (i - 1) == 10 * abs (i - 1))
- return 1;
-
- return 0;
-}
diff --git a/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/main.fmf b/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/main.fmf
deleted file mode 100644
index 81a2b4a..0000000
--- a/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/main.fmf
+++ /dev/null
@@ -1,26 +0,0 @@
-summary: gcc optimization error for neg number * abs() [extract_muldiv]
-description: |
- abs() from gcc was broken so it gave wrong results.
-contact: mcermak@redhat.com
-component:
- - gcc
-test: bash ./runtest.sh
-path: /tests/Regression/394271-gcc-optimization-error-for-neg-number-abs
-framework: beakerlib
-require:
- - gcc
-duration: 5m
-enabled: true
-tier: '1'
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=394271
-tag:
- - CI-Tier-1
- - DTS8-INTEROP-CI
- - DTS9-INTEROP-CI
- - Tier1
- - dts_smoke
- - dts_stable
-extra-nitrate: TC#0062143
-extra-summary: /tools/gcc/Regression/gcc/394271-gcc-optimization-error-for-neg-number-abs
-extra-task: /tools/gcc/Regression/gcc/394271-gcc-optimization-error-for-neg-number-abs
diff --git a/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/runtest.sh b/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/runtest.sh
deleted file mode 100755
index 695c9fc..0000000
--- a/tests/Regression/394271-gcc-optimization-error-for-neg-number-abs/runtest.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/bash
-
-# Copyright (c) 2008, 2012 Red Hat, Inc. All rights reserved.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
-#
-# Author: Michal Nowak
-# Marek Polacek
-
-# Include rhts environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-GCC="${GCC:-$(type -P gcc)}"
-PACKAGE=$(rpm --qf '%{name}' -qf $GCC)
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlRun "TmpDir=\`mktemp -d\`"
- rlRun "cp -v abs.c $TmpDir"
- rlRun "pushd $TmpDir"
- gcc -dumpversion | grep -q '^4\.4' && export OLDGCC="true"
- rlPhaseEnd
-
- rlPhaseStartTest "Testing the executable"
- OPTS="-O0 -O1 -O2 -O3 -Os -Ofast -Og"
- if [ "$OLDGCC" = "true" ]; then
- OPTS=${OPTS/ -Ofast -Og/}
- fi
- for opt in "" $OPTS; do
- rlRun "$GCC -g $opt -o abs$opt abs.c" 0 "Compiling the test case [ $opt ]"
- rlRun "./abs$opt" 0 "Checking whether we have an working executable [ $opt ]"
- done
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/main.fmf b/tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/main.fmf
deleted file mode 100644
index 558554d..0000000
--- a/tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/main.fmf
+++ /dev/null
@@ -1,29 +0,0 @@
-summary: unzip problem with CRC error for src-4.1.0.zip file on s390x
-description: |
- A customer has been trying to unzip the file src-4.1.0.zip
- which is contained libgcj4-src-4.1.0-18.EL4.s390x.rpm. However,
- unzip command can't run correctly with the CRC errors
- It seems that the src-4.1.0.zip is broken.
-contact: mcermak@redhat.com
-component:
- - gcc
-test: bash ./runtest.sh
-framework: beakerlib
-require:
- - gcc
- - libgcj-src
-duration: 5m
-enabled: true
-tag:
- - CI-Tier-1
- - Tier1
-tier: '1'
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=462397
-adjust:
- - enabled: false
- when: distro != rhel-5 and distro != rhel-6
- continue: false
-extra-nitrate: TC#0147365
-extra-summary: /tools/gcc/Sanity/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file
-extra-task: /tools/gcc/Sanity/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file
diff --git a/tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/runtest.sh b/tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/runtest.sh
deleted file mode 100755
index 62d03df..0000000
--- a/tests/Regression/462397-unzip-problem-with-CRC-error-for-src-4.1.0.zip-file/runtest.sh
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/bash
-
-# Copyright (c) 2008, 2012 Red Hat, Inc. All rights reserved.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
-#
-# Author: Michal Nowak
-# Marek Polacek
-
-# Include rhts environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGES=(gcc libgcj-src)
-
-rlJournalStart
- rlPhaseStartSetup
- for p in "${PACKAGES[@]}"; do
- rlAssertRpm "$p"
- done; unset p
- rlRun "TmpDir=\`mktemp -d\`"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
-srclist="/usr/share/java/src-*"
-for src in ${srclist}; do
-
- rlPhaseStartTest "Try to unzip src file"
- rm -rf tmp/; mkdir tmp/
- rlRun "cp -fv ${src} tmp/" 0 "[${src}]: Copy the zip file to tmp/"
- cd tmp/
- rlRun "unzip ${src}" 0 "[${src}] Verify that is possible to unzip ${src}"
- cd ..
- rlPhaseEnd
-
-done
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/abc.f90 b/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/abc.f90
deleted file mode 100644
index c9af75f..0000000
--- a/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/abc.f90
+++ /dev/null
@@ -1,22 +0,0 @@
- subroutine a
- INTEGER*4 a_i
- common /block/a_i
- a_i = 1
- end subroutine a
- subroutine b
- INTEGER*4 b_i
- common /block/b_i
- a_i = 3
- b_i = 2
- end subroutine b
- subroutine c
- INTEGER*4 a_i
- common /block/a_i
- if (a_i .ne. 2) call abort
- end subroutine c
- program abc
- call a
- call b
- call c
- end program abc
-
diff --git a/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/main.fmf b/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/main.fmf
deleted file mode 100644
index 5f9ce34..0000000
--- a/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/main.fmf
+++ /dev/null
@@ -1,38 +0,0 @@
-summary: Fortran DW_TAG_common_block has incorrect placement/scope
-description: |+
- Problem: gcc-4.3.2 / gfortran-4.3.2 (in the forthcoming tech-preview for
- RHEL5.3) appears to also have the "DW_TAG_common_block has incorrect
- placement/scope" issues listed in the following gcc upstream bug:
-
- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37738
-
- What gfortran is doing currently is:
-
- (1) Merges all common blocks into a single one.
- (2) Places this single common block into the first subroutine where it was
- used.
-
-contact: mcermak@redhat.com
-component:
- - gcc
-test: bash ./runtest.sh
-path: /tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope
-framework: beakerlib
-require:
- - gcc
- - gcc-gfortran
-duration: 5m
-tier: '1'
-enabled: true
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=465974
-tag:
- - CI-Tier-1
- - DTS8-INTEROP-CI
- - DTS9-INTEROP-CI
- - Tier1
- - dts_smoke
- - dts_stable
-extra-nitrate: TC#0062268
-extra-summary: /tools/gcc/g77/465974-DW_TAG_common_block-has-incorrect-placement-scope
-extra-task: /tools/gcc/g77/465974-DW_TAG_common_block-has-incorrect-placement-scope
diff --git a/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/runtest.sh b/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/runtest.sh
deleted file mode 100755
index 741279d..0000000
--- a/tests/Regression/465974-DW_TAG_common_block-has-incorrect-placement-scope/runtest.sh
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/bash
-# Copyright (c) 2008, 2012 Red Hat, Inc. All rights reserved.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
-#
-# Author: Michal Nowak
-# Marek Polacek
-
-# Include rhts environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGES=(gcc gcc-gfortran)
-
-GFORTRAN=${GFORTRAN:-gfortran}
-
-rlJournalStart
- rlPhaseStartSetup
- if type gcc | grep -q -v toolset; then
- # assert only of not devtoolset/gcc-toolset
- for p in "${PACKAGES[@]}"; do
- rlAssertRpm "$p"
- done; unset p
- fi
- rlRun "TmpDir=\`mktemp -d\`"
- rlRun "cp -v abc.f90 $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest "Testing the executable via readelf -w"
- # Compile
- rlRun "$GFORTRAN -g -o abc abc.f90" 0 "Compiling the test case: abc.f90"
- rlRun "./abc" 0 "Checking whether we have an working executable"
- rlWatchdog "readelf -w abc 2>&1 | tee gcc-readelf.log" 10
- rlAssert0 "Checking if 'readelf' ends itself" $?
- # Test
- cb=$(grep Abbrev gcc-readelf.log | grep DW_TAG_common_block -c)
- rlRun "if [ ${cb} -eq 3 ]; then true; else false; fi" 0 "Expected amount of common blocks is 3; got ${cb}"
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/builtin.c b/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/builtin.c
deleted file mode 100644
index 64449ae..0000000
--- a/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/builtin.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include
-
-/* Compile flags:
- * gcc -fno-builtin-isascii -fno-builtin-isalnum -o builtin builtin.c
- *
- * Expected output:
- * Using custom isascii() function
- * ret = 0
- *
- * Expected return value:
- * 0
- */
-
-int isascii(int c)
-{
- printf("Using custom isascii() function\n");
- return 0;
-}
-
-main()
-{
- int c = 65;
- int ret;
-
- ret = isascii(c);
- printf("ret = %d\n", ret);
-
- return ret;
-}
diff --git a/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/main.fmf b/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/main.fmf
deleted file mode 100644
index 8f47b12..0000000
--- a/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/main.fmf
+++ /dev/null
@@ -1,33 +0,0 @@
-summary: 'Test for bz515799 ([RHEL5] gcc: if more than one -fno-builtin-*)'
-description: |
- Bug summary: [RHEL5] gcc: if more than one -fno-builtin-* options are specified, only the last one is effective
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=515799
-
- This test compiles builtin.c with the flags '-fno-builtin-isascii
- -fno-builtin-isalnum'. This program contains a custom isascii() function
- that always returns 0. If gcc honors the -fno-builtin-isascii flag, it
- will return 0. If not, it will use the built-in isascii() function which
- will return 1.
-contact: mcermak@redhat.com
-component:
- - gcc
-test: bash ./runtest.sh
-path: /tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin
-framework: beakerlib
-require:
- - gcc
-duration: 5m
-enabled: true
-tier: '1'
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=515799
-tag:
- - CI-Tier-1
- - DTS8-INTEROP-CI
- - DTS9-INTEROP-CI
- - Tier1
- - dts_smoke
- - dts_stable
-extra-nitrate: TC#0063259
-extra-summary: /tools/gcc/Regression/gcc/515799-RHEL5-gcc-if-more-than-one-fno-builtin
-extra-task: /tools/gcc/Regression/gcc/515799-RHEL5-gcc-if-more-than-one-fno-builtin
diff --git a/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/runtest.sh b/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/runtest.sh
deleted file mode 100755
index 8b38afd..0000000
--- a/tests/Regression/515799-RHEL5-gcc-if-more-than-one-fno-builtin/runtest.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/bash
-# vim: dict=/usr/share/rhts-library/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/gcc/515799-RHEL5-gcc-if-more-than-one-fno-builtin
-# Description: Test for bz515799 ([RHEL5] gcc: if more than one -fno-builtin-*)
-# Author: Jeffrey Bastian
-# Marek Polacek
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2009, 2012 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing
-# to use, modify, copy, or redistribute it subject to the terms
-# and conditions of the GNU General Public License version 2.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with this program; if not, write to the Free
-# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-# Boston, MA 02110-1301, USA.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include rhts environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGES=(gcc)
-
-GCC=${GCC:-gcc}
-
-rlJournalStart
- rlPhaseStartSetup
- for p in "${PACKAGES[@]}"; do
- rlAssertRpm "$p"
- done; unset p
- rlRun "TmpDir=\`mktemp -d\`"
- rlRun "cp -v builtin.c $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "$GCC -fno-builtin-isascii -fno-builtin-isalnum -o builtin builtin.c"
- rlAssertExists "builtin"
- rlRun "./builtin"
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/537941-libltdl-may-load-library-in-current-directory/foo.java b/tests/Regression/537941-libltdl-may-load-library-in-current-directory/foo.java
deleted file mode 100644
index bc72835..0000000
--- a/tests/Regression/537941-libltdl-may-load-library-in-current-directory/foo.java
+++ /dev/null
@@ -1,5 +0,0 @@
-public class foo {
- public static void main(String[] args) {
- System.loadLibrary("foolib");
- }
-}
diff --git a/tests/Regression/537941-libltdl-may-load-library-in-current-directory/main.fmf b/tests/Regression/537941-libltdl-may-load-library-in-current-directory/main.fmf
deleted file mode 100644
index b121552..0000000
--- a/tests/Regression/537941-libltdl-may-load-library-in-current-directory/main.fmf
+++ /dev/null
@@ -1,39 +0,0 @@
-summary: 'CVE-2009-3736 libtool: libltdl may load and execute code from a library
- in the current directory'
-description: |
- cat > ~/foo.java <\EOF public class foo { public static void main(String[] args) { System.loadLibrary("foolib"); } } EOF
- cd
- gcj -C foo.java
- cd /tmp
- strace -f -v -s1024 gij -cp ~/ foo 2>&1 | grep foolib
-
- (resp. s/gcj/gcj4/g;s/gij/gij4/ for gcc4 testing).
-
- If any relative path is seen, it is wrong. Bad examples are
-
- {lib,}foolib.la
- {hwcap,0,nosegneg}/{lib,}foolib.{so,la}
-contact: mcermak@redhat.com
-component:
- - gcc
-test: ./runtest.sh
-framework: beakerlib
-require:
- - gcc
- - gcc-java
- - libgcj
- - strace
-duration: 5m
-enabled: false
-tag:
- - CI-Tier-1
- - Tier1
-tier: '1'
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=537941
-adjust:
- - enabled: true
- when: distro == rhel-6 or distro == rhel-5
-extra-nitrate: TC#0062145
-extra-summary: /tools/gcc/Regression/gcj/537941-libltdl-may-load-library-in-current-directory
-extra-task: /tools/gcc/Regression/gcj/537941-libltdl-may-load-library-in-current-directory
diff --git a/tests/Regression/537941-libltdl-may-load-library-in-current-directory/runtest.sh b/tests/Regression/537941-libltdl-may-load-library-in-current-directory/runtest.sh
deleted file mode 100755
index 73e914d..0000000
--- a/tests/Regression/537941-libltdl-may-load-library-in-current-directory/runtest.sh
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/bash
-
-# Copyright (c) 2008, 2012 Red Hat, Inc. All rights reserved.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
-#
-# Author: Michal Nowak
-# Marek Polacek
-
-# Include rhts environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGES=(gcc libgcj strace gcc-java)
-
-rlJournalStart
- rlPhaseStartSetup
- for p in "${PACKAGES[@]}"; do
- rlAssertRpm "$p"
- done; unset p
- rlRun "TmpDir=\`mktemp -d\`"
- rlRun "cp -v foo.java $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
-# I weeded out the if (isRHEL 3) support.
-for gj in "" "4"; do
- gcj_name="/usr/bin/gcj${gj}"
- gij_name="/usr/bin/gij${gj}"
- if [ -x ${gcj_name} ] && [ -x ${gij_name} ]; then
- gcj_basename=$(basename ${gcj_name})
- gij_basename=$(basename ${gij_name})
-
- rlPhaseStartTest "[${gij_basename}] Interpreting and compiling via java"
- rlRun "${gcj_name} -C foo.java" 0 "[${gcj_basename}] Creating bytecode"
- mv foo.class ~
- pushd /tmp
-
- echo "Dry run w/o strace"
- ${gij_basename} -cp ~/ foo
-
- echo "=== Dry run end ==="
- strace -f -v -s1024 ${gij_basename} -cp ~/ foo 2>&1 | tee out.${gij_basename}
- echo
- grep foolib out.${gij_basename}
- foolib_cnt="$(grep foolib out.${gij_basename} -c)"
- echo
- rlRun "if [ ${foolib_cnt} -ne 0 ]; then egrep '\"libfoolib.la|\"foolib.la' out.${gij_basename}; else echo \"Zero lines w/ foolib\"; true; fi" 1 "[${gij_basename}] Interpreting test case" # use 'true' (sic!)
- popd
- rm -f ~/foo.class
- rlPhaseEnd
-
- fi
-done
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/main.fmf b/tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/main.fmf
deleted file mode 100644
index f44417a..0000000
--- a/tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/main.fmf
+++ /dev/null
@@ -1,32 +0,0 @@
-summary: Test for BZ#1611637 (devtoolset-8-gcc includes avx512vbmi2intrin.h but)
-description: |
- Bug summary: devtoolset-8-gcc includes avx512vbmi2intrin.h but does not contain it
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1611637
-
- The list of intrinsic headers keeps changing every release, sometimes
- even on the release branch, and %files needs to be in sync with what has
- been changed in gcc/config.gcc. immintrin.h is one of those headers and
- this test makes sure that we can #include it.
-contact: Vaclav Kadlcik
-component:
- - gcc
-test: bash ./runtest.sh
-framework: beakerlib
-require:
- - gcc
-duration: 5m
-enabled: true
-tag:
- - CI-Tier-1
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1611637
-adjust:
- - enabled: false
- when: arch != x86_64
- continue: false
- - enabled: false
- when: distro == rhel-5
- continue: false
-extra-nitrate: TC#0575308
-extra-summary: /tools/gcc/Regression/bz1611637-immintrin_h_include_list_does_not_match_release
-extra-task: /tools/gcc/Regression/bz1611637-immintrin_h_include_list_does_not_match_release
diff --git a/tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/runtest.sh b/tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/runtest.sh
deleted file mode 100755
index 8ff645e..0000000
--- a/tests/Regression/bz1611637-immintrin_h_include_list_does_not_match_release/runtest.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz1611637-immintrin_h_include_list_does_not_match_release
-# Description: Test for BZ#1611637 (devtoolset-8-gcc includes avx512vbmi2intrin.h but)
-# Author: Michael Petlan
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2018 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-GCC=${GCC:-gcc}
-
-rlJournalStart
- rlPhaseStartSetup
- cat > a.c <
-int main(void)
-{
- return 0;
-}
-EOF
- rlAssertExists "a.c"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "$GCC -o a a.c"
- rlAssertExists "a"
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "rm -f a a.c"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz1815504-Regression-in-the-line-information-debug/main.fmf b/tests/Regression/bz1815504-Regression-in-the-line-information-debug/main.fmf
deleted file mode 100644
index 82cdc4e..0000000
--- a/tests/Regression/bz1815504-Regression-in-the-line-information-debug/main.fmf
+++ /dev/null
@@ -1,12 +0,0 @@
-summary: Test for BZ#1815504 (Regression in the line information debug)
-description: |
- Bug summary: Regression in the line information debug information generated by gcc
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1815504
-recommend:
-- gcc
-- valgrind
-duration: 5m
-link:
-- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1815504
-extra-summary: /tools/gcc/Regression/bz1815504-Regression-in-the-line-information-debug
-extra-task: /tools/gcc/Regression/bz1815504-Regression-in-the-line-information-debug
diff --git a/tests/Regression/bz1815504-Regression-in-the-line-information-debug/runtest.sh b/tests/Regression/bz1815504-Regression-in-the-line-information-debug/runtest.sh
deleted file mode 100755
index 585e76c..0000000
--- a/tests/Regression/bz1815504-Regression-in-the-line-information-debug/runtest.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz1815504-Regression-in-the-line-information-debug
-# Description: Test for BZ#1815504 (Regression in the line information debug)
-# Author: Alexandra Hájková
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2021 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="gcc"
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "valgrind -q date &> log" 0
- rlAssertNotGrep "Can't handle inlined call info entry with line number" log
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/main.fmf b/tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/main.fmf
deleted file mode 100644
index 1c87a12..0000000
--- a/tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/main.fmf
+++ /dev/null
@@ -1,17 +0,0 @@
-summary: Test for BZ#1852781 (Compiling with -flto and -g removes CET support)
-description: |
- Bug summary: Compiling with -flto and -g removes CET support
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1852781
-contact: Alexandra Hájková
-component:
-- gcc
-test: ./runtest.sh
-framework: beakerlib
-recommend:
-- gcc
-- binutils
-duration: 15m
-link:
-- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1852781
-extra-summary: /tools/gcc/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support
-extra-task: /tools/gcc/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support
diff --git a/tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/runtest.sh b/tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/runtest.sh
deleted file mode 100755
index 84cae8f..0000000
--- a/tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/runtest.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support
-# Description: Test for BZ#1852781 (Compiling with -flto and -g removes CET support)
-# Author: Alexandra Hájková
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2020 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="gcc"
-TESTPROG="x"
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
- rlRun "cp $TESTPROG.c $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "gcc -flto -c -fcf-protection -g $TESTPROG.c"
- rlRun "gcc -flto -Wl,-z,cet-report=error -fcf-protection -g $TESTPROG.o &> log"
- rlAssertNotGrep " missing IBT and SHSTK properties" log
- rlRun "readelf --wide --notes a.out | grep IBT &> log"
- rlAsserGrep "IBT, SHSTK" log
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/x.c b/tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/x.c
deleted file mode 100644
index 64fffec..0000000
--- a/tests/Regression/bz1852781-Compiling-with-flto-and-g-removes-CET-support/x.c
+++ /dev/null
@@ -1,8 +0,0 @@
-#include
-
-int
-main ()
-{
- printf ("hello\n");
- return 0;
-}
diff --git a/tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/main.fmf b/tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/main.fmf
deleted file mode 100644
index 1540389..0000000
--- a/tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/main.fmf
+++ /dev/null
@@ -1,17 +0,0 @@
-summary: Test for BZ#1853900 (typeinfo for stdcodecvt_utf8 not found
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1853900
-contact: Alexandra Hájková
-component:
-- gcc
-test: ./runtest.sh
-framework: beakerlib
-recommend:
-- gcc
-- gcc-c++
-duration: 10m
-link:
-- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1853900
-extra-summary: /tools/gcc/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul
-extra-task: /tools/gcc/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul
diff --git a/tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/runtest.sh b/tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/runtest.sh
deleted file mode 100755
index a6eb4ed..0000000
--- a/tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/runtest.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul
-# Description: Test for BZ#1853900 (typeinfo for stdcodecvt_utf8
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2020 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="gcc"
-TESTPROG="test.cc"
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
- rlRun "cp $TESTPROG $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "g++ -std=c++17 $TESTPROG &> log"
- rlAssertNotGrep "hidden symbol " log
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/test.cc b/tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/test.cc
deleted file mode 100644
index 075633f..0000000
--- a/tests/Regression/bz1853900-typeinfo-for-std-codecvt-utf8-wchar-t-1114111ul/test.cc
+++ /dev/null
@@ -1,7 +0,0 @@
-#include
-
-namespace fs = std::filesystem;
-int main() {
- fs::create_directory("sandbox");
- fs::remove_all("sandbox");
-}
diff --git a/tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/main.fmf b/tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/main.fmf
deleted file mode 100644
index 8167f92..0000000
--- a/tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/main.fmf
+++ /dev/null
@@ -1,16 +0,0 @@
-summary: Test for BZ#1878841 (GOMP_parallel_loop_nonmonotonic_dynamic and)
-description: |
- Bug summary: GOMP_parallel_loop_nonmonotonic_dynamic and GOMP_loop_nonmonotonic_dynamic_next missing
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1878841
-contact: Alexandra Hájková
-component:
-- gcc
-test: ./runtest.sh
-framework: beakerlib
-recommend:
-- gcc
-duration: 5m
-link:
-- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1878841
-extra-summary: /tools/gcc/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and
-extra-task: /tools/gcc/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and
diff --git a/tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/runtest.sh b/tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/runtest.sh
deleted file mode 100755
index 83c42ef..0000000
--- a/tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/runtest.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and
-# Description: Test for BZ#1878841 (GOMP_parallel_loop_nonmonotonic_dynamic and)
-# Author: Alexandra Hájková
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2020 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="gcc"
-TESTPROG="tst"
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
- rlRun "cp $TESTPROG.c $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "gcc -fopenmp $TESTPROG.c &> log"
- rlAssertNotGrep "undefined reference to `GOMP_parallel_loop_nonmonotonic_dynamic`" log
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/tst.c b/tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/tst.c
deleted file mode 100644
index 741559e..0000000
--- a/tests/Regression/bz1878841-GOMP-parallel-loop-nonmonotonic-dynamic-and/tst.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include
-int main ()
-{
- #pragma omp parallel for schedule(dynamic)
- for (int i = 0; i < 10; i++);
-}
diff --git a/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/b.gdb b/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/b.gdb
deleted file mode 100644
index 341301d..0000000
--- a/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/b.gdb
+++ /dev/null
@@ -1,2 +0,0 @@
-info functions foo
-q
diff --git a/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/main.fmf b/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/main.fmf
deleted file mode 100644
index 7054cbd..0000000
--- a/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/main.fmf
+++ /dev/null
@@ -1,17 +0,0 @@
-summary: Test for BZ#1893340 (Variadic arguments are missing from debugging data)
-description: |
- Bug summary: Variadic arguments are missing from debugging data when building with -flto
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1893340
-contact: Alexandra Hájková
-component:
-- gcc
-test: ./runtest.sh
-framework: beakerlib
-recommend:
-- gcc
-- gdb
-duration: 5m
-link:
-- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1893340
-extra-summary: /tools/gcc/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data
-extra-task: /tools/gcc/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data
diff --git a/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/runtest.sh b/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/runtest.sh
deleted file mode 100755
index f2dd2ca..0000000
--- a/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/runtest.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data
-# Description: Test for BZ#1893340 (Variadic arguments are missing from debugging data)
-# Author: Alexandra Hájková
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2021 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="gcc"
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
- rlRun "cp test.c b.gdb $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "gcc -fPIC -shared -o libtest.so -O0 -g test.c"
- rlRun "gdb -x b.gdb libtest.so > gdb.log"
- rlAssertGrep "void foo(int, ...);" gdb.log
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/test.c b/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/test.c
deleted file mode 100644
index 3de5962..0000000
--- a/tests/Regression/bz1893340-Variadic-arguments-are-missing-from-debugging-data/test.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include
-void foo(int args, ...) {
- va_list ap;
- va_start(ap, args);
- va_end(ap);
-}
diff --git a/tests/Regression/bz1896093-Compiling-with-flto-auto-fails-if-make-is-not/main.fmf b/tests/Regression/bz1896093-Compiling-with-flto-auto-fails-if-make-is-not/main.fmf
deleted file mode 100644
index c1da31b..0000000
--- a/tests/Regression/bz1896093-Compiling-with-flto-auto-fails-if-make-is-not/main.fmf
+++ /dev/null
@@ -1,16 +0,0 @@
-summary: Test for BZ#1896093 (Compiling with -flto=auto fails if make is not)
-description: |
- Bug summary: Compiling with -flto=auto fails if make is not installed
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1896093
-contact: Alexandra Hájková
-component:
-- gcc
-test: ./runtest.sh
-framework: beakerlib
-recommend:
-- gcc
-duration: 5m
-link:
-- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1896093
-extra-summary: /tools/gcc/Regression/bz1896093-Compiling-with-flto-auto-fails-if-make-is-not
-extra-task: /tools/gcc/Regression/bz1896093-Compiling-with-flto-auto-fails-if-make-is-not
diff --git a/tests/Regression/bz1896093-Compiling-with-flto-auto-fails-if-make-is-not/runtest.sh b/tests/Regression/bz1896093-Compiling-with-flto-auto-fails-if-make-is-not/runtest.sh
deleted file mode 100755
index a23ce5c..0000000
--- a/tests/Regression/bz1896093-Compiling-with-flto-auto-fails-if-make-is-not/runtest.sh
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz1896093-Compiling-with-flto-auto-fails-if-make-is-not
-# Description: Test for BZ#1896093 (Compiling with -flto=auto fails if make is not)
-# Author: Alexandra Hájková
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2020 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="gcc"
-
-rlJournalStart
- rlPhaseStartSetup
- MAKE_WAS_PRESENT=false
- rpm -q make &>/dev/null && MAKE_WAS_PRESENT=true
- rlAssertRpm $PACKAGE
- rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
- rlRun "pushd $TmpDir"
- rlRun "rpm -e --nodeps make" 0,1
- rlPhaseEnd
-
- rlPhaseStartTest
- echo "void main() { }" | gcc -x c -flto=auto - &> log
- rlAssertNotGrep "lto-wrapper: fatal error: execvp: No such file or directory" log
- rlPhaseEnd
-
- rlPhaseStartCleanup
- if $MAKE_WAS_PRESENT; then
- rpm -q make &>/dev/null || rlRun "yum -y install make"
- fi
- rlRun "popd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz1927579-libgfortran-seems-to-be-missing/alloc1.f90 b/tests/Regression/bz1927579-libgfortran-seems-to-be-missing/alloc1.f90
deleted file mode 100644
index 8765255..0000000
--- a/tests/Regression/bz1927579-libgfortran-seems-to-be-missing/alloc1.f90
+++ /dev/null
@@ -1,5 +0,0 @@
-program test_allocated
- integer :: i = 4
- real(4), allocatable :: x(:)
- if (.not. allocated(x)) allocate(x(i))
-end program test_allocated
diff --git a/tests/Regression/bz1927579-libgfortran-seems-to-be-missing/main.fmf b/tests/Regression/bz1927579-libgfortran-seems-to-be-missing/main.fmf
deleted file mode 100644
index d6b5ead..0000000
--- a/tests/Regression/bz1927579-libgfortran-seems-to-be-missing/main.fmf
+++ /dev/null
@@ -1,17 +0,0 @@
-summary: Test for BZ#1927579 (libgfortran seems to be missing)
-description: |
- Bug summary: libgfortran seems to be missing _gfortran_os_error_at
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1927579
-contact: Alexandra Hájková
-component:
-- gcc
-test: ./runtest.sh
-framework: beakerlib
-recommend:
-- gcc
-- gcc-gfortran
-duration: 5m
-link:
-- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1927579
-extra-summary: /tools/gcc/Regression/bz1927579-libgfortran-seems-to-be-missing
-extra-task: /tools/gcc/Regression/bz1927579-libgfortran-seems-to-be-missing
diff --git a/tests/Regression/bz1927579-libgfortran-seems-to-be-missing/runtest.sh b/tests/Regression/bz1927579-libgfortran-seems-to-be-missing/runtest.sh
deleted file mode 100755
index e635213..0000000
--- a/tests/Regression/bz1927579-libgfortran-seems-to-be-missing/runtest.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz1927579-libgfortran-seems-to-be-missing
-# Description: Test for BZ#1927579 (libgfortran seems to be missing)
-# Author: Alexandra Hájková
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2021 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="gcc"
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
- rlRun "cp alloc1.f90 $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "gfortran alloc1.f90" &> log
- rlAssertNotGrep "alloc1.f90:(.text+0x131): undefined reference" log
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz1939638-gcc-toolset-10-libasan-devel-depends-on-the-wrong/main.fmf b/tests/Regression/bz1939638-gcc-toolset-10-libasan-devel-depends-on-the-wrong/main.fmf
deleted file mode 100644
index 4cfef47..0000000
--- a/tests/Regression/bz1939638-gcc-toolset-10-libasan-devel-depends-on-the-wrong/main.fmf
+++ /dev/null
@@ -1,17 +0,0 @@
-summary: Test for BZ#1939638 (gcc-toolset-10-libasan-devel depends on the wrong)
-description: |
- Bug summary: gcc-toolset-10-libasan-devel depends on the wrong libasan
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1939638
-contact: Alexandra Hájková
-component:
-- gcc
-test: ./runtest.sh
-framework: beakerlib
-recommend:
-- gcc
-- libasan
-duration: 5m
-link:
-- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1939638
-extra-summary: /tools/gcc/Regression/bz1939638-gcc-toolset-10-libasan-devel-depends-on-the-wrong
-extra-task: /tools/gcc/Regression/bz1939638-gcc-toolset-10-libasan-devel-depends-on-the-wrong
diff --git a/tests/Regression/bz1939638-gcc-toolset-10-libasan-devel-depends-on-the-wrong/runtest.sh b/tests/Regression/bz1939638-gcc-toolset-10-libasan-devel-depends-on-the-wrong/runtest.sh
deleted file mode 100755
index 1d29c6c..0000000
--- a/tests/Regression/bz1939638-gcc-toolset-10-libasan-devel-depends-on-the-wrong/runtest.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz1939638-gcc-toolset-10-libasan-devel-depends-on-the-wrong
-# Description: Test for BZ#1939638 (gcc-toolset-10-libasan-devel depends on the wrong)
-# Author: Alexandra Hájková
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2021 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="gcc"
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "echo 'int main () { return 0; }' | gcc -xc -fsanitize=address -" &> log
- rlAssertNotGrep "cannot find /usr/lib64/libasan" log
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/main.fmf b/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/main.fmf
deleted file mode 100644
index fac6ddb..0000000
--- a/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/main.fmf
+++ /dev/null
@@ -1,27 +0,0 @@
-summary: Test for BZ#1960701 (Wrong-code regression starting with gcc 8.2)
-description: |
- Bug summary: Wrong-code regression starting with gcc 8.2
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1960701
-contact: Vaclav Kadlcik
-component:
-- gcc
-test: bash ./runtest.sh
-framework: beakerlib
-require:
-- gcc-c++
-duration: 15m
-enabled: true
-tag:
- - CI-Tier-1
-link:
-- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1960701
-adjust:
- - enabled: false
- when: distro < rhel-8 and collection is not defined
- continue: false
- - enabled: false
- when: distro ~< rhel-8.5 and collection is not defined
- continue: false
-extra-nitrate: TC#0610780
-extra-summary: /tools/gcc/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2
-extra-task: /tools/gcc/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2
diff --git a/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/reproducer.cc b/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/reproducer.cc
deleted file mode 100644
index 6ebd8e0..0000000
--- a/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/reproducer.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-#include
-
-struct T {
- unsigned a;
- float b {8.};
-};
-
-int main()
-{
- T t = {1};
- std::vector tt = {{1}, {2}};
- if (t.a != 1 || t.b != 8.0f || tt[0].a != 1 || tt[0].b != 8.0f || tt[1].a != 2 || tt[1].b != 8.0f)
- __builtin_abort ();
-}
diff --git a/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/runtest.sh b/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/runtest.sh
deleted file mode 100755
index 9dd4ea3..0000000
--- a/tests/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2/runtest.sh
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/bin/env bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz1960701-Wrong-code-regression-starting-with-gcc-8-2
-# Description: Test for BZ#1960701 (Wrong-code regression starting with gcc 8.2)
-# Author: Vaclav Kadlcik
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2021 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-# Notes on relevancy
-#
-# The test is applicable to GCCs supporting -std=c++17. In practice,
-# * any supported toolset GCC
-# * system GCC of RHEL 8+; however the respective fix landed in 8.5
-# and isn't planned for backporting.
-#
-# Suggested TCMS relevancy:
-# distro < rhel-8 && collection !defined: False
-# distro < rhel-8.5 && collection !defined: False
-
-GCC="${GCC:-$(type -P gcc)}"
-PACKAGE=$(rpm --qf '%{name}\n' -qf $GCC | head -1)
-PACKAGES="${PACKAGE} ${PACKAGE}-c++"
-
-rlJournalStart
- rlPhaseStartSetup
- rlLogInfo "PACKAGES=$PACKAGES"
- rlLogInfo "COLLECTIONS=$COLLECTIONS"
- rlAssertRpm --all
- rlRun "TmpDir=\$(mktemp -d)"
- rlRun "cp reproducer.cc $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun 'g++ -o reproducer -Wall -Wextra -std=c++17 reproducer.cc'
- rlRun './reproducer'
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun 'popd'
- rlRun "rm -r $TmpDir"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/main.fmf b/tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/main.fmf
deleted file mode 100644
index c699de0..0000000
--- a/tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/main.fmf
+++ /dev/null
@@ -1,16 +0,0 @@
-summary: Test for BZ#1965951 (Wrong-code regression starting with gcc 8.5)
-description: |
- Bug summary: Wrong-code regression starting with gcc 8.5
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1965951
-contact: Vaclav Kadlcik
-component:
-- gcc
-test: ./runtest.sh
-framework: beakerlib
-recommend:
-- gcc-c++
-duration: 15m
-link:
-- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1965951
-extra-summary: /tools/gcc/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5
-extra-task: /tools/gcc/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5
diff --git a/tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/reproducer.cc b/tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/reproducer.cc
deleted file mode 100644
index 40b0c81..0000000
--- a/tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/reproducer.cc
+++ /dev/null
@@ -1,12 +0,0 @@
-#include
-struct S1 { virtual ~S1() = default; };
-struct S2 { virtual void f1() = 0; };
-struct S3: S1, S2 {
- void f1() { f2(); }
- virtual void f2() = 0;
-};
-struct S4: S3 {
- void f2() { std::cout << "called\n"; }
- using S2::f1;
-};
-int main() { S4().f1(); }
diff --git a/tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/runtest.sh b/tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/runtest.sh
deleted file mode 100755
index d8d69d0..0000000
--- a/tests/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5/runtest.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/usr/bin/env bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz1965951-Wrong-code-regression-starting-with-gcc-8-5
-# Description: Test for BZ#1965951 (Wrong-code regression starting with gcc 8.5)
-# Author: Vaclav Kadlcik
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2021 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-GCC="${GCC:-$(type -P gcc)}"
-PACKAGE=$(rpm --qf '%{name}\n' -qf $GCC | head -1)
-PACKAGES="${PACKAGE} ${PACKAGE}-c++"
-
-rlJournalStart
- rlPhaseStartSetup
- rlLogInfo "PACKAGES=$PACKAGES"
- rlRun "dnf -y install $PACKAGES" 0-255
- rlAssertRpm --all
- rlRun "TmpDir=\$(mktemp -d)"
- rlRun "cp reproducer.cc $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun 'g++ -o reproducer reproducer.cc'
- rlRun './reproducer'
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun 'popd'
- rlRun "rm -r $TmpDir"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/main.fmf b/tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/main.fmf
deleted file mode 100644
index 8f8346f..0000000
--- a/tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/main.fmf
+++ /dev/null
@@ -1,26 +0,0 @@
-summary: SystemTap fails to retrieve location attribute for local variable
-description: ''
-contact: mcermak@redhat.com
-component:
- - gcc
- - systemtap
-test: bash ./runtest.sh
-framework: beakerlib
-require:
- - gcc
- - systemtap
- - kernel-devel
- - kernel-headers
-duration: 50m
-enabled: true
-tag:
- - CI-Tier-1
- - STAP-EWA
- - mcu_stap
- - mcu_stap_6g
- - mcu_stap_7g
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=576287
-extra-nitrate: TC#0062256
-extra-summary: /tools/gcc/Regression/gcc/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable
-extra-task: /tools/gcc/Regression/gcc/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable
diff --git a/tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/runtest.sh b/tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/runtest.sh
deleted file mode 100755
index 0003300..0000000
--- a/tests/Regression/bz576287-SystemTap-fails-to-retrieve-location-attribute-for-local-variable/runtest.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-
-# Copyright (c) 2010 Red Hat, Inc. All rights reserved.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 3 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include rhts environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="gcc"
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- kernel_uname="$(uname -a | awk '{ print $3 }')"
- kernel_arch="$(uname -a | awk '{ print $12 }')"
- echo kernel_arch: $kernel_arch
- kernel_version="$(echo ${kernel_uname} | sed 's/-/ /' | awk '{ print $1 }')"
- echo kernel_version: $kernel_version
- kernel_release="$(echo ${kernel_uname} | sed 's/-/ /' | awk '{ print $2 }' | sed 's/\./ /g' | awk '{ print $1,".",$2 }' | sed 's/ //g')"
- echo kernel_release_1: $kernel_release
- if $(echo ${kernel_release} | grep -iq PAE); then
- kernel_release="$(echo ${kernel_release} | sed 's/PAE//g' | sed 's/pae//g')"
- PAE="PAE-"
- fi
- echo kernel_release_2: $kernel_release
- if rlIsRHEL 6; then
- arch="${kernel_arch}-"
- fi
- kernel_debug="http://download.devel.redhat.com/brewroot/packages/kernel/${kernel_version}/${kernel_release}/${kernel_arch}/kernel-${PAE}debuginfo-${kernel_version}-${kernel_release}.${kernel_arch}.rpm"
- kernel_debug_common="http://download.devel.redhat.com/brewroot/packages/kernel/${kernel_version}/${kernel_release}/${kernel_arch}/kernel-debuginfo-common-${arch}${kernel_version}-${kernel_release}.${kernel_arch}.rpm"
- echo ">>> $kernel_debug $kernel_debug_common"
- debuginfo-install -y kernel
- rpmquery kernel-debuginfo || rpm -ivh ${kernel_debug} ${kernel_debug_common}
- rlPhaseEnd
-
- rlPhaseStartTest opt-O$opt
- rlRun "stap -vvvv -p2 -e 'probe kernel.function(\"sig_ignored\") {println($$parms)}' 2>&1 | grep 'variable location problem'" 1 "gcc produced good enough debuginfo w/o 'variable location problem'"
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/f.cc b/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/f.cc
deleted file mode 100644
index 7b815cd..0000000
--- a/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/f.cc
+++ /dev/null
@@ -1,15 +0,0 @@
-template int func (void);
-
-template struct Foo
-{
- static const unsigned int a = sizeof (T);
-
- //enum { b = a };
-
- enum
- {
- c = sizeof (func < (a == 0) > ())
- };
-};
-
-Foo x;
diff --git a/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/main.fmf b/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/main.fmf
deleted file mode 100644
index 4ad6875..0000000
--- a/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/main.fmf
+++ /dev/null
@@ -1,28 +0,0 @@
-summary: Try to compile a program that has a template parameter with a boolean expression
- involving a templated static constant
-description: ''
-contact: mcermak@redhat.com
-component:
- - gcc
-test: bash ./runtest.sh
-path: /tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template
-framework: beakerlib
-require:
- - gcc
- - gcc-c++
- - file
-duration: 5m
-enabled: true
-tier: '1'
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=703059
-tag:
- - CI-Tier-1
- - DTS8-INTEROP-CI
- - DTS9-INTEROP-CI
- - Tier1
- - dts_smoke
- - dts_stable
-extra-nitrate: TC#0111110
-extra-summary: /tools/gcc/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template
-extra-task: /tools/gcc/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template
diff --git a/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/runtest.sh b/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/runtest.sh
deleted file mode 100755
index 8f50b77..0000000
--- a/tests/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template/runtest.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Regression/bz703059-g-fails-to-compile-a-program-that-has-a-template
-# Description: Try to compile a program that has a template parameter with a boolean expression involving a templated static constant
-# Author: Marek Polacek
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2011, 2012 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing
-# to use, modify, copy, or redistribute it subject to the terms
-# and conditions of the GNU General Public License version 2.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with this program; if not, write to the Free
-# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-# Boston, MA 02110-1301, USA.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include rhts environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-GXX=${GXX:-g++}
-
-rlJournalStart
- rlPhaseStartSetup
- rlLog "GXX = $GXX"
- rlLog "Installed within `rpmquery -f $(which $GXX)`"
- rlRun "TmpDir=\`mktemp -d\`"
- rlRun "cp -v f.cc $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "$GXX -c f.cc"
- rlAssertExists "f.o"
- rlRun "file f.o | grep ELF" # Basic obj file sanity check
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/unused_parameter_warning/main.fmf b/tests/Regression/unused_parameter_warning/main.fmf
deleted file mode 100644
index b589e98..0000000
--- a/tests/Regression/unused_parameter_warning/main.fmf
+++ /dev/null
@@ -1,31 +0,0 @@
-summary: Check to see if g++ throws unused parameter warnings with standard libraries
- with option -Wall
-contact: mcermak@redhat.com
-component:
- - gcc
-test: bash ./runtest.sh
-path: /tests/Regression/unused_parameter_warning
-framework: beakerlib
-require:
- - gcc-c++
- - glibc-devel
- - libstdc++-devel
-recommend:
- - gcc44-c++
- - glibc-devel.ppc64
- - glibc-devel.ppc
- - libstdc++43-devel.ppc
- - libstdc++44-devel.ppc
- - libstdc++-devel.ppc
-duration: 10m
-enabled: true
-tier: '1'
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=201342
-tag:
- - CI-Tier-1
- - Tier1
- - dts_stable
-extra-nitrate: TC#0062265
-extra-summary: /tools/gcc/c++/unused_parameter_warning
-extra-task: /tools/gcc/c++/unused_parameter_warning
diff --git a/tests/Regression/unused_parameter_warning/runtest.sh b/tests/Regression/unused_parameter_warning/runtest.sh
deleted file mode 100755
index 4a5d2fb..0000000
--- a/tests/Regression/unused_parameter_warning/runtest.sh
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/bash
-# vim: dict=/usr/share/rhts-library/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2009, 2012 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing
-# to use, modify, copy, or redistribute it subject to the terms
-# and conditions of the GNU General Public License version 2.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with this program; if not, write to the Free
-# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-# Boston, MA 02110-1301, USA.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# g++ - check for unused parameter warning
-# expected exit code is 0
-#
-# Author: Sachin Prabhu
-# Maintainer: Marek Polacek
-
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGES=(gcc gcc-c++ grep)
-
-GXX=${GXX:-g++}
-
-rlJournalStart
- rlPhaseStartSetup
- for p in "${PACKAGES[@]}"; do
- rlAssertRpm "$p"
- done; unset p
- rlLog "GXX = $GXX"
- rlLog "Installed within `rpmquery -f $(which $GXX)`"
- rlRun "TmpDir=\`mktemp -d\`"
- rlRun "cp -v test.cpp $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "$GXX -W -Wall -o test.bin test.cpp &> output"
- cat output
- rlRun "grep -E 'warning:\W+unused\W+parameter' -q output" 1 "'warning: unused parameter' not present"
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Regression/unused_parameter_warning/test.cpp b/tests/Regression/unused_parameter_warning/test.cpp
deleted file mode 100644
index 15d375b..0000000
--- a/tests/Regression/unused_parameter_warning/test.cpp
+++ /dev/null
@@ -1,2 +0,0 @@
-#include
-int main() {}
diff --git a/tests/Sanity/compile-rpm/main.fmf b/tests/Sanity/compile-rpm/main.fmf
deleted file mode 100644
index 4685e4a..0000000
--- a/tests/Sanity/compile-rpm/main.fmf
+++ /dev/null
@@ -1,45 +0,0 @@
-summary: Compile a Red Hat RPM package.
-description: ''
-contact: mcermak@redhat.com
-component:
- - gcc
-test: bash ./runtest.sh
-path: /tests/Sanity/compile-rpm
-framework: beakerlib
-require:
- - autoconf
- - bison
- - dejagnu
- - elfutils-libelf-devel
- - expat-devel
- - flex
- - gcc
- - gdb
- - glibc-devel
- - grep
- - libselinux-devel
- - make
- - mpfr-devel
- - ncurses-devel
- - python-devel
- - readline-devel
- - rpm-build
- - rpm-devel
- - texinfo
- - xz-devel
- - yum-utils
- - zlib-devel
-duration: 240m
-adjust:
- - require+:
- - ncurses-devel.i686
- - ncurses-devel.x86_64
- when: arch == x86_64
- - enabled: false
- # Too "heavy" for Fedora CI (for now)
- when: distro == fedora and trigger is defined
- continue: false
-enabled: true
-extra-nitrate: TC#0142522
-extra-summary: /tools/gcc/Sanity/compile-rpm
-extra-task: /tools/gcc/Sanity/compile-rpm
diff --git a/tests/Sanity/compile-rpm/runtest.sh b/tests/Sanity/compile-rpm/runtest.sh
deleted file mode 100755
index 5f68e75..0000000
--- a/tests/Sanity/compile-rpm/runtest.sh
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/bash
-# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/gcc/Sanity/compile-rpm
-# Description: Compile a Red Hat RPM package.
-# Author: Marek Polacek
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2012 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing
-# to use, modify, copy, or redistribute it subject to the terms
-# and conditions of the GNU General Public License version 2.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with this program; if not, write to the Free
-# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-# Boston, MA 02110-1301, USA.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-GCC=${GCC:-gcc}
-
-# Set the variabile UNDER_DTS on non-empty string, when run under devtoolset.
-if $( echo `which gcc` | grep -qE '/opt/rh/' ); then
- UNDER_DTS="true"
- # Set the actual version of DTS
- DTS=`which gcc | awk 'BEGIN { FS="/" } { print $4 }'`
-fi
-
-rlJournalStart
- rlPhaseStartSetup
- # Work around troubles with buildroot packages being out-of-sync
- if rlIsRHEL; then
- rlMountRedhat
- for i in libipt source-highlight libbabeltrace; do
- rpm -q $i &>/dev/null || rlRun "yum -y install $i" 0-255
- rpm -q ${i}-devel &>/dev/null || rlRun "yum -y install ${i}-devel" 0-255
- d=/mnt/redhat/brewroot/packages/$i
- if rpm -q $i &>/dev/null && ! rpm -q ${i}-devel &>/dev/null; then
- if [[ -e /mnt/redhat/brewroot/packages/$i ]]; then
- d=/mnt/redhat/brewroot/packages/$i
- else
- d=/mnt/redhat/brewroot/packages/${i#lib}
- fi
- rlRun "yum -y install $d/$(rpm -q --qf='%{VERSION}/%{RELEASE}/%{ARCH}' $i)/${i}-devel-$(rpm -q --qf='%{VERSION}-%{RELEASE}.%{ARCH}' $i).rpm"
- fi
- done
- fi
-
- rlRun "TmpDir=\$(mktemp -d)"
- rlRun "pushd $TmpDir"
-
- if [ -z ${UNDER_DTS} ]; then
- rlFetchSrcForInstalled gdb || yumdownloader --source gdb
- else
- rlFetchSrcForInstalled $DTS-gdb || yumdownloader --source $DTS-gdb
- fi
-
- if [ -z ${UNDER_DTS} ]; then
- srpm=$(rpmquery gdb --queryformat=%{NAME}-%{VERSION}-%{RELEASE})".src.rpm"
- else
- srpm=$(rpmquery $DTS-gdb --queryformat=%{NAME}-%{VERSION}-%{RELEASE})".src.rpm"
- fi
- rlRun "rpm -Uvh $srpm"
- spec_dir=$(rpm --eval=%_specdir)
- build_dir=$(rpm --eval=%_builddir)
-
- if [ -z ${UNDER_DTS} ]; then
- pkg_dir=$(rpmquery gdb} --queryformat=%{NAME}-%{VERSION})
- else
- pkg_dir=$(rpmquery $DTS-gdb} --queryformat=%{NAME}-%{VERSION})
- fi
-
- yum-builddep -y $spec_dir/gdb.spec
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "CC=$GCC rpmbuild -bb $spec_dir/gdb.spec &> BUILD_LOG"
- test $? -eq 0 || tail -n 20 BUILD_LOG
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlBundleLogs "Build-log" BUILD_LOG
- rlRun "popd"
- rlRun "rm -r $TmpDir"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Sanity/libitm-smoke/bins_aarch64.tar.gz b/tests/Sanity/libitm-smoke/bins_aarch64.tar.gz
deleted file mode 100644
index d528f036f9fae1083d76ebd7822044824d7bfa84..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 42861
zcmdqlS5p&U_bz-D6%heN0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