public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug testsuite/26953] [gcc 4.8] FAIL: gdb.base/endianity.exp: x/xh &o.w
Date: Sun, 13 Dec 2020 16:22:44 +0000	[thread overview]
Message-ID: <bug-26953-4717-uCdg8xCES0@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-26953-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=26953

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=862fcbd8f02b03cbf37b452e35bff8361d7a0208

commit 862fcbd8f02b03cbf37b452e35bff8361d7a0208
Author: Tom de Vries <tdevries@suse.de>
Date:   Sun Dec 13 17:22:40 2020 +0100

    [gdb/testsuite] Fix gdb.base/endianity.exp with gcc-4.8

    When running test-case gdb.base/endianity.exp using gcc-4.8, we get:
    ...
    (gdb) x/x &o.v^M
    0x7fffffffd120: 0x00000004^M
    (gdb) XFAIL: gdb.base/endianity.exp: x/x &o.v
    x/xh &o.w^M
    0x7fffffffd124: 0x0003^M
    (gdb) FAIL: gdb.base/endianity.exp: x/xh &o.w
    ...

    The gcc 4.8 compiler does not support the scalar_storage_order attribute,
so
    the testcase is compiled without that attribute, and the expected results
are
    different.

    Fix this by rather than xfailing, skipping the tests if the compiler does
not
    support the scalar_storage_order attribute.

    Tested on x86_64-linux, with gcc-4.8, gcc-7, and clang-10.

    gdb/testsuite/ChangeLog:

    2020-12-13  Tom de Vries  <tdevries@suse.de>

            PR testsuite/26953
            * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
            attribute support if compiler doesn't support it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2020-12-13 16:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-26 14:52 [Bug testsuite/26953] New: " vries at gcc dot gnu.org
2020-11-26 16:50 ` [Bug testsuite/26953] " vries at gcc dot gnu.org
2020-12-10 15:39 ` vries at gcc dot gnu.org
2020-12-13 16:22 ` cvs-commit at gcc dot gnu.org [this message]
2020-12-13 16:34 ` vries at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-26953-4717-uCdg8xCES0@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).