avoid overflows on signed integers
commit6654fbade802222c6edb298eec682a417777728c
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 7 Jan 2012 16:11:00 +0000 (7 17:11 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 6 Mar 2012 12:02:17 +0000 (6 13:02 +0100)
tree7a1fde19f08898df5444bf9df89fc0d1fb7b123c
parent91de9a4e56395ed8f00952627dc29c85b3062027
avoid overflows on signed integers

In particular, remove those values from the context that necessarily
lead to overflows.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
15 files changed:
scan.cc
tests/cuervo.c [new file with mode: 0644]
tests/cuervo.scop [new file with mode: 0644]
tests/inc4.c [new file with mode: 0644]
tests/inc4.scop [copied from tests/min.scop with 77% similarity]
tests/loop5.c [new file with mode: 0644]
tests/loop5.scop [new file with mode: 0644]
tests/min.scop
tests/min2.scop
tests/shortcut1.c [new file with mode: 0644]
tests/shortcut1.scop [new file with mode: 0644]
tests/shortcut2.c [new file with mode: 0644]
tests/shortcut2.scop [new file with mode: 0644]
tests/unsigned1.scop
tests/wdp.scop