aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-array.h
diff options
context:
space:
mode:
authorKwok Cheung Yeung <kcy@codesourcery.com>2020-08-12 05:19:11 -0700
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 15:08:04 -0300
commit94e5e69a9df4d8da7ee9f281955484032ed0a8ce (patch)
tree09fffc25606a23482afe610c009ac376f73e1466 /gcc/fortran/trans-array.h
parent3c4117c621f88d8f46af83d7f92bd2f62d54bf40 (diff)
downloadgcc-94e5e69a9df4d8da7ee9f281955484032ed0a8ce.zip
gcc-94e5e69a9df4d8da7ee9f281955484032ed0a8ce.tar.gz
gcc-94e5e69a9df4d8da7ee9f281955484032ed0a8ce.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-array.h')
0 files changed, 0 insertions, 0 deletions