Regressions on master at commit r15-3038 vs commit r15-3037 on Linux/x86_64

2024-08-20 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-3038 vs commit r15-3037 on Linux/x86_64
New failures:
FAIL: c-c++-common/musttail12.c  -std=c++11 (test for excess errors)
FAIL: c-c++-common/musttail12.c  -std=c++17 (test for excess errors)
FAIL: c-c++-common/musttail12.c  -std=c++26 (test for excess errors)

New passes:


Regressions on master at commit r15-3038 vs commit r15-3037 on Linux/i686

2024-08-20 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-3038 vs commit r15-3037 on Linux/i686
New failures:
FAIL: c-c++-common/musttail12.c  -std=c++11 (test for excess errors)
FAIL: c-c++-common/musttail12.c  -std=c++17 (test for excess errors)
FAIL: c-c++-common/musttail12.c  -std=c++26 (test for excess errors)

New passes:


[Linaro-TCWG-CI] gcc-15-2986-gcd2f394418b: Failure on aarch64

2024-08-20 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-1316 , 
please let us know if you are looking at the problem and/or when you have a fix.

In  master-aarch64 after:

  | commit gcc-15-2986-gcd2f394418b
  | Author: Andrew Pinski 
  | Date:   Sat Apr 20 00:13:12 2024 -0700
  | 
  | PHIOPT: move factor_out_conditional_operation over to use 
gimple_match_op
  | 
  | To start working on more with expressions with more than one operand, 
converting
  | over to use gimple_match_op is needed.
  | The added side-effect here is factor_out_conditional_operation can now 
support
  | builtins/internal calls that has one operand without any extra code 
added.
  | 
  | ... 20 lines of the commit log omitted.

Results changed to
# reset_artifacts:
-10
# true:
0
# build_abe binutils:
1
# build_abe gcc:
2
# build_abe linux:
4
# build_abe glibc:
# FAILED
# build_abe gdb:
# First few build errors in logs:
# 00:02:13 ../sysdeps/ieee754/dbl-64/e_hypot.c:146:1: internal compiler error: 
in factor_out_conditional_operation, at tree-ssa-phiopt.cc:407
# 00:02:13 make[2]: *** 
[/home/tcwg-buildslave/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/glibc-glibc.git~master/sysd-rules:553:
 
/home/tcwg-buildslave/workspace/tcwg_gnu_2/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/glibc-glibc.git~master/math/e_hypot.o]
 Error 1
# 00:02:13 make[1]: *** [Makefile:484: math/others] Error 2
# 00:02:13 make: *** [Makefile:9: all] Error 2

From
# reset_artifacts:
-10
# true:
0
# build_abe binutils:
1
# build_abe gcc:
2
# build_abe linux:
4
# build_abe glibc:
5
# build_abe gdb:
6

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

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

Current build   : 
https://ci.linaro.org/job/tcwg_gnu_native_build--master-aarch64-build/747/artifact/artifacts
Reference build : 
https://ci.linaro.org/job/tcwg_gnu_native_build--master-aarch64-build/746/artifact/artifacts

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

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

List of configurations that regressed due to this commit :
* tcwg_gnu_native_build
** master-aarch64
*** Failure
*** 
https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sha1/cd2f394418be0cc15d05c97ed72567f2f5e15172/tcwg_gnu_native_build/master-aarch64/details.txt
*** 
https://ci.linaro.org/job/tcwg_gnu_native_build--master-aarch64-build/747/artifact/artifacts


RE: [Linaro-TCWG-CI] gcc-15-2986-gcd2f394418b: Failure on aarch64

2024-08-20 Thread Andrew Pinski (QUIC) via Gcc-regression
This is already recorded as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116409 
. I am about to submit a v2 of the patch to fix this too.

