diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-12-19 13:49:52 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-12-19 13:49:52 +0100 |
commit | ea37e96a37b50dad17b91d46edc518bbb9132d8e (patch) | |
tree | 491faf091350fbce20e3386d7c9a199ec9bfb0bc /contrib/gcc-changelog/git_commit.py | |
parent | 98756bcbe27647f263f2b312d1d933d70cf56ba9 (diff) | |
download | gcc-ea37e96a37b50dad17b91d46edc518bbb9132d8e.zip gcc-ea37e96a37b50dad17b91d46edc518bbb9132d8e.tar.gz gcc-ea37e96a37b50dad17b91d46edc518bbb9132d8e.tar.bz2 |
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.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions