[r11-6755 Regression] FAIL: libstdc++-prettyprinters/libfundts.cc print os on Linux/x86_64

2021-01-19 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64,

3804e937b0e252a7e42632fe6d9f898f1851a49c is the first bad commit
commit 3804e937b0e252a7e42632fe6d9f898f1851a49c
Author: Mark Wielaard 
Date:   Tue Sep 29 15:52:44 2020 +0200

Default to DWARF5

caused

FAIL: libstdc++-prettyprinters/80276.cc whatis p4
FAIL: libstdc++-prettyprinters/libfundts.cc print as
FAIL: libstdc++-prettyprinters/libfundts.cc print os

with GCC configured with



To reproduce:

$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check 
RUNTESTFLAGS="prettyprinters.exp=libstdc++-prettyprinters/80276.cc 
--target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check 
RUNTESTFLAGS="prettyprinters.exp=libstdc++-prettyprinters/80276.cc 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check 
RUNTESTFLAGS="prettyprinters.exp=libstdc++-prettyprinters/80276.cc 
--target_board='unix{-m64}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check 
RUNTESTFLAGS="prettyprinters.exp=libstdc++-prettyprinters/80276.cc 
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check 
RUNTESTFLAGS="prettyprinters.exp=libstdc++-prettyprinters/libfundts.cc 
--target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check 
RUNTESTFLAGS="prettyprinters.exp=libstdc++-prettyprinters/libfundts.cc 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check 
RUNTESTFLAGS="prettyprinters.exp=libstdc++-prettyprinters/libfundts.cc 
--target_board='unix{-m64}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check 
RUNTESTFLAGS="prettyprinters.exp=libstdc++-prettyprinters/libfundts.cc 
--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)


Re: [r11-6755 Regression] FAIL: libstdc++-prettyprinters/libfundts.cc print os on Linux/x86_64

2021-01-18 Thread Mark Wielaard
Hi,

On Sun, Jan 17, 2021 at 11:30:59AM -0800, sunil.k.pandey wrote:
> On Linux/x86_64,
> 
> 3804e937b0e252a7e42632fe6d9f898f1851a49c is the first bad commit
> commit 3804e937b0e252a7e42632fe6d9f898f1851a49c
> Author: Mark Wielaard 
> Date:   Tue Sep 29 15:52:44 2020 +0200
> 
> Default to DWARF5
> 
> caused
> 
> 
> with GCC configured with
> 
> 

Thanks for the report, although it looks like some information about the
cause and configuration is missing from the above.

This is being tracked as
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98716

The asan related failures seem to be caused by confusion about the
actual file an error occured in when -flto and -gdwarf-5 is used.
Possibly a libbacktrace issue.

The pretty printer seems to not recognize
std::list, std::allocator >
as std::list

Cheers,

Mark 


[r11-6755 Regression] FAIL: libstdc++-prettyprinters/libfundts.cc print os on Linux/x86_64

2021-01-17 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64,

3804e937b0e252a7e42632fe6d9f898f1851a49c is the first bad commit
commit 3804e937b0e252a7e42632fe6d9f898f1851a49c
Author: Mark Wielaard 
Date:   Tue Sep 29 15:52:44 2020 +0200

Default to DWARF5

caused


with GCC configured with



To reproduce:

$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_big_alignment.c 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_big_alignment.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_big_alignment.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_big_alignment.c 
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_detect_custom_size.c 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_detect_custom_size.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_detect_custom_size.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_detect_custom_size.c 
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_overflow_partial.c 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_overflow_partial.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_overflow_partial.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_overflow_partial.c 
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_overflow_right.c 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_overflow_right.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_overflow_right.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_overflow_right.c 
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_underflow_left.c 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_underflow_left.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_underflow_left.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/alloca_underflow_left.c 
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/global-overflow-1.c 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/global-overflow-1.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/global-overflow-1.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/global-overflow-1.c 
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/heap-overflow-1.c 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/heap-overflow-1.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/heap-overflow-1.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/heap-overflow-1.c 
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/null-deref-1.c 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/null-deref-1.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/null-deref-1.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/null-deref-1.c 
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/sanity-check-pure-c-1.c 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="asan.exp=c-c++-common/asan/sanity-check-pure-c-1.c 
--target_board='unix{-m32\