BugFix: all flags where deleted when layout state was set
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 1 Jun 2006 14:00:08 +0000 (14:00 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 1 Jun 2006 14:00:08 +0000 (14:00 +0000)
[r7852]

ir/tr/type.c

index 9c7f4eb..1eca6d4 100644 (file)
@@ -449,7 +449,7 @@ set_type_state(ir_type *tp, type_state state) {
   if (state == layout_fixed)
     tp->flags |= tf_layout_fixed;
   else
-    tp->flags &= tf_layout_fixed;
+    tp->flags &= ~tf_layout_fixed;
 }
 
 unsigned long (get_type_visited)(const ir_type *tp) {