public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/66668] New: FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8
@ 2015-06-25 14:10 danglin at gcc dot gnu.org
  2015-07-01 13:58 ` [Bug debug/66668] [6 regression] " ro at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: danglin at gcc dot gnu.org @ 2015-06-25 14:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66668

            Bug ID: 66668
           Summary: FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c
                    scan-assembler-times DIE \\([^\n]*\\)
                    DW_TAG_(?:const|volatile|atomic|restrict)_type 8
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11

Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c 
-f
no-diagnostics-show-caret -fdiagnostics-color=never   -std=c11 -gdwarf-5 -dA -S
  -o stacked-qualified-types-3.s    (timeout = 300)
spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gc
c/gcc/testsuite/gcc.dg/debug/dwarf2/stacked-qualified-types-3.c
-fno-diagnostics
-show-caret -fdiagnostics-color=never -std=c11 -gdwarf-5 -dA -S -o
stacked-quali
fied-types-3.s
PASS: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c (test for excess errors)
FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE
\\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8

-bash-4.3$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa64-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu64/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --with-local-prefix=/opt/gnu64
--prefix=/opt/gnu64/gcc/gcc-6 --build=hppa64-hp-hpux11.11
--enable-threads=posix --with-gmp=/opt/gnu64/gcc/gmp --enable-checking=release
--enable-languages=c,c++,objc,obj-c++,fortran
Thread model: posix
gcc version 6.0.0 20150624 (experimental) [trunk revision 224902] (GCC)


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

* [Bug debug/66668] [6 regression] FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8
  2015-06-25 14:10 [Bug debug/66668] New: FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8 danglin at gcc dot gnu.org
@ 2015-07-01 13:58 ` ro at gcc dot gnu.org
  2015-07-01 17:14 ` aldyh at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2015-07-01 13:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66668

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|hppa64-hp-hpux11.11         |hppa64-hp-hpux11.11,
                   |                            |*-*-solaris2.1[01],
                   |                            |x86_64-unknown-linux-gnu
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-07-01
                 CC|                            |aldyh at gcc dot gnu.org,
                   |                            |ro at gcc dot gnu.org
               Host|hppa64-hp-hpux11.11         |hppa64-hp-hpux11.11,
                   |                            |*-*-solaris2.1[01],
                   |                            |x86_64-unknown-linux-gnu
   Target Milestone|---                         |6.0
            Summary|FAIL:                       |[6 regression] FAIL:
                   |gcc.dg/debug/dwarf2/stacked |gcc.dg/debug/dwarf2/stacked
                   |-qualified-types-3.c        |-qualified-types-3.c
                   |scan-assembler-times DIE    |scan-assembler-times DIE
                   |\\([^\n]*\\)                |\\([^\n]*\\)
                   |DW_TAG_(?:const|volatile|at |DW_TAG_(?:const|volatile|at
                   |omic|restrict)_type 8       |omic|restrict)_type 8
     Ever confirmed|0                           |1
              Build|hppa64-hp-hpux11.11         |hppa64-hp-hpux11.11,
                   |                            |*-*-solaris2.1[01],
                   |                            |x86_64-unknown-linux-gnu

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
This happens almost everywhere, it seems.  A reghunt confirmed that this
regression was caused by the debug-early merge.

  Rainer


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

* [Bug debug/66668] [6 regression] FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8
  2015-06-25 14:10 [Bug debug/66668] New: FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8 danglin at gcc dot gnu.org
  2015-07-01 13:58 ` [Bug debug/66668] [6 regression] " ro at gcc dot gnu.org
@ 2015-07-01 17:14 ` aldyh at gcc dot gnu.org
  2021-02-23  3:09 ` hp at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: aldyh at gcc dot gnu.org @ 2015-07-01 17:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66668

--- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Yes, this is a known issue, likely across all architectures.  I mentioned this
upon merge of the debug-early work:

https://gcc.gnu.org/ml/gcc/2015-06/msg00093.html

As I discussed in the above post, this is a missed optimization while merging
the common denominator of a set of qualifiers for a type within a DIE. For
example, if two types share "const volatile" (say "const volatile int" and
"const volatile char"), dwarf2out outputs things in the most efficient manner
as to share the maximum common type DIEs. This is not working, as
TYPE_MAIN_VARIANTs are not complete by the time early dwarf is run.

Thanks for opening the PR.


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

