26 lines
1.6 KiB
Plaintext
26 lines
1.6 KiB
Plaintext
|
stdout:
|
||
|
|
||
|
stderr:
|
||
|
/home/wangfiox/Documents/database/functional_c/sy/51_short_circuit3.sy:16:31: warning: if statement has empty body [-Wempty-body]
|
||
|
if (set_a(0) && set_b(1)) ;
|
||
|
^
|
||
|
/home/wangfiox/Documents/database/functional_c/sy/51_short_circuit3.sy:16:31: note: put the semicolon on a separate line to silence this warning
|
||
|
/home/wangfiox/Documents/database/functional_c/sy/51_short_circuit3.sy:22:29: warning: if statement has empty body [-Wempty-body]
|
||
|
if (c >= 1 && set_d(3)) ;
|
||
|
^
|
||
|
/home/wangfiox/Documents/database/functional_c/sy/51_short_circuit3.sy:22:29: note: put the semicolon on a separate line to silence this warning
|
||
|
/home/wangfiox/Documents/database/functional_c/sy/51_short_circuit3.sy:40:25: warning: self-comparison always evaluates to false [-Wtautological-compare]
|
||
|
if (i0 == !i1 && i3 < i3 || i4 >= i4) { putch(74); }
|
||
|
^
|
||
|
/home/wangfiox/Documents/database/functional_c/sy/51_short_circuit3.sy:40:36: warning: self-comparison always evaluates to true [-Wtautological-compare]
|
||
|
if (i0 == !i1 && i3 < i3 || i4 >= i4) { putch(74); }
|
||
|
^
|
||
|
/home/wangfiox/Documents/database/functional_c/sy/51_short_circuit3.sy:41:25: warning: self-comparison always evaluates to false [-Wtautological-compare]
|
||
|
if (i0 == !i1 || i3 < i3 && i4 >= i4) putch(75);
|
||
|
^
|
||
|
/home/wangfiox/Documents/database/functional_c/sy/51_short_circuit3.sy:41:36: warning: self-comparison always evaluates to true [-Wtautological-compare]
|
||
|
if (i0 == !i1 || i3 < i3 && i4 >= i4) putch(75);
|
||
|
^
|
||
|
6 warnings generated.
|
||
|
|