> -Original Message-
> From: ci_not...@linaro.org 
> Sent: Tuesday, August 20, 2024 8:34 AM
> To: Andrew Pinski (QUIC) 
> Cc: gcc-regression@gcc.gnu.org
> Subject: [Linaro-TCWG-CI] gcc-15-2986-gcd2f394418b: Failure
> on aarch64
> 
> 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-1316 , please let us
> know if you are looking at the problem and/or when you have
> a fix.
> 
> In  master-aarch64 after:
> 
>   | commit gcc-15-2986-gcd2f394418b
>   | Author: Andrew Pinski 
>   | Date:   Sat Apr 20 00:13:12 2024 -0700
>   |
>   | PHIOPT: move factor_out_conditional_operation over to
> use gimple_match_op
>   |
>   | To start working on more with expressions with more
> than one operand, converting
>   | over to use gimple_match_op is needed.
>   | The added side-effect here is
> factor_out_conditional_operation can now support
>   | builtins/internal calls that has one operand without any
> extra code added.
>   |
>   | ... 20 lines of the commit log omitted.
> 
> Results changed to
> # reset_artifacts:
> -10
> # true:
> 0
> # build_abe binutils:
> 1
> # build_abe gcc:
> 2
> # build_abe linux:
> 4
> # build_abe glibc:
> # FAILED
> # build_abe gdb:
> # First few build errors in logs:
> # 00:02:13 ../sysdeps/ieee754/dbl-64/e_hypot.c:146:1:
> internal compiler error: in factor_out_conditional_operation,
> at tree-ssa-phiopt.cc:407 # 00:02:13 make[2]: ***
> [/home/tcwg-
> buildslave/workspace/tcwg_gnu_2/abe/builds/aarch64-
> unknown-linux-gnu/aarch64-unknown-linux-gnu/glibc-
> glibc.git~master/sysd-rules:553: /home/tcwg-
> buildslave/workspace/tcwg_gnu_2/abe/builds/aarch64-
> unknown-linux-gnu/aarch64-unknown-linux-gnu/glibc-
> glibc.git~master/math/e_hypot.o] Error 1 # 00:02:13 make[1]:
> *** [Makefile:484: math/others] Error 2 # 00:02:13 make: ***
> [Makefile:9: all] Error 2
> 
> From
> # reset_artifacts:
> -10
> # true:
> 0
> # build_abe binutils:
> 1
> # build_abe gcc:
> 2
> # build_abe linux:
> 4
> # build_abe glibc:
> 5
> # build_abe gdb:
> 6
> 
> The configuration of this build is:
> CI config tcwg_gnu_native_build master-aarch64
> 
> -8<--8<--8<---
> ---
> The information below can be used to reproduce a debug
> environment:
> 
> Current build   :
> https://ci.linaro.org/job/tcwg_gnu_native_build--master-
> aarch64-build/747/artifact/artifacts
> Reference build :
> https://ci.linaro.org/job/tcwg_gnu_native_build--master-
> aarch64-build/746/artifact/artifacts
> 
> Reproduce last good and first bad builds: https://git-
> us.linaro.org/toolchain/ci/interesting-
> commits.git/plain/gcc/sha1/cd2f394418be0cc15d05c97ed725
> 67f2f5e15172/tcwg_gnu_native_build/master-
> aarch64/reproduction_instructions.txt
> 
> Full commit : https://github.com/gcc-
> mirror/gcc/commit/cd2f394418be0cc15d05c97ed72567f2f5e1
> 5172
> 
> List of configurations that regressed due to this commit :
> * tcwg_gnu_native_build
> ** master-aarch64
> *** Failure
> *** https://git-us.linaro.org/toolchain/ci/interesting-
> commits.git/plain/gcc/sha1/cd2f394418be0cc15d05c97ed725
> 67f2f5e15172/tcwg_gnu_native_build/master-
> aarch64/details.txt
> *** https://ci.linaro.org/job/tcwg_gnu_native_build--master-
> aarch64-build/747/artifact/artifacts


[r15-2991 Regression] FAIL: gcc.target/i386/avx10_2-rounding-1.c (test for excess errors) on Linux/x86_64

2024-08-20 Thread haochen.jiang via Gcc-regression
On Linux/x86_64,

