BugFix: = was erronously used instead of ==
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 3 Mar 2006 12:10:07 +0000 (12:10 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 3 Mar 2006 12:10:07 +0000 (12:10 +0000)
[r7384]

ir/tr/type.c

index 26e33a2..fe70d4d 100644 (file)
@@ -441,7 +441,7 @@ set_type_state(ir_type *tp, type_state state) {
     default: break;
     } /* switch (tp) */
   }
-  if (state = layout_fixed)
+  if (state == layout_fixed)
     tp->flags |= tf_layout_fixed;
   else
     tp->flags &= tf_layout_fixed;