[Bug middle-end/109031] csmith: possible bad code with -O2 -fno-strict-aliasing
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Mar 8 11:10:21 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109031
--- Comment #7 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to David Binderman from comment #4)
> Created attachment 54596 [details]
> C source code
>
> After 3 hours further reduction.
I am struggling with further reduction. My bash knowledge is short.
My cvise script is:
/usr/bin/gcc -w -Werror=implicit bug892.c \
&& (./a.out 1 > 1) \
&& /home/dcb36/gcc/results/bin/gcc -w -O2 -fno-strict-aliasing bug892.c
\
&& (./a.out 1 > 2) \
&& diff 1 2; \
but then if diff returns 1, the script should return 0 and
if diff returns 0, then the script should return 1.
More information about the Gcc-bugs
mailing list