- Massive set of cleanups/fixes for romcc. Lots of corner cases now work
properly. And a few long standing bugs have been rooted out and removed. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@931 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
11
util/romcc/tests/simple_test51.c
Normal file
11
util/romcc/tests/simple_test51.c
Normal file
@@ -0,0 +1,11 @@
|
||||
static void main(void)
|
||||
{
|
||||
unsigned long a,b,c, d;
|
||||
volatile unsigned long *val = (volatile unsigned long *)0x1234;
|
||||
a = val[0];
|
||||
b = val[1];
|
||||
d = val[2];
|
||||
c = a*b;
|
||||
val[3] = c;
|
||||
a = c / d;
|
||||
}
|
Reference in New Issue
Block a user