improve/fix fehler71
authorMatthias Braun <matze@braunis.de>
Fri, 31 Aug 2007 14:45:30 +0000 (14:45 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 31 Aug 2007 14:45:30 +0000 (14:45 +0000)
[r15640]

ir/be/test/fehler71.c

index 18e8d4e..020fa96 100644 (file)
@@ -13,13 +13,16 @@ int changea(void) {
 int f2(void) {
        int t = a;
        int t2 = changea();
-       changea();
-       changea();
        int t3 = t + t2;
-       changea();
        return t3;
 }
 
+int f3(int arg) {
+       int t = a + arg;
+       changea();
+       return t;
+}
+
 int f(int f) {
        int t = a;
        changea();