From fd25256a37696de23d8f6c99827a97b63733845d Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 12 Mar 2017 11:08:03 +0000 Subject: Have to improve reg allocation --- c_compiler/test/in/Mult.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 c_compiler/test/in/Mult.c (limited to 'c_compiler/test/in/Mult.c') diff --git a/c_compiler/test/in/Mult.c b/c_compiler/test/in/Mult.c new file mode 100644 index 0000000..4855b54 --- /dev/null +++ b/c_compiler/test/in/Mult.c @@ -0,0 +1,9 @@ +int main() { + int x = 4*2; + int y = 7; + int z = 14 % 8; + + z = x * y * z / z * x; + + return z; +} -- cgit