master branch: commit r15-1643 failed to bootstrap on Linux/i686 (commit r15-1594 builds)!

2024-06-26 Thread haochenj via Gcc-regression
make[2]: Entering directory '/home/haochenj/src/gcc-regression'
rm -rf bld
mkdir -p bld
cd bld; \
CC="gcc -m32 -fno-lto" CXX="g++ -m32 -fno-lto" ../src-master/configure \
--with-arch=corei7 --with-cpu=intel --enable-clocale=gnu 
--with-system-zlib --enable-shared --enable-cet --with-demangler-in-ld 
--enable-libmpx --prefix=/usr/gcc-15.0.0 i686-linux --with-fpmath=sse 
configure: WARNING: you should use --build, --host, --target
grep "Error " makelog.r15-1643.i686.intel >> 
makelog.r15-1643.i686.intel.mail; \
make[6]: [Makefile:1832: i686-linux/bits/largefile-config.h] Error 1 (ignored)
make[6]: *** [Makefile:2557: i386.o] Error 1
make[5]: *** [Makefile:5108: all-stage2-gcc] Error 2
make[4]: *** [Makefile:30031: stage2-bubble] Error 2
make[3]: *** [Makefile:30275: bootstrap] Error 2
make[2]: *** [Makefile:313: bootstrap] Error 2
/home/haochenj/src/gcc-regression/bld/./prev-gcc/xg++ 
-B/home/haochenj/src/gcc-regression/bld/./prev-gcc/ 
-B/usr/gcc-15.0.0/i686-linux/bin/ -nostdinc++ 
-B/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/src/.libs 
-B/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/libsupc++/.libs
  
-I/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/include/i686-linux
  -I/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/include  
-I/home/haochenj/src/gcc-regression/src-master/libstdc++-v3/libsupc++ 
-L/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/src/.libs 
-L/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/libsupc++/.libs
  -fno-PIE -c   -g -O2 -fno-checking -gtoggle -DIN_GCC-fno-exceptions 
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings 
-Wcast-qual -Wmissing-format-attribute -Wconditionally-supported 
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -fno-PIE -I. -I. 
-I../../src-master/gcc -I../../src-master/gcc/. 
-I../../src-master/gcc/../include  -I../../src-master/gcc/../libcpp/include 
-I../../src-master/gcc/../libcody -I/home/haochenj/src/gcc-regression/bld/./gmp 
-I/home/haochenj/src/gcc-regression/src-master/gmp 
-I/home/haochenj/src/gcc-regression/bld/./mpfr/src 
-I/home/haochenj/src/gcc-regression/src-master/mpfr/src 
-I/home/haochenj/src/gcc-regression/src-master/mpc/src  
-I../../src-master/gcc/../libdecnumber 
-I../../src-master/gcc/../libdecnumber/bid -I../libdecnumber 
-I../../src-master/gcc/../libbacktrace 
-I/home/haochenj/src/gcc-regression/bld/./isl/include 
-I/home/haochenj/src/gcc-regression/src-master/isl/include  -o linux.o -MT 
linux.o -MMD -MP -MF ./.deps/linux.TPo ../../src-master/gcc/config/linux.cc
/home/haochenj/src/gcc-regression/bld/./prev-gcc/xg++ 
-B/home/haochenj/src/gcc-regression/bld/./prev-gcc/ 
-B/usr/gcc-15.0.0/i686-linux/bin/ -nostdinc++ 
-B/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/src/.libs 
-B/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/libsupc++/.libs
  
-I/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/include/i686-linux
  -I/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/include  
