diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-07-18 09:22:10 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2024-07-18 09:37:04 +0200 |
commit | 0fbad21b0705f748076a715d0b756996f4cadcc8 (patch) | |
tree | a6a5906d56e2ab6b1bf8d6ac4e93c60d43106f4f /contrib/repro_fail | |
parent | f0c3a1c16af234b55f48cf1cfe299417f93f163c (diff) | |
download | gcc-releases/gcc-14.zip gcc-releases/gcc-14.tar.gz gcc-releases/gcc-14.tar.bz2 |
testsuite: Fix up builtin-clear-padding-3.c for -funsigned-charreleases/gcc-14
As reported on gcc-regression, this test FAILs on aarch64, but my
r15-2090 change didn't change anything on the generated assembly,
just added the forgotten dg-do run directive to the test, so the
test has been failing forever, just we didn't know it.
I can actually reproduce it on x86_64 with -funsigned-char too,
s2.b.a has int type and -1 is stored to it, so we should compare
it against -1 rather than (char) -1; the latter is appropriate for
testing char fields into which we've stored -1.
2024-07-18 Jakub Jelinek <jakub@redhat.com>
* c-c++-common/torture/builtin-clear-padding-3.c (main): Compare
s2.b.a against -1 rather than (char) -1.
(cherry picked from commit 958ee138748fae4371e453eb9b357f576abbe83e)
Diffstat (limited to 'contrib/repro_fail')
0 files changed, 0 insertions, 0 deletions