[Bug testsuite/96519] [11 regression] new test case gcc.dg/ia64-sync-5.c fails
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 12 12:26:22 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96519
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kwok Yeung <kcy@gcc.gnu.org>:
https://gcc.gnu.org/g:36507a2c9cbac673553b043aa1817e674836c232
commit r11-2670-g36507a2c9cbac673553b043aa1817e674836c232
Author: Kwok Cheung Yeung <kcy@codesourcery.com>
Date: Wed Aug 12 05:19:11 2020 -0700
Fix gcc.dg/ia64-sync-5.c for architectures with unsigned char as default
(PR 96519)
If char is unsigned, then comparisons of the char array elements against
negative integers in the test will fail as values in the array will always
be positive, and will remain so when promoted to signed int.
2020-08-12 Kwok Cheung Yeung <kcy@codesourcery.com>
PR testsuite/96519
gcc/testsuite/
* gcc.dg/ia64-sync-5.c (AC, init_qi, test_qi): Change element type
to
signed char.
More information about the Gcc-bugs
mailing list