-I/home/haochenj/src/gcc-regression/src-master/libstdc++-v3/libsupc++ 
-L/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/src/.libs 
-L/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/libsupc++/.libs
  -fno-PIE -c   -g -O2 -fno-checking -gtoggle -DIN_GCC-fno-exceptions 
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings 
-Wcast-qual -Wmissing-format-attribute -Wconditionally-supported 
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -fno-PIE -I. -I. 
-I../../src-master/gcc -I../../src-master/gcc/. 
-I../../src-master/gcc/../include  -I../../src-master/gcc/../libcpp/include 
-I../../src-master/gcc/../libcody -I/home/haochenj/src/gcc-regression/bld/./gmp 
-I/home/haochenj/src/gcc-regression/src-master/gmp 
-I/home/haochenj/src/gcc-regression/bld/./mpfr/src 
-I/home/haochenj/src/gcc-regression/src-master/mpfr/src 
-I/home/haochenj/src/gcc-regression/src-master/mpc/src  
-I../../src-master/gcc/../libdecnumber 
-I../../src-master/gcc/../libdecnumber/bid -I../libdecnumber 
-I../../src-master/gcc/../libbacktrace 
-I/home/haochenj/src/gcc-regression/bld/./isl/include 
-I/home/haochenj/src/gcc-regression/src-master/isl/include  -o gnu-property.o 
-MT gnu-property.o -MMD -MP -MF ./.deps/gnu-property.TPo 
../../src-master/gcc/config/i386/gnu-property.cc
/home/haochenj/src/gcc-regression/bld/./prev-gcc/xg++ 
-B/home/haochenj/src/gcc-regression/bld/./prev-gcc/ 
-B/usr/gcc-15.0.0/i686-linux/bin/ -nostdinc++ 
-B/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/src/.libs 
-B/home/haochenj/src/gcc-regression/bld/prev-i686-linux/libstdc++-v3/libsupc++/.libs
  
-I/home/haochenj/src/gcc-regression/bld/prev-i686

master branch: commit r15-1643 failed to bootstrap on Linux/x86_64 (commit r15-1594 builds)!

2024-06-26 Thread haochenj--- via Gcc-regression
make[2]: Entering directory '/export/home/haochenj/src/gcc-regression'
rm -rf bld
mkdir -p bld
cd bld; \
RUNTESTFLAGS="--target_board='unix{-m32,}'" ../src-master/configure \
--with-arch=corei7 --with-cpu=corei7 --enable-clocale=gnu 
--with-system-zlib --enable-shared --enable-cet --with-demangler-in-ld 
--enable-libmpx --prefix=/usr/gcc-15.0.0 --with-fpmath=sse 
checking build system type... x86_64-pc-linux-gnu
grep "Error " makelog.r15-1643.x86_64.corei7 >> 
makelog.r15-1643.x86_64.corei7.mail; \
make[6]: [Makefile:1832: x86_64-pc-linux-gnu/bits/largefile-config.h] Error 1 
(ignored)
make[6]: [Makefile:1831: x86_64-pc-linux-gnu/bits/largefile-config.h] Error 1 
(ignored)
make[6]: [Makefile:1832: x86_64-pc-linux-gnu/bits/largefile-config.h] Error 1 
(ignored)
make[6]: *** [Makefile:2557: i386.o] Error 1
make[5]: *** [Makefile:5108: all-stage2-gcc] Error 2
make[4]: *** [Makefile:30031: stage2-bubble] Error 2
make[3]: *** [Makefile:30275: bootstrap] Error 2
make[2]: *** [Makefile:313: bootstrap] Error 2
/export/home/haochenj/src/gcc-regression/bld/./prev-gcc/xg++ 
-B/export/home/haochenj/src/gcc-regression/bld/./prev-gcc/ 
-B/usr/gcc-15.0.0/x86_64-pc-linux-gnu/bin/ -nostdinc++ 
-B/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
 
-B/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
  
-I/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
  
-I/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
  -I/export/home/haochenj/src/gcc-regression/src-master/libstdc++-v3/libsupc++ 
-L/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
 