* [Bug debug/66668] [6 regression] FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8
  2015-06-25 14:10 [Bug debug/66668] New: FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8 danglin at gcc dot gnu.org
  2015-07-01 13:58 ` [Bug debug/66668] [6 regression] " ro at gcc dot gnu.org
  2015-07-01 17:14 ` aldyh at gcc dot gnu.org
@ 2021-02-23  3:09 ` hp at gcc dot gnu.org
  2021-03-05  1:01 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hp at gcc dot gnu.org @ 2021-02-23  3:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66668

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2015-07-01 00:00:00         |2021-2-23

--- Comment #14 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
Still there at r11-7328 aka. 8e99b5ba4c19

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

* [Bug debug/66668] [6 regression] FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8
  2015-06-25 14:10 [Bug debug/66668] New: FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8 danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-02-23  3:09 ` hp at gcc dot gnu.org
@ 2021-03-05  1:01 ` cvs-commit at gcc dot gnu.org
  2021-03-05  1:10 ` hp at gcc dot gnu.org
  2022-01-09  0:54 ` [Bug debug/66668] " pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-03-05  1:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66668

--- Comment #15 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Hans-Peter Nilsson <hp@gcc.gnu.org>:

https://gcc.gnu.org/g:8d240b3f0615a890d8bdd9319842601a48292522

commit r11-7518-g8d240b3f0615a890d8bdd9319842601a48292522
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Fri Mar 5 01:44:05 2021 +0100

    gcc.dg/debug/dwarf2/stacked-qualified-types-3.c: xfail for cris

    The test is still failing and is a regression on master for
    cris-elf: the remedy for (all) other targets wasn't
    sufficient.  I'm not myself going to put any effort into it
    (debug-information being different enough for a test to
    fail, is not a priority) and apparently not anyone else in
    the last 5 years, so I'm just going to xfail it.

    gcc/testsuite:
            PR debug/66668
            * gcc.dg/debug/dwarf2/stacked-qualified-types-3.c: xfail for
cris-*-*

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

* [Bug debug/66668] [6 regression] FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8
  2015-06-25 14:10 [Bug debug/66668] New: FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8 danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-03-05  1:01 ` cvs-commit at gcc dot gnu.org
@ 2021-03-05  1:10 ` hp at gcc dot gnu.org
  2022-01-09  0:54 ` [Bug debug/66668] " pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: hp at gcc dot gnu.org @ 2021-03-05  1:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66668

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2021-02-23 00:00:00         |2021-3-5

--- Comment #16 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
Observed at a6bc1680a493 r11-7510.
Not sure what's the criteria for WONTFIX, but JFTR I don't mind it closed as
such.

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

* [Bug debug/66668] FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8
  2015-06-25 14:10 [Bug debug/66668] New: FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8 danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-03-05  1:10 ` hp at gcc dot gnu.org
@ 2022-01-09  0:54 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-09  0:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66668

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|6.0                         |---
              Build|hppa64-hp-hpux11.11,        |
                   |*-*-solaris2.1[01],         |
                   |x86_64-unknown-linux-gnu    |
            Summary|[6 regression] FAIL:        |FAIL:
                   |gcc.dg/debug/dwarf2/stacked |gcc.dg/debug/dwarf2/stacked
                   |-qualified-types-3.c        |-qualified-types-3.c
                   |scan-assembler-times DIE    |scan-assembler-times DIE
                   |\\([^\n]*\\)                |\\([^\n]*\\)
                   |DW_TAG_(?:const|volatile|at |DW_TAG_(?:const|volatile|at
                   |omic|restrict)_type 8       |omic|restrict)_type 8
               Host|hppa64-hp-hpux11.11,        |
                   |*-*-solaris2.1[01],         |
                   |x86_64-unknown-linux-gnu    |

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

end of thread, other threads:[~2022-01-09  0:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-25 14:10 [Bug debug/66668] New: FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE \\([^\n]*\\) DW_TAG_(?:const|volatile|atomic|restrict)_type 8 danglin at gcc dot gnu.org
2015-07-01 13:58 ` [Bug debug/66668] [6 regression] " ro at gcc dot gnu.org
2015-07-01 17:14 ` aldyh at gcc dot gnu.org
2021-02-23  3:09 ` hp at gcc dot gnu.org
2021-03-05  1:01 ` cvs-commit at gcc dot gnu.org
2021-03-05  1:10 ` hp at gcc dot gnu.org
2022-01-09  0:54 ` [Bug debug/66668] " pinskia at gcc dot gnu.org

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