public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/101269] New: new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852
@ 2021-06-30 13:51 seurer at gcc dot gnu.org
  2021-06-30 19:22 ` [Bug testsuite/101269] " ibhagatgnu at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-06-30 13:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101269
           Summary: new test case gcc.dg/debug/btf/btf-datasec-1.c fails
                    with its introduction in r12-1852
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:c1f76af469388d3df815c82de566387da5ae000f, r12-1852

FAIL: gcc.dg/debug/btf/btf-datasec-1.c scan-assembler-times 0[\t
]+[^\n]*bts_offset 7
FAIL: gcc.dg/debug/btf/btf-datasec-1.c scan-assembler-times 0xf000003[\t
]+[^\n]*btt_info 2
FAIL: gcc.dg/debug/btf/btf-datasec-1.c scan-assembler-times ascii ".data.0"[\t
]+[^\n]*btf_aux_string 1
FAIL: gcc.dg/debug/btf/btf-datasec-1.c scan-assembler-times ascii
".rodata.0"[\t ]+[^\n]*btf_aux_string 1

It looks like the failing ones are compiled for 32 bits.  The 64 bits ones work
fine.

commit c1f76af469388d3df815c82de566387da5ae000f
Author: Indu Bhagat <indu.bhagat@oracle.com>
Date:   Thu May 20 11:19:04 2021 -0700

    CTF/BTF testsuites

    This commit adds a new testsuite for the CTF debug format.

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

* [Bug testsuite/101269] new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852
  2021-06-30 13:51 [Bug testsuite/101269] New: new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852 seurer at gcc dot gnu.org
@ 2021-06-30 19:22 ` ibhagatgnu at gmail dot com
  2021-07-01  7:15 ` [Bug testsuite/101269] [12 Regression] " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ibhagatgnu at gmail dot com @ 2021-06-30 19:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Indu Bhagat <ibhagatgnu at gmail dot com> ---
Confirmed. This is reproducible with -m32.

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

* [Bug testsuite/101269] [12 Regression] new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852
  2021-06-30 13:51 [Bug testsuite/101269] New: new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852 seurer at gcc dot gnu.org
  2021-06-30 19:22 ` [Bug testsuite/101269] " ibhagatgnu at gmail dot com
@ 2021-07-01  7:15 ` rguenth at gcc dot gnu.org
  2021-07-09 16:12 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-01  7:15 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|new test case               |[12 Regression] new test
                   |gcc.dg/debug/btf/btf-datase |case
                   |c-1.c fails with its        |gcc.dg/debug/btf/btf-datase
                   |introduction in r12-1852    |c-1.c fails with its
                   |                            |introduction in r12-1852
   Target Milestone|---                         |12.0

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

* [Bug testsuite/101269] [12 Regression] new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852
  2021-06-30 13:51 [Bug testsuite/101269] New: new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852 seurer at gcc dot gnu.org
  2021-06-30 19:22 ` [Bug testsuite/101269] " ibhagatgnu at gmail dot com
  2021-07-01  7:15 ` [Bug testsuite/101269] [12 Regression] " rguenth at gcc dot gnu.org
@ 2021-07-09 16:12 ` cvs-commit at gcc dot gnu.org
  2021-09-27 18:48 ` ibhagatgnu at gmail dot com
  2021-09-27 19:16 ` seurer at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-07-09 16:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Indu Bhagat <ibhagat@gcc.gnu.org>:

https://gcc.gnu.org/g:37e65643d3e32d33bb6c9d15c678a627d1682626

commit r12-2223-g37e65643d3e32d33bb6c9d15c678a627d1682626
Author: Indu Bhagat <indu.bhagat@oracle.com>
Date:   Fri Jul 9 09:03:08 2021 -0700

    testsuite/101269: fix testcase when used with -m32

    PR testsuite/101269 - new test case gcc.dg/debug/btf/btf-datasec-1.c
    fails with its introduction in r12-1852

    BTF datasec records for .rodata/.data are expected for now for all targets.
    For powerpc based targets, use -msdata=none when ilp32 is enabled.

    2021-07-09  Indu Bhagat  <indu.bhagat@oracle.com>

    gcc/testsuite/ChangeLog:

            PR testsuite/101269
            * gcc.dg/debug/btf/btf-datasec-1.c: Force -msdata=none with ilp32
for
            powerpc based targets.

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

* [Bug testsuite/101269] [12 Regression] new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852
  2021-06-30 13:51 [Bug testsuite/101269] New: new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852 seurer at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-07-09 16:12 ` cvs-commit at gcc dot gnu.org
@ 2021-09-27 18:48 ` ibhagatgnu at gmail dot com
  2021-09-27 19:16 ` seurer at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ibhagatgnu at gmail dot com @ 2021-09-27 18:48 UTC (permalink / raw)
  To: gcc-bugs

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

Indu Bhagat <ibhagatgnu at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |seurer at gcc dot gnu.org

--- Comment #3 from Indu Bhagat <ibhagatgnu at gmail dot com> ---
This should be fixed now. Is it ok to close the bug now ?

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

* [Bug testsuite/101269] [12 Regression] new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852
  2021-06-30 13:51 [Bug testsuite/101269] New: new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852 seurer at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-09-27 18:48 ` ibhagatgnu at gmail dot com
@ 2021-09-27 19:16 ` seurer at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-09-27 19:16 UTC (permalink / raw)
  To: gcc-bugs

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

seurer at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from seurer at gcc dot gnu.org ---
It is fixed now.

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

end of thread, other threads:[~2021-09-27 19:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30 13:51 [Bug testsuite/101269] New: new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852 seurer at gcc dot gnu.org
2021-06-30 19:22 ` [Bug testsuite/101269] " ibhagatgnu at gmail dot com
2021-07-01  7:15 ` [Bug testsuite/101269] [12 Regression] " rguenth at gcc dot gnu.org
2021-07-09 16:12 ` cvs-commit at gcc dot gnu.org
2021-09-27 18:48 ` ibhagatgnu at gmail dot com
2021-09-27 19:16 ` seurer 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).