PR testsuite/87158 - FAIL gcc.c-torture/execute/memchr-1.c on big endian targets
gcc/testsuite/ChangeLog: * gcc.c-torture/execute/memchr-1.c: Correct big-endian expectations. From-SVN: r264000
This commit is contained in:
parent
92b6df436d
commit
e602b1e353
|
@ -1,3 +1,8 @@
|
|||
2018-08-30 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR testsuite/87158
|
||||
* gcc.c-torture/execute/memchr-1.c: Correct big-endian expectations.
|
||||
|
||||
2018-08-30 Qing Zhao <qing.zhao@oracle.com>
|
||||
|
||||
PR 86519
|
||||
|
|
|
@ -139,9 +139,9 @@ void test_wide (void)
|
|||
A (memchr (ws1, 0, sizeof ws1) == pws1 + 0);
|
||||
|
||||
A (memchr (&ws4[0], 0, nb) == pws4 + 0);
|
||||
A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 0);
|
||||
A (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 1);
|
||||
A (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 2);
|
||||
A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 1);
|
||||
A (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 2);
|
||||
A (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 3);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue