using an undefined variable now ends up using a const with
authorGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Wed, 20 Jun 2001 16:20:00 +0000 (16:20 +0000)
committerGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Wed, 20 Jun 2001 16:20:00 +0000 (16:20 +0000)
tarval_bad.

[r184]

ir/ir/ircons.c

index cfef815..fb9901d 100644 (file)
@@ -1074,7 +1074,8 @@ phi_merge (ir_node *block, int pos, ir_mode *mode, ir_node **nin, int ins)
        (bad, jmp).  As the start has a self referencing control flow edge,
        we get a self referencing Id, which is hard to optimize away.  We avoid
        this by defining the value as a Bad node.
-       Returning a const with tarval_bad is a preliminary solution. */
+       Returning a const with tarval_bad is a preliminary solution.  In some
+       situations we might want a Warning or an Error. */
 
     if (block == get_irg_start_block(current_ir_graph)) {
       block->attr.block.graph_arr[pos] = new_Const(mode, tarval_bad);