Bugfix in const_code_irg: phase_state initialization.
authorGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Tue, 24 Dec 2002 08:45:20 +0000 (08:45 +0000)
committerGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Tue, 24 Dec 2002 08:45:20 +0000 (08:45 +0000)
[r576]

ir/ir/irgraph.c

index f14c712..679423e 100644 (file)
@@ -160,6 +160,7 @@ ir_graph *new_const_code_irg() {
 #endif
   res->obst      = (struct obstack *) xmalloc (sizeof (struct obstack));
   obstack_init (res->obst);
+  res->phase_state = phase_building;
   res->pinned = pinned;
   res->value_table = new_identities (); /* value table for global value
                                           numbering for optimizing use in