public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/108151] gcc.dg/pr64536.c stores pointers in a long, broken for llp64
Date: Tue, 02 May 2023 20:12:56 +0000	[thread overview]
Message-ID: <bug-108151-4-QyXgSNiB74@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-108151-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:1de8310dd2c276eb9546a831b392a896e0ef5d89

commit r11-10691-g1de8310dd2c276eb9546a831b392a896e0ef5d89
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Mon Dec 19 13:49:52 2022 +0100

    testsuite: Fix up pr64536.c for LLP64 targets [PR108151]

    The test casts a pointer to long, which is ok for ilp32 and lp64
    targets but not for llp64 targets.  Nothing reads the values later,
    it is a link test, so all we care about is that it is the same
    cast on s390x-linux where it used to fail before the PR64536 fix,
    and that we don't warn about it.

    2022-12-19  Jakub Jelinek  <jakub@redhat.com>

            PR testsuite/108151
            * gcc.dg/pr64536.c (bar): Use casts to __INTPTR_TYPE__ rather than
            long when casting pointer to integral type.

    (cherry picked from commit ea37e96a37b50dad17b91d46edc518bbb9132d8e)

  parent reply	other threads:[~2023-05-02 20:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-17  7:17 [Bug testsuite/108151] New: " nightstrike at gmail dot com
2022-12-17  7:21 ` [Bug testsuite/108151] " pinskia at gcc dot gnu.org
2022-12-19 12:52 ` cvs-commit at gcc dot gnu.org
2022-12-19 12:54 ` jakub at gcc dot gnu.org
2022-12-19 14:06 ` cvs-commit at gcc dot gnu.org
2023-02-10 17:44 ` cvs-commit at gcc dot gnu.org
2023-02-10 17:44 ` cvs-commit at gcc dot gnu.org
2023-05-02 20:12 ` cvs-commit at gcc dot gnu.org [this message]
2023-05-02 20:13 ` cvs-commit at gcc dot gnu.org
2023-05-03 15:20 ` cvs-commit at gcc dot gnu.org
2023-05-03 15:20 ` cvs-commit 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-108151-4-QyXgSNiB74@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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).