-L/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
  -fno-PIE -c  -DIN_GCC_FRONTEND -g -O2 -fno-checking -gtoggle -DIN_GCC
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute 
-Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long 
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  
-DHAVE_CONFIG_H -fno-PIE -I. -Iobjc -I../../src-master/gcc 
-I../../src-master/gcc/objc -I../../src-master/gcc/../include  
-I../../src-master/gcc/../libcpp/include -I../../src-master/gcc/../libcody 
-I/export/home/haochenj/src/gcc-regression/bld/./gmp 
-I/export/home/haochenj/src/gcc-regression/src-master/gmp 
-I/export/home/haochenj/src/gcc-regression/bld/./mpfr/src 
-I/export/home/haochenj/src/gcc-regression/src-master/mpfr/src 
-I/export/home/haochenj/src/gcc-regression/src-master/mpc/src  
-I../../src-master/gcc/../libdecnumber 
-I../../src-master/gcc/../libdecnumber/bid -I../libdecnumber 
-I../../src-master/gcc/../libbacktrace 
-I/export/home/haochenj/src/gcc-regression/bld/./isl/include 
-I/export/home/haochenj/src/gcc-regression/src-master/isl/include  -o 
objc/objc-lang.o -MT objc/objc-lang.o -MMD -MP -MF objc/.deps/objc-lang.TPo 
../../src-master/gcc/objc/objc-lang.cc
/export/home/haochenj/src/gcc-regression/bld/./prev-gcc/xg++ 
-B/export/home/haochenj/src/gcc-regression/bld/./prev-gcc/ 
-B/usr/gcc-15.0.0/x86_64-pc-linux-gnu/bin/ -nostdinc++ 
-B/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
 
-B/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
  
-I/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
  
-I/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
  -I/export/home/haochenj/src/gcc-regression/src-master/libstdc++-v3/libsupc++ 
-L/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
 
-L/export/home/haochenj/src/gcc-regression/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
  -fno-PIE -c  -DIN_GCC_FRONTEND -g -O2 -fno-checking -gtoggle -DIN_GCC
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute 
-Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long 
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  
-DHAVE_CONFIG_H -fno-PIE -I. -Iobjc -I../../src-master/gcc 
-I../../src-master/gcc/objc -I../../src-master/gcc/../include  
-I../../src-master/gcc/../libcpp/include -I../../src-master/gcc/../libcody 
-I/export/home/haochenj/src/gcc-regression/bld/./gmp 
-I/export/home/haochenj/src/gcc-regression/src-master/gmp 
-I/export/home/haochenj/src/gcc-regression/bld/./mpfr/src 
-I/export/home/haochenj/src/gcc-regression/src-master/mpfr/src 
-I/export/home/haochenj/src/gcc-regression/src-master/mpc/src  
-I../../src-master/gcc/../libdecnumber 
-I../../src-master/gcc/../libdecnumber/bid -I../libdecnumber 
-I../../src-master/gcc/../libbacktrace 

Regressions on master at commit r15-1646 vs commit r15-1594 on Linux/i686

2024-06-26 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-1646 vs commit r15-1594 on Linux/i686
New failures:
FAIL: gcc.dg/dfp/bitint-4.c execution test
FAIL: gcc.target/i386/pr63527.c scan-assembler-not movl[ \t]%[^,]+, %ebx
FAIL: gcc.target/i386/pr91384.c scan-assembler-not testl

New passes:


Regressions on master at commit r15-1647 vs commit r15-1594 on Linux/x86_64

2024-06-26 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-1647 vs commit r15-1594 on Linux/x86_64
New failures:
FAIL: gcc.dg/pr10474.c scan-rtl-dump pro_and_epilogue "Performing 
shrink-wrapping"
FAIL: gcc.target/i386/force-indirect-call-2.c scan-assembler-times 
(?:call|jmp)[ \\t]+\\*% 3
FAIL: gcc.target/i386/pr63527.c scan-assembler-not movl[ \t]%[^,]+, %ebx
FAIL: gcc.target/i386/pr91384.c scan-assembler-not testl
FAIL: gcc.target/i386/pr91384.c scan-assembler-not testl
FAIL: gcc.target/i386/stack-check-17.c scan-assembler-not pop

