diff options
author | Kwok Cheung Yeung <kcy@codesourcery.com> | 2020-08-12 05:19:11 -0700 |
---|---|---|
committer | Kwok Cheung Yeung <kcy@codesourcery.com> | 2020-08-12 05:24:01 -0700 |
commit | 36507a2c9cbac673553b043aa1817e674836c232 (patch) | |
tree | 01e8347a055dc9e2275684fd9a9095011eec785e /gcc/fortran/trans-openmp.c | |
parent | fb9b3c0ff7d347934b364e3ab06d4cf56726df33 (diff) | |
download | gcc-36507a2c9cbac673553b043aa1817e674836c232.zip gcc-36507a2c9cbac673553b043aa1817e674836c232.tar.gz gcc-36507a2c9cbac673553b043aa1817e674836c232.tar.bz2 |
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.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions