public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [r14-1452 Regression] FAIL: g++.dg/pr104547.C  -std=gnu++17  scan-tree-dump-not vrp2 "_M_default_append" on Linux/x86_64
@ 2023-06-01  4:18 haochen.jiang
  2023-06-01  9:06 ` Christophe Lyon
  0 siblings, 1 reply; 3+ messages in thread
From: haochen.jiang @ 2023-06-01  4:18 UTC (permalink / raw)
  To: jwakely, gcc-regression, gcc-patches, haochen.jiang

On Linux/x86_64,

fb409a15d9babc78fe1d9957afcbaf1102cce58f is the first bad commit
commit fb409a15d9babc78fe1d9957afcbaf1102cce58f
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu May 25 09:57:46 2023 +0100

    libstdc++: Express std::vector's size() <= capacity() invariant in code

caused

FAIL: g++.dg/pr104547.C  -std=gnu++14  scan-tree-dump-not vrp2 "_M_default_append"
FAIL: g++.dg/pr104547.C  -std=gnu++17  scan-tree-dump-not vrp2 "_M_default_append"

with GCC configured with

../../gcc/configure --prefix=/export/users/haochenj/src/gcc-bisect/master/master/r14-1452/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=g++.dg/pr104547.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/pr104547.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/pr104547.C --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/pr104547.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)

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

* Re: [r14-1452 Regression] FAIL: g++.dg/pr104547.C -std=gnu++17 scan-tree-dump-not vrp2 "_M_default_append" on Linux/x86_64
  2023-06-01  4:18 [r14-1452 Regression] FAIL: g++.dg/pr104547.C -std=gnu++17 scan-tree-dump-not vrp2 "_M_default_append" on Linux/x86_64 haochen.jiang
@ 2023-06-01  9:06 ` Christophe Lyon
  2023-06-01  9:07   ` Jonathan Wakely
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe Lyon @ 2023-06-01  9:06 UTC (permalink / raw)
  To: jwakely; +Cc: gcc-regression, gcc-patches, haochen.jiang

[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]

Hi!

We have noticed the same problem on aarch64, if that's easier to reproduce.

Thanks,
Christophe


On Thu, 1 Jun 2023 at 06:20, haochen.jiang via Gcc-regression <
gcc-regression@gcc.gnu.org> wrote:

> On Linux/x86_64,
>
> fb409a15d9babc78fe1d9957afcbaf1102cce58f is the first bad commit
> commit fb409a15d9babc78fe1d9957afcbaf1102cce58f
> Author: Jonathan Wakely <jwakely@redhat.com>
> Date:   Thu May 25 09:57:46 2023 +0100
>
>     libstdc++: Express std::vector's size() <= capacity() invariant in code
>
> caused
>
> FAIL: g++.dg/pr104547.C  -std=gnu++14  scan-tree-dump-not vrp2
> "_M_default_append"
> FAIL: g++.dg/pr104547.C  -std=gnu++17  scan-tree-dump-not vrp2
> "_M_default_append"
>
> with GCC configured with
>
> ../../gcc/configure
> --prefix=/export/users/haochenj/src/gcc-bisect/master/master/r14-1452/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=g++.dg/pr104547.C
> --target_board='unix{-m32}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/pr104547.C
> --target_board='unix{-m32\ -march=cascadelake}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/pr104547.C
> --target_board='unix{-m64}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/pr104547.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)
>

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

* Re: [r14-1452 Regression] FAIL: g++.dg/pr104547.C -std=gnu++17 scan-tree-dump-not vrp2 "_M_default_append" on Linux/x86_64
  2023-06-01  9:06 ` Christophe Lyon
@ 2023-06-01  9:07   ` Jonathan Wakely
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Wakely @ 2023-06-01  9:07 UTC (permalink / raw)
  To: Christophe Lyon; +Cc: gcc-regression, gcc-patches, haochen.jiang

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

On Thu, 1 Jun 2023 at 10:06, Christophe Lyon wrote:

> Hi!
>
> We have noticed the same problem on aarch64, if that's easier to reproduce.
>


I am already testing a fix.

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

end of thread, other threads:[~2023-06-01  9:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-01  4:18 [r14-1452 Regression] FAIL: g++.dg/pr104547.C -std=gnu++17 scan-tree-dump-not vrp2 "_M_default_append" on Linux/x86_64 haochen.jiang
2023-06-01  9:06 ` Christophe Lyon
2023-06-01  9:07   ` Jonathan Wakely

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).