testsuite: Fix pr55569.c excess errors on LLP64
authorJonathan Yong <10walls@gmail.com>
Tue, 20 Dec 2022 09:16:16 +0000 (09:16 +0000)
committerJonathan Yong <10walls@gmail.com>
Wed, 21 Dec 2022 23:15:48 +0000 (23:15 +0000)
commit37d8312f560f1e2f49aedd09a192fdc4c605b3e1
tree47f5f6ec86b63c52cfee92028dca33882724a5f7
parent193fccaa5c3525e979a989835c47c76d2c49d10c
testsuite: Fix pr55569.c excess errors on LLP64

This fixes the following on LLP64 mingw-w64 target:

Excess errors:
gcc/testsuite/gcc.c-torture/compile/pr55569.c:13:12: warning: overflow in conversion from 'long long unsigned int' to 'long int' changes value from '4611686018427387903' to '-1' [-Woverflow]
gcc/testsuite/gcc.c-torture/compile/pr55569.c:13:34: warning: iteration 2147483647 invokes undefined behavior [-Waggressive-loop-optimizations]

gcc/testsuite/ChangeLog:
* gcc.c-torture/compile/pr55569.c: fix excess errors.

Signed-off-by: Jonathan Yong <10walls@gmail.com>
gcc/testsuite/gcc.c-torture/compile/pr55569.c