Fixed a bug.
authorSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Thu, 10 Feb 2005 11:54:09 +0000 (11:54 +0000)
committerSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Thu, 10 Feb 2005 11:54:09 +0000 (11:54 +0000)
[r5075]

ir/opt/reassoc.c

index 0db4041..2eac1d8 100644 (file)
@@ -326,6 +326,8 @@ static void do_reassociation(ir_node *n, void *env)
     /* reassociation works only for integer or reference modes */
     if (op->reassociate && (mode_is_int(mode) || mode_is_reference(mode))) {
       res = op->reassociate(&n);
+
+                       wenv->changes |= res;
     }
   } while (res == 1);