public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [r11-2979 Regression] FAIL: g++.old-deja/g++.abi/cxa_vec.C -std=gnu++98 (test for excess errors) on Linux/x86_64 (-m64 -march=cascadelake)
@ 2020-09-02 17:22 sunil.k.pandey
  2020-09-02 17:42 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: sunil.k.pandey @ 2020-09-02 17:22 UTC (permalink / raw)
  To: gcc-patches, gcc-regression, jwakely

On Linux/x86_64,

6bdbf0f37bda2587a4e82cbb956de7a159a397ae is the first bad commit
commit 6bdbf0f37bda2587a4e82cbb956de7a159a397ae
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Sep 2 13:27:57 2020 +0100

    libstdc++: Break header cycle between <new> and <exception>

caused

FAIL: g++.old-deja/g++.abi/cxa_vec.C  -std=gnu++14 (test for excess errors)
FAIL: g++.old-deja/g++.abi/cxa_vec.C  -std=gnu++17 (test for excess errors)
FAIL: g++.old-deja/g++.abi/cxa_vec.C  -std=gnu++2a (test for excess errors)
FAIL: g++.old-deja/g++.abi/cxa_vec.C  -std=gnu++98 (test for excess errors)

with GCC configured with

../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r11-2979/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="old-deja.exp=g++.old-deja/g++.abi/cxa_vec.C --target_board='unix{-m64\ -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] 2+ messages in thread

* Re: [r11-2979 Regression] FAIL: g++.old-deja/g++.abi/cxa_vec.C -std=gnu++98 (test for excess errors) on Linux/x86_64 (-m64 -march=cascadelake)
  2020-09-02 17:22 [r11-2979 Regression] FAIL: g++.old-deja/g++.abi/cxa_vec.C -std=gnu++98 (test for excess errors) on Linux/x86_64 (-m64 -march=cascadelake) sunil.k.pandey
@ 2020-09-02 17:42 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2020-09-02 17:42 UTC (permalink / raw)
  To: gcc-patches

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

On 02/09/20 10:22 -0700, sunil.k.pandey wrote:
>On Linux/x86_64,
>
>6bdbf0f37bda2587a4e82cbb956de7a159a397ae is the first bad commit
>commit 6bdbf0f37bda2587a4e82cbb956de7a159a397ae
>Author: Jonathan Wakely <jwakely@redhat.com>
>Date:   Wed Sep 2 13:27:57 2020 +0100
>
>    libstdc++: Break header cycle between <new> and <exception>
>
>caused
>
>FAIL: g++.old-deja/g++.abi/cxa_vec.C  -std=gnu++14 (test for excess errors)
>FAIL: g++.old-deja/g++.abi/cxa_vec.C  -std=gnu++17 (test for excess errors)
>FAIL: g++.old-deja/g++.abi/cxa_vec.C  -std=gnu++2a (test for excess errors)
>FAIL: g++.old-deja/g++.abi/cxa_vec.C  -std=gnu++98 (test for excess errors)
>
>with GCC configured with
>
>../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r11-2979/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="old-deja.exp=g++.old-deja/g++.abi/cxa_vec.C --target_board='unix{-m64\ -march=cascadelake}'"
>
>(Please do not reply to this email, for question about this report, contact me at skpgkp2 at gmail dot com)

The test is invalid, but worked until I changed <new> to stop
including <exception>.

This patch fixes it, pushed to master as obvious.



[-- Attachment #2: patch.txt --]
[-- Type: text/x-patch, Size: 837 bytes --]

commit ce90d203cea33a4bfd4e415f601fe4486ecbb45d
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Sep 2 18:37:17 2020

    testsuite: Add missing <exception> header to testcase
    
    This test no longer compiles because <new> stopped including
    <exception>, so std::set_terminate is not defined.
    
    gcc/testsuite/ChangeLog:
    
            * g++.old-deja/g++.abi/cxa_vec.C: Include <exception> for
            std::set_terminate.

diff --git a/gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C b/gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C
index d52637281fe..de647c4eb69 100644
--- a/gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C
+++ b/gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C
@@ -15,6 +15,7 @@
 #include <cxxabi.h>
 #include <stdio.h>
 #include <new>
+#include <exception>
 #include <stdlib.h>
 #include <setjmp.h>
 

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

end of thread, other threads:[~2020-09-02 17:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-02 17:22 [r11-2979 Regression] FAIL: g++.old-deja/g++.abi/cxa_vec.C -std=gnu++98 (test for excess errors) on Linux/x86_64 (-m64 -march=cascadelake) sunil.k.pandey
2020-09-02 17:42 ` 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).