New passes:
FAIL: c-c++-common/analyzer/malloc-sarif-1.c  -std=c++14  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/malloc-sarif-1.c  -std=c++14  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/malloc-sarif-1.c  -std=c++17  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/malloc-sarif-1.c  -std=c++17  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/malloc-sarif-1.c  -std=c++20  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/malloc-sarif-1.c  -std=c++20  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/malloc-sarif-1.c  -std=c++98  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/malloc-sarif-1.c  -std=c++98  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/malloc-sarif-1.c (test .sarif output against SARIF 
schema)
FAIL: c-c++-common/analyzer/malloc-sarif-1.c (test .sarif output against SARIF 
schema)
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-1-sarif.c  -std=c++14  (test 
.sarif output against SARIF schema)
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-1-sarif.c  -std=c++14  (test 
.sarif output against SARIF schema)
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-1-sarif.c  -std=c++17  (test 
.sarif output against SARIF schema)
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-1-sarif.c  -std=c++17  (test 
.sarif output against SARIF schema)
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-1-sarif.c  -std=c++20  (test 
.sarif output against SARIF schema)
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-1-sarif.c  -std=c++20  (test 
.sarif output against SARIF schema)
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-1-sarif.c  -std=c++98  (test 
.sarif output against SARIF schema)
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-1-sarif.c  -std=c++98  (test 
.sarif output against SARIF schema)
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-1-sarif.c (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/out-of-bounds-diagram-1-sarif.c (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-path-role.c  -std=c++14  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-path-role.c  -std=c++14  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-path-role.c  -std=c++17  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-path-role.c  -std=c++17  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-path-role.c  -std=c++20  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-path-role.c  -std=c++20  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-path-role.c  -std=c++98  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-path-role.c  -std=c++98  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-path-role.c (test .sarif output against SARIF 
schema)
FAIL: c-c++-common/analyzer/sarif-path-role.c (test .sarif output against SARIF 
schema)
FAIL: c-c++-common/analyzer/sarif-pr107366.c  -std=c++14  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-pr107366.c  -std=c++14  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-pr107366.c  -std=c++17  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-pr107366.c  -std=c++17  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-pr107366.c  -std=c++20  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-pr107366.c  -std=c++20  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-pr107366.c  -std=c++98  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-pr107366.c  -std=c++98  (test .sarif output 
against SARIF schema)
FAIL: c-c++-common/analyzer/sarif-pr107366.c (test .sarif output against SARIF 
schema)
FAIL: c-c++-common/analyzer/sarif-pr107366.c (test .sarif output against SARIF 
schema)
FAIL: c-c++-common/diagnostic-format-sarif-file-1.c  -std=gnu++14  (test .sarif 
output against SARIF schema)
FAIL: c-c++-common/diagnostic-format-sarif-file-1.c  -std=gnu++14  (test .sarif 
output against SARIF schema)
FAIL: c-c++-common/diagnostic-format-sarif-file-1.c  -std=gnu++17  (test .sarif 
output against SARIF schema)
FAIL: c-c++-common/diagnostic-format-sarif-

Regressions on native/master at commit r15-1646 vs commit r15-1594 on Linux/x86_64

2024-06-26 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-1646 vs commit r15-1594 on Linux/x86_64
New failures:
FAIL: gcc.dg/pr10474.c scan-rtl-dump pro_and_epilogue "Performing 
shrink-wrapping"
FAIL: gcc.target/i386/force-indirect-call-2.c scan-assembler-times 
(?:call|jmp)[ \\t]+\\*% 3
FAIL: gcc.target/i386/pr63527.c scan-assembler-not movl[ \t]%[^,]+, %ebx
FAIL: gcc.target/i386/pr91384.c scan-assembler-not testl
FAIL: gcc.target/i386/pr91384.c scan-assembler-not testl
FAIL: gcc.target/i386/stack-check-17.c scan-assembler-not pop

New passes:
FAIL: libgomp.c/../libgomp.c-c++-common/for-11.c execution test
FAIL: libgomp.c/../libgomp.c-c++-common/for-14.c execution test
FAIL: libgomp.c/../libgomp.c-c++-common/for-3.c execution test
FAIL: libgomp.c/../libgomp.c-c++-common/for-5.c execution test
FAIL: libgomp.c/../libgomp.c-c++-common/for-6.c execution test


[r15-1619 Regression] FAIL: gcc.target/i386/stack-check-17.c scan-assembler-not pop on Linux/x86_64

2024-06-26 Thread haochen.jiang via Gcc-regression
On Linux/x86_64,

3b9b8d6cfdf59337f4b7ce10ce92a98044b2657b is the first bad commit
commit 3b9b8d6cfdf59337f4b7ce10ce92a98044b2657b
Author: Surya Kumari Jangala 
Date:   Tue Jun 25 08:37:49 2024 -0500

ira: Scale save/restore costs of callee save registers with block frequency

caused

FAIL: gcc.dg/pr10474.c scan-rtl-dump pro_and_epilogue "Performing 
shrink-wrapping"
FAIL: gcc.target/i386/force-indirect-call-2.c scan-assembler-times 
(?:call|jmp)[ \\t]+\\*% 3
FAIL: gcc.target/i386/pr63527.c scan-assembler-not movl[ \t]%[^,]+, %ebx
FAIL: gcc.target/i386/pr91384.c scan-assembler-not testl
FAIL: gcc.target/i386/stack-check-17.c scan-assembler-not pop

with GCC configured with

../../gcc/configure 
--prefix=/export/users/haochenj/src/gcc-bisect/master/master/r15-1619/usr 
--enable-clocale=gnu --with-system-zlib --with-demangler-in-ld 
--with-fpmath=sse --enable-languages=c,c++,fortran --enable-cet --without-isl 
--enable-libmpx x86_64-linux --disable-bootstrap

To reproduce:

$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/pr10474.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/pr10474.c 
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/force-indirect-call-2.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/force-indirect-call-2.c 
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/pr63527.c --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/pr63527.c --target_board='unix{-m32\ 
-march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/pr91384.c --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/pr91384.c --target_board='unix{-m32\ 
-march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/pr91384.c --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/pr91384.c --target_board='unix{-m64\ 
-march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/stack-check-17.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/stack-check-17.c 
--target_board='unix{-m64\ -march=cascadelake}'"

(Please do not reply to this email, for question about this report, contact me 
at haochen dot jiang at intel.com.)
(If you met problems with cascadelake related, disabling AVX512F in command 
line might save that.)
(However, please make sure that there is no potential problems with AVX512.)


[Linaro-TCWG-CI] gcc-15-1648-gad20ad7dddcb: FAIL: 1 regressions on arm

2024-06-26 Thread ci_notify--- via Gcc-regression
Dear contributor, our automatic CI has detected problems related to your 
patch(es).  Please find some details below.  If you have any questions, please 
follow up on linaro-toolch...@lists.linaro.org mailing list, Libera's 
#linaro-tcwg channel, or ping your favourite Linaro toolchain developer on the 
usual project channel.

We appreciate that it might be difficult to find the necessary logs or 
reproduce the issue locally. If you can't get what you need from our CI within 
minutes, let us know and we will be happy to help.

We track this report status in https://linaro.atlassian.net/browse/GNU-1272 , 
please let us know if you are looking at the problem and/or when you have a fix.

In gcc_check master-arm after:

  | commit gcc-15-1648-gad20ad7dddcb
  | Author: Andre Vieira 
  | Date:   Wed Jun 26 11:07:01 2024 +0100
  | 
  | arm: make arm_predict_doloop_p reject loops with calls
  | 
  | With the introduction of low overhead loops we defined 
arm_predict_doloop_p,
  | this is meant to be a low-weight check to rule out loops we are not 
considering
  | for doloop optimization and it is used by other passes to prevent 
optimizations
  | that may hurt the doloop optimization later on. The reason these are 
meant to be
  | lightweight is because it's used by pre-RTL optimizations, meaning we 
can't do
  | ... 26 lines of the commit log omitted.

FAIL: 1 regressions

regressions.sum:
=== gcc tests ===

Running gcc:gcc.target/arm/mve/mve.exp ...
FAIL: gcc.target/arm/mve/ivopts-3.c scan-tree-dump ivopts "Predict doloop 
failure due to call in loop."


You can find the failure logs in *.log.1.xz files in
 - 
https://ci.linaro.org/job/tcwg_gcc_check--master-arm-build/2319/artifact/artifacts/00-sumfiles/
The full lists of regressions and progressions as well as configure and make 
commands are in
 - 
https://ci.linaro.org/job/tcwg_gcc_check--master-arm-build/2319/artifact/artifacts/notify/
The list of [ignored] baseline and flaky failures are in
 - 
https://ci.linaro.org/job/tcwg_gcc_check--master-arm-build/2319/artifact/artifacts/sumfiles/xfails.xfail

The configuration of this build is:
CI config tcwg_gcc_check master-arm

-8<--8<--8<--
The information below can be used to reproduce a debug environment:

Current build   : 
https://ci.linaro.org/job/tcwg_gcc_check--master-arm-build/2319/artifact/artifacts
Reference build : 
https://ci.linaro.org/job/tcwg_gcc_check--master-arm-build/2318/artifact/artifacts

Reproduce last good and first bad builds: 
https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sha1/ad20ad7dddcb052429346ae5f94b4a603925084a/tcwg_gcc_check/master-arm/reproduction_instructions.txt

Full commit : 
https://github.com/gcc-mirror/gcc/commit/ad20ad7dddcb052429346ae5f94b4a603925084a

List of configurations that regressed due to this commit :
* tcwg_gcc_check
** master-arm
*** FAIL: 1 regressions
*** 
https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sha1/ad20ad7dddcb052429346ae5f94b4a603925084a/tcwg_gcc_check/master-arm/details.txt
*** 
https://ci.linaro.org/job/tcwg_gcc_check--master-arm-build/2319/artifact/artifacts


Regressions on master at commit r15-1666 vs commit r15-1662 on Linux/x86_64

2024-06-26 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-1666 vs commit r15-1662 on Linux/x86_64
New failures:
FAIL: gcc.dg/lto/save-temps c_lto_save-temps_0.o-c_lto_save-temps_0.o link,  -O 
-flto -save-temps

New passes:


Regressions on master at commit r15-1667 vs commit r15-1666 on Linux/x86_64

2024-06-26 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-1667 vs commit r15-1666 on Linux/x86_64
New failures:

New passes:
FAIL: gcc.dg/lto/save-temps c_lto_save-temps_0.o-c_lto_save-temps_0.o link,  -O 
-flto -save-temps


[Linaro-TCWG-CI] gcc-15-1649-g19f630e6ae8d: FAIL: 2 regressions on aarch64

2024-06-26 Thread ci_notify--- via Gcc-regression
Dear contributor, our automatic CI has detected problems related to your 
patch(es).  Please find some details below.  If you have any questions, please 
follow up on linaro-toolch...@lists.linaro.org mailing list, Libera's 
#linaro-tcwg channel, or ping your favourite Linaro toolchain developer on the 
usual project channel.

We appreciate that it might be difficult to find the necessary logs or 
reproduce the issue locally. If you can't get what you need from our CI within 
minutes, let us know and we will be happy to help.

We track this report status in https://linaro.atlassian.net/browse/GNU-1273 , 
please let us know if you are looking at the problem and/or when you have a fix.

In gcc_check master-aarch64 after:

  | commit gcc-15-1649-g19f630e6ae8d
  | Author: Jørgen Kvalsvik 
  | Date:   Mon Jun 24 21:55:46 2024 +0200
  | 
  | Use auto_vec for memory release on return
  | 
  | Using auto_vec ensure this memory is cleaned up on function exit.
  | 
  | gcc/ChangeLog:
  | 
  | * tree-profile.cc (find_conditions): Use auto_vec.

FAIL: 2 regressions

regressions.sum:
=== gcc tests ===

Running gcc:gcc.misc-tests/gcov.exp ...
FAIL: gcc.misc-tests/gcov-23.c (internal compiler error: in operator[], at 
vec.h:910)
FAIL: gcc.misc-tests/gcov-23.c (test for excess errors)


You can find the failure logs in *.log.1.xz files in
 - 
https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2241/artifact/artifacts/00-sumfiles/
The full lists of regressions and progressions as well as configure and make 
commands are in
 - 
https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2241/artifact/artifacts/notify/
The list of [ignored] baseline and flaky failures are in
 - 
https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2241/artifact/artifacts/sumfiles/xfails.xfail

The configuration of this build is:
CI config tcwg_gcc_check master-aarch64

-8<--8<--8<--
The information below can be used to reproduce a debug environment:

Current build   : 
https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2241/artifact/artifacts
Reference build : 
https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2240/artifact/artifacts

Reproduce last good and first bad builds: 
https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sha1/19f630e6ae8da7159a8c82f337b699245f66e6a6/tcwg_gcc_check/master-aarch64/reproduction_instructions.txt

Full commit : 
https://github.com/gcc-mirror/gcc/commit/19f630e6ae8da7159a8c82f337b699245f66e6a6

List of configurations that regressed due to this commit :
* tcwg_gcc_check
** master-aarch64
*** FAIL: 2 regressions
*** 
https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sha1/19f630e6ae8da7159a8c82f337b699245f66e6a6/tcwg_gcc_check/master-aarch64/details.txt
*** 
https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2241/artifact/artifacts


Re: [PATCH 1/3] Release structures on function return

2024-06-26 Thread Jørgen Kvalsvik

I think we need to revert this.

I got this email from linaro/gcc-regressions:

[Linaro-TCWG-CI] gcc-15-1649-g19f630e6ae8d: FAIL: 2 regressions on aarch64

regressions.sum:
=== gcc tests ===

Running gcc:gcc.misc-tests/gcov.exp ...
FAIL: gcc.misc-tests/gcov-23.c (internal compiler error: in operator[], 
at vec.h:910)

FAIL: gcc.misc-tests/gcov-23.c (test for excess errors)

This did not reproduce on my machine, but I took a quick look at the 
hash-map implementation. hash_map.put calls 
hash_table.find_slot_with_hash, which calls hash_table.expand, which 
does move+destroy. auto_vec is not really move-aware which leads to a 
double-free.


The fix is either to make auto_vec move-aware (and more like C++'s 
std::vector) or revert this patch and apply the original version with an 
explicit release.


OK?

Thanks,
Jørgen

On 6/25/24 12:23, Jan Hubicka wrote:

The value vec objects are destroyed on exit, but release still needs to
be called explicitly.

gcc/ChangeLog:

* tree-profile.cc (find_conditions): Release vectors before
  return.

I wonder if you turn
 hash_map, vec> exprs;
to
 hash_map, auto_vec> exprs;
Won't hash_map destructor take care of this by itself?

Honza

---
  gcc/tree-profile.cc | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/gcc/tree-profile.cc b/gcc/tree-profile.cc
index e4bb689cef5..18f48e8d04e 100644
--- a/gcc/tree-profile.cc
+++ b/gcc/tree-profile.cc
@@ -919,6 +919,9 @@ find_conditions (struct function *fn)
  if (!have_post_dom)
free_dominance_info (fn, CDI_POST_DOMINATORS);
  
+for (auto expr : exprs)

+  expr.second.release ();
+
  cov->m_masks.safe_grow_cleared (2 * cov->m_index.last ());
  const size_t length = cov_length (cov);
  for (size_t i = 0; i != length; i++)
--
2.39.2





Re: [Linaro-TCWG-CI] gcc-15-1619-g3b9b8d6cfdf5: FAIL: 4 regressions on aarch64

2024-06-26 Thread Surya Kumari Jangala via Gcc-regression
Hi,
I am looking into these regressions.

Regards,
Surya

On 26/06/24 7:51 am, ci_not...@linaro.org wrote:
> Dear contributor, our automatic CI has detected problems related to your 
> patch(es).  Please find some details below.  If you have any questions, 
> please follow up on linaro-toolch...@lists.linaro.org mailing list, Libera's 
> #linaro-tcwg channel, or ping your favourite Linaro toolchain developer on 
> the usual project channel.
> 
> We appreciate that it might be difficult to find the necessary logs or 
> reproduce the issue locally. If you can't get what you need from our CI 
> within minutes, let us know and we will be happy to help.
> 
> We track this report status in https://linaro.atlassian.net/browse/GNU-1270 , 
> please let us know if you are looking at the problem and/or when you have a 
> fix.
> 
> In gcc_check master-aarch64 after:
> 
>   | commit gcc-15-1619-g3b9b8d6cfdf5
>   | Author: Surya Kumari Jangala 
>   | Date:   Tue Jun 25 08:37:49 2024 -0500
>   | 
>   | ira: Scale save/restore costs of callee save registers with block 
> frequency
>   | 
>   | In assign_hard_reg(), when computing the costs of the hard registers, 
> the
>   | cost of saving/restoring a callee-save hard register in prolog/epilog 
> is
>   | taken into consideration. However, this cost is not scaled with the 
> entry
>   | block frequency. Without scaling, the cost of saving/restoring is 
> quite
>   | small and this can result in a callee-save register being chosen by
>   | ... 14 lines of the commit log omitted.
> 
> FAIL: 4 regressions
> 
> regressions.sum:
>   === g++ tests ===
> 
> Running g++:g++.target/aarch64/sve/acle/aarch64-sve-acle.exp ...
> FAIL: gcc.target/aarch64/sve/acle/general/cpy_1.c -march=armv8.2-a+sve 
> -moverride=tune=none  check-function-bodies dup_x0_m
>   === gcc tests ===
> 
> Running gcc:gcc.dg/dg.exp ...
> FAIL: gcc.dg/pr10474.c scan-rtl-dump pro_and_epilogue "Performing 
> shrink-wrapping"
> 
> Running gcc:gcc.target/aarch64/sve/acle/aarch64-sve-acle.exp ...
> ... and 5 more entries
> 
> You can find the failure logs in *.log.1.xz files in
>  - 
> https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2235/artifact/artifacts/00-sumfiles/
> The full lists of regressions and progressions as well as configure and make 
> commands are in
>  - 
> https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2235/artifact/artifacts/notify/
> The list of [ignored] baseline and flaky failures are in
>  - 
> https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2235/artifact/artifacts/sumfiles/xfails.xfail
> 
> The configuration of this build is:
> CI config tcwg_gcc_check master-aarch64
> 
> -8<--8<--8<--
> The information below can be used to reproduce a debug environment:
> 
> Current build   : 
> https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2235/artifact/artifacts
> Reference build : 
> https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2234/artifact/artifacts
> 
> Reproduce last good and first bad builds: 
> https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sha1/3b9b8d6cfdf59337f4b7ce10ce92a98044b2657b/tcwg_gcc_check/master-aarch64/reproduction_instructions.txt
> 
> Full commit : 
> https://github.com/gcc-mirror/gcc/commit/3b9b8d6cfdf59337f4b7ce10ce92a98044b2657b
> 
> List of configurations that regressed due to this commit :
> * tcwg_gcc_check
> ** master-aarch64
> *** FAIL: 4 regressions
> *** 
> https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sha1/3b9b8d6cfdf59337f4b7ce10ce92a98044b2657b/tcwg_gcc_check/master-aarch64/details.txt
> *** 
> https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/2235/artifact/artifacts