Discussion:
CVS commit: pcc/cc/ccom
Anders Magnusson
2012-10-21 09:56:56 UTC
Permalink
Module Name: pcc
Committed By: ragge
Date: Sun Oct 21 09:56:56 UTC 2012

Modified Files:
pcc/cc/ccom: optim.c

Log Message:
Fix potential bug found by Iain Hibbert when running lint.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pcc/cc/ccom/optim.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Iain Hibbert
2012-10-22 09:06:41 UTC
Permalink
Module Name: pcc
Committed By: plunky
Date: Mon Oct 22 09:06:41 UTC 2012

Modified Files:
pcc/cc/ccom: optim.c

Log Message:
LCON() expands to a compare operation already, don't
compare the result to zero, just invert it [lint]


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pcc/cc/ccom/optim.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Iain Hibbert
2012-10-22 09:10:09 UTC
Permalink
Module Name: pcc
Committed By: plunky
Date: Mon Oct 22 09:10:09 UTC 2012

Modified Files:
pcc/cc/ccom: pftn.c

Log Message:
lint says:
warning: fallthrough on case statement [220]

ragge says:
should have a break :-)


To generate a diff of this commit:
cvs rdiff -u -r1.360 -r1.361 pcc/cc/ccom/pftn.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Iain Hibbert
2012-10-22 09:13:42 UTC
Permalink
Module Name: pcc
Committed By: plunky
Date: Mon Oct 22 09:13:42 UTC 2012

Modified Files:
pcc/cc/ccom: trees.c

Log Message:
for strictness, have a break here
(fallthrough would have no effect but was unintentional)


To generate a diff of this commit:
cvs rdiff -u -r1.317 -r1.318 pcc/cc/ccom/trees.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Loading...