https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123102

--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Bit more detail. csmith will produce intermediate results.

dcb@raspberrypi:~/csmith $ ~/gcc/results/bin/gcc -Werror=return-type
-Werror=uninitialized -Werror=overflow -Werror=sequence-point -w
-fno-strict-aliasing  bug1159.c
dcb@raspberrypi:~/csmith $ ./a.out 1 > 1
dcb@raspberrypi:~/csmith $ ~/gcc/results/bin/gcc -Werror=return-type
-Werror=uninitialized -Werror=overflow -Werror=sequence-point -w
-fno-strict-aliasing -O1  bug1159.c
dcb@raspberrypi:~/csmith $ ./a.out 1 > 2
dcb@raspberrypi:~/csmith $ diff 1 2 | head
703,704c703,704
< ...checksum after hashing g_163 : 133818A3
< ...checksum after hashing g_196[i].f0 : 9D995470
---
> ...checksum after hashing g_163 : DF92183D
> ...checksum after hashing g_196[i].f0 : 33F1C5E1
706c706
< ...checksum after hashing g_196[i].f0 : 4A36F63A
---
> ...checksum after hashing g_196[i].f0 : CB13931D
dcb@raspberrypi:~/csmith $

Reply via email to