- Moved 2 of the test cases into tests for failure
- Reworked the transformation into ssa form and now I catch all unitialized variable uses. - Several more test cases - Bumped the version to 0.34 - Verified that -O2 the scc_transform now works. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@934 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
18
util/romcc/tests/fail_test2.c
Normal file
18
util/romcc/tests/fail_test2.c
Normal file
@@ -0,0 +1,18 @@
|
||||
static void main(void)
|
||||
{
|
||||
|
||||
unsigned min;
|
||||
int value, latency;
|
||||
|
||||
|
||||
latency = -2;
|
||||
|
||||
if (latency > (((min) >> 8) & 0xff)) {
|
||||
value = 0xa;
|
||||
}
|
||||
|
||||
if (value < 0) return;
|
||||
|
||||
((min) = (((min) & ~0xff)));
|
||||
|
||||
}
|
Reference in New Issue
Block a user