From 214e730d63ffdccd473107a981059186e72c6042 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Wed, 20 Jun 2001 16:20:00 +0000 Subject: [PATCH] using an undefined variable now ends up using a const with tarval_bad. [r184] --- ir/ir/ircons.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ir/ir/ircons.c b/ir/ir/ircons.c index cfef815df..fb9901d17 100644 --- a/ir/ir/ircons.c +++ b/ir/ir/ircons.c @@ -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); -- 2.20.1