projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad84e66
)
using an undefined variable now ends up using a const with
author
Götz Lindenmaier
<goetz@ipd.info.uni-karlsruhe.de>
Wed, 20 Jun 2001 16:20:00 +0000
(16:20 +0000)
committer
Gö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
patch
|
blob
|
history
diff --git
a/ir/ir/ircons.c
b/ir/ir/ircons.c
index
cfef815
..
fb9901d
100644
(file)
--- 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);