public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [r12-3495 Regression] FAIL: 29_atomics/atomic_flag/test_and_set/explicit-hle.cc (test for excess errors) on Linux/x86_64
@ 2021-09-13 22:08 sunil.k.pandey
  2021-09-14  8:20 ` Jakub Jelinek
  0 siblings, 1 reply; 3+ messages in thread
From: sunil.k.pandey @ 2021-09-13 22:08 UTC (permalink / raw)
  To: gcc-patches, gcc-regression, jason

On Linux/x86_64,

76b75018b3d053a890ebe155e47814de14b3c9fb is the first bad commit
commit 76b75018b3d053a890ebe155e47814de14b3c9fb
Author: Jason Merrill <jason@redhat.com>
Date:   Thu Jul 15 15:30:17 2021 -0400

    c++: implement C++17 hardware interference size

caused

FAIL: 29_atomics/atomic_flag/test_and_set/explicit-hle.cc (test for excess errors)
FAIL: g++.dg/ext/sync-4.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/ext/sync-4.C  -std=gnu++17 (test for excess errors)
FAIL: g++.dg/ext/sync-4.C  -std=gnu++2a (test for excess errors)
FAIL: g++.dg/ext/sync-4.C  -std=gnu++98 (test for excess errors)
FAIL: g++.dg/opt/inline9.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/opt/inline9.C  -std=gnu++17 (test for excess errors)
FAIL: g++.dg/opt/inline9.C  -std=gnu++2a (test for excess errors)
FAIL: g++.dg/opt/inline9.C  -std=gnu++98 (test for excess errors)
FAIL: g++.dg/opt/longbranch2.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/opt/longbranch2.C  -std=gnu++17 (test for excess errors)
FAIL: g++.dg/opt/longbranch2.C  -std=gnu++2a (test for excess errors)
FAIL: g++.dg/opt/longbranch2.C  -std=gnu++98 (test for excess errors)
FAIL: g++.dg/opt/pr52727.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/opt/pr52727.C  -std=gnu++17 (test for excess errors)
FAIL: g++.dg/opt/pr52727.C  -std=gnu++2a (test for excess errors)
FAIL: g++.dg/opt/pr52727.C  -std=gnu++98 (test for excess errors)
FAIL: g++.dg/opt/pr58864.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/opt/pr58864.C  -std=gnu++17 (test for excess errors)
FAIL: g++.dg/opt/pr58864.C  -std=gnu++2a (test for excess errors)
FAIL: g++.dg/opt/pr58864.C  -std=gnu++98 (test for excess errors)
FAIL: g++.dg/opt/pr69570.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/opt/pr69570.C  -std=gnu++17 (test for excess errors)
FAIL: g++.dg/opt/pr69570.C  -std=gnu++2a (test for excess errors)
FAIL: g++.dg/opt/pr69570.C  -std=gnu++98 (test for excess errors)
FAIL: g++.dg/opt/reg-stack4.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/opt/reg-stack4.C  -std=gnu++17 (test for excess errors)
FAIL: g++.dg/opt/reg-stack4.C  -std=gnu++2a (test for excess errors)
FAIL: g++.dg/opt/reg-stack4.C  -std=gnu++98 (test for excess errors)
FAIL: g++.dg/other/pr39496.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/other/pr39496.C  -std=gnu++17 (test for excess errors)
FAIL: g++.dg/other/pr39496.C  -std=gnu++2a (test for excess errors)
FAIL: g++.dg/other/pr39496.C  -std=gnu++98 (test for excess errors)
FAIL: libitm.c++/dropref.C (test for excess errors)
FAIL: libitm.c++/eh-1.C (test for excess errors)
FAIL: libitm.c++/eh-2.C (test for excess errors)
FAIL: libitm.c++/eh-3.C (test for excess errors)
FAIL: libitm.c++/eh-4.C (test for excess errors)
FAIL: libitm.c++/eh-5.C (test for excess errors)
FAIL: libitm.c++/libstdc++-pr91488.C (test for excess errors)
FAIL: libitm.c++/libstdc++-safeexc.C (test for excess errors)
FAIL: libitm.c++/newdelete.C (test for excess errors)
FAIL: libitm.c++/throwdown.C (test for excess errors)

with GCC configured with

../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r12-3495/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}/x86_64-linux/libstdc++-v3/testsuite && make check RUNTESTFLAGS="conformance.exp=29_atomics/atomic_flag/test_and_set/explicit-hle.cc --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check RUNTESTFLAGS="conformance.exp=29_atomics/atomic_flag/test_and_set/explicit-hle.cc --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/ext/sync-4.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/ext/sync-4.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/inline9.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/inline9.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/longbranch2.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/longbranch2.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/pr52727.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/pr52727.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/pr58864.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/pr58864.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/pr69570.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/pr69570.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/reg-stack4.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/opt/reg-stack4.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/other/pr39496.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/other/pr39496.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/dropref.C --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/dropref.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/eh-1.C --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/eh-1.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/eh-2.C --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/eh-2.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/eh-3.C --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/eh-3.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/eh-4.C --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/eh-4.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/eh-5.C --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/eh-5.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/libstdc++-pr91488.C --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/libstdc++-pr91488.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/libstdc++-safeexc.C --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/libstdc++-safeexc.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/newdelete.C --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/newdelete.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/throwdown.C --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c++.exp=libitm.c++/throwdown.C --target_board='unix{-m32\ -march=cascadelake}'"

(Please do not reply to this email, for question about this report, contact me at skpgkp2 at gmail dot com)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [r12-3495 Regression] FAIL: 29_atomics/atomic_flag/test_and_set/explicit-hle.cc (test for excess errors) on Linux/x86_64
  2021-09-13 22:08 [r12-3495 Regression] FAIL: 29_atomics/atomic_flag/test_and_set/explicit-hle.cc (test for excess errors) on Linux/x86_64 sunil.k.pandey
@ 2021-09-14  8:20 ` Jakub Jelinek
  2021-09-14  8:51   ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Jelinek @ 2021-09-14  8:20 UTC (permalink / raw)
  To: sunil.k.pandey, Jason Merrill, Uros Bizjak, Jan Hubicka; +Cc: gcc-patches