e22e3af1954469c40b139b7cfa8e7708592f4bfd is the first bad commit
commit e22e3af1954469c40b139b7cfa8e7708592f4bfd
Author: Hu, Lin1 
Date:   Mon Aug 19 10:08:51 2024 +0800

AVX10.2 ymm rounding: Support vadd{s,d,h} and vcmp{s,d,h} intrins

caused

FAIL: gcc.target/i386/avx10_2-rounding-1.c scan-assembler-times vcmppd[ 
\\t]+[^{\n]*{sae}[^\n]*%ymm[0-9]+[^\n^k]*%k[0-7](?:\n|[ \\t]+#) 1
FAIL: gcc.target/i386/avx10_2-rounding-1.c scan-assembler-times vcmppd[ 
\\t]+[^{\n]*{sae}[^\n]*%ymm[0-9]+[^\n^k]*%k[0-7]{%k[1-7]}(?:\n|[ \\t]+#) 1
FAIL: gcc.target/i386/avx10_2-rounding-1.c scan-assembler-times vcmpph[ 
\\t]+\\$3[^\n\r]*{sae}[^\n\r]*%ymm[0-9]+[^\n\r]*%ymm[0-9]+[^\n\r]*%k[0-9][^\n\r]*(?:\n|[
 \\t]+#) 1
FAIL: gcc.target/i386/avx10_2-rounding-1.c scan-assembler-times vcmpph[ 
\\t]+[^{\n]*\\$4[^\n\r]*%ymm[0-9]+[^\n\r]*%ymm[0-9]+[^\n\r]*%k[0-9]{%k[0-9]}[^\n\r]*(?:\n|[
 \\t]+#) 1
FAIL: gcc.target/i386/avx10_2-rounding-1.c scan-assembler-times vcmpps[ 
\\t]+[^{\n]*{sae}[^\n]*%ymm[0-9]+[^\n^k]*%k[0-7](?:\n|[ \\t]+#) 1
FAIL: gcc.target/i386/avx10_2-rounding-1.c scan-assembler-times vcmpps[ 
\\t]+[^{\n]*{sae}[^\n]*%ymm[0-9]+[^\n^k]*%k[0-7]{%k[1-7]}(?:\n|[ \\t]+#) 1
FAIL: gcc.target/i386/avx10_2-rounding-1.c (test for excess errors)

with GCC configured with

../../gcc/configure 
--prefix=/export/users/haochenj/src/gcc-bisect/master/master/r15-2991/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="i386.exp=gcc.target/i386/avx10_2-rounding-1.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/avx10_2-rounding-1.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.)


[r15-3000 Regression] FAIL: gcc.target/i386/avx10_2-rounding-3.c (test for excess errors) on Linux/x86_64

2024-08-20 Thread haochen.jiang via Gcc-regression
On Linux/x86_64,

3d1b5530ea1d23e26dc5ab70aa4a2e7b9dc19b50 is the first bad commit
commit 3d1b5530ea1d23e26dc5ab70aa4a2e7b9dc19b50
Author: Hu, Lin1 
Date:   Mon Aug 19 10:09:03 2024 +0800

AVX10.2 ymm rounding: Support vcvt{,u}w2ph and vdivp{s,d,h} intrins

caused

FAIL: gcc.target/i386/avx10_2-rounding-3.c (test for excess errors)

with GCC configured with

../../gcc/configure 
--prefix=/export/users/haochenj/src/gcc-bisect/master/master/r15-3000/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="i386.exp=gcc.target/i386/avx10_2-rounding-3.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/avx10_2-rounding-3.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.)


[r15-2997 Regression] FAIL: gcc.target/i386/avx10_2-rounding-2.c (test for excess errors) on Linux/x86_64

2024-08-20 Thread haochen.jiang via Gcc-regression
On Linux/x86_64,

6e231f8504874828b23bbe89f3ef4086dcc15a44 is the first bad commit
commit 6e231f8504874828b23bbe89f3ef4086dcc15a44
Author: Hu, Lin1 
Date:   Mon Aug 19 10:08:59 2024 +0800

AVX10.2 ymm rounding: Support vcvtqq2p{s,d,h} and vcvttpd2{,u}{dq,qq} 
intrins

caused

FAIL: gcc.target/i386/avx10_2-rounding-2.c (test for excess errors)

with GCC configured with

../../gcc/configure 
--prefix=/export/users/haochenj/src/gcc-bisect/master/master/r15-2997/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="i386.exp=gcc.target/i386/avx10_2-rounding-2.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="i386.exp=gcc.target/i386/avx10_2-rounding-2.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.)


Regressions on native/master at commit r15-3041 vs commit r15-3037 on Linux/x86_64

2024-08-20 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-3041 vs commit r15-3037 on Linux/x86_64
New failures:
FAIL: c-c++-common/musttail12.c  -std=c++11 (test for excess errors)
FAIL: c-c++-common/musttail12.c  -std=c++17 (test for excess errors)
FAIL: c-c++-common/musttail12.c  -std=c++26 (test for excess errors)

New passes:


Regressions on master at commit r15-3052 vs commit r15-3051 on Linux/x86_64

2024-08-20 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-3052 vs commit r15-3051 on Linux/x86_64
New failures:
FAIL: gfortran.dg/sizeof_6.f90   -O1  execution test

New passes:


Regressions on native/master at commit r15-3052 vs commit r15-3046 on Linux/x86_64

2024-08-20 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-3052 vs commit r15-3046 on Linux/x86_64
New failures:
FAIL: gfortran.dg/sizeof_6.f90   -O1  execution test

New passes:


RE: [r15-3000 Regression] FAIL: gcc.target/i386/avx10_2-rounding-3.c (test for excess errors) on Linux/x86_64

2024-08-20 Thread Jiang, Haochen via Gcc-regression
The three avx10.2 related test regression are all related to the usage of
-mavx10.2 -march=cascadelake, which is unavoidable warning.

I am considering to change -march=cascadelake to a arch with AVX10 in
the future to avoid these false alarms.

Thx,
Haochen

> -Original Message-
> From: haochen.jiang 
> Sent: Tuesday, August 20, 2024 11:59 PM
> To: Hu, Lin1 ; gcc-regression@gcc.gnu.org; gcc-
> patc...@gcc.gnu.org; Jiang, Haochen 
> Subject: [r15-3000 Regression] FAIL: gcc.target/i386/avx10_2-rounding-3.c
> (test for excess errors) on Linux/x86_64
> 
> On Linux/x86_64,
> 
> 3d1b5530ea1d23e26dc5ab70aa4a2e7b9dc19b50 is the first bad commit
> commit 3d1b5530ea1d23e26dc5ab70aa4a2e7b9dc19b50
> Author: Hu, Lin1 
> Date:   Mon Aug 19 10:09:03 2024 +0800
> 
> AVX10.2 ymm rounding: Support vcvt{,u}w2ph and vdivp{s,d,h} intrins
> 
> caused
> 
> FAIL: gcc.target/i386/avx10_2-rounding-3.c (test for excess errors)
> 
> with GCC configured with
> 
> ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-
> bisect/master/master/r15-3000/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="i386.exp=gcc.target/i386/avx10_2-rounding-3.c --
> target_board='unix{-m32\ -march=cascadelake}'"
> $ cd {build_dir}/gcc && make check
> RUNTESTFLAGS="i386.exp=gcc.target/i386/avx10_2-rounding-3.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.)


Regressions on master at commit r15-3057 vs commit r15-3052 on Linux/x86_64

2024-08-20 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-3057 vs commit r15-3052 on Linux/x86_64
New failures:

New passes:
FAIL: gfortran.dg/sizeof_6.f90   -O1  execution test


Regressions on native/master at commit r15-3057 vs commit r15-3052 on Linux/x86_64

2024-08-20 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r15-3057 vs commit r15-3052 on Linux/x86_64
New failures:

New passes:
FAIL: gfortran.dg/sizeof_6.f90   -O1  execution test