On Mon, Sep 13, 2021 at 03:08:01PM -0700, sunil.k.pandey via Gcc-patches wrote:
> FAIL: 29_atomics/atomic_flag/test_and_set/explicit-hle.cc (test for excess errors)

Apparently all C++ compilations with
-m32 -march={i386,i486,i586,pentium,pentiumpro,lakemont,pentium4}
FAIL with:
<built-in>: warning: ‘--param constructive-interference-size=64’ is greater than ‘--param l1-cache-line-size=0’ [-Winterference-size]
So, either the C++ FE should not warn if param_l1_cache_line_size is 0
(treat it as a don't know value), or the backend shouldn't overwrite
the default generic param value of 32 with 0 when ix86_tune_cost->prefetch_block
is 0.

> FAIL: g++.dg/ext/sync-4.C  -std=gnu++14 (test for excess errors)
> FAIL: g++.dg/ext/sync-4.C  -std=gnu++17 (test for excess errors)
> FAIL: g++.dg/ext/sync-4.C  -std=gnu++2a (test for excess errors)
> FAIL: g++.dg/ext/sync-4.C  -std=gnu++98 (test for excess errors)
...

	Jakub


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [r12-3495 Regression] FAIL: 29_atomics/atomic_flag/test_and_set/explicit-hle.cc (test for excess errors) on Linux/x86_64
  2021-09-14  8:20 ` Jakub Jelinek
@ 2021-09-14  8:51   ` Andreas Schwab
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2021-09-14  8:51 UTC (permalink / raw)
  To: Jakub Jelinek via Gcc-patches
  Cc: sunil.k.pandey, Jason Merrill, Uros Bizjak, Jan Hubicka, Jakub Jelinek

On Sep 14 2021, Jakub Jelinek via Gcc-patches wrote:

> On Mon, Sep 13, 2021 at 03:08:01PM -0700, sunil.k.pandey via Gcc-patches wrote:
>> FAIL: 29_atomics/atomic_flag/test_and_set/explicit-hle.cc (test for excess errors)
>
> Apparently all C++ compilations with
> -m32 -march={i386,i486,i586,pentium,pentiumpro,lakemont,pentium4}
> FAIL with:
> <built-in>: warning: ‘--param constructive-interference-size=64’ is greater than ‘--param l1-cache-line-size=0’ [-Winterference-size]
> So, either the C++ FE should not warn if param_l1_cache_line_size is 0
> (treat it as a don't know value), or the backend shouldn't overwrite
> the default generic param value of 32 with 0 when ix86_tune_cost->prefetch_block
> is 0.

I'm also seeing this error during bootstrap on aarch64:

<built-in>: error: '--param constructive-interference-size=64' is greater than '--param l1-cache-line-size=32' [-Werror=interference-size]

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-14  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13 22:08 [r12-3495 Regression] FAIL: 29_atomics/atomic_flag/test_and_set/explicit-hle.cc (test for excess errors) on Linux/x86_64 sunil.k.pandey
2021-09-14  8:20 ` Jakub Jelinek
2021-09-14  8:51   ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).