projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f3d698
)
needed is_Bad check
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 29 Nov 2004 10:48:50 +0000
(10:48 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 29 Nov 2004 10:48:50 +0000
(10:48 +0000)
[r4490]
ir/ir/iropt.c
patch
|
blob
|
history
diff --git
a/ir/ir/iropt.c
b/ir/ir/iropt.c
index
60ad50e
..
ce10050
100644
(file)
--- a/
ir/ir/iropt.c
+++ b/
ir/ir/iropt.c
@@
-97,7
+97,7
@@
static tarval *computed_value_Sub(ir_node *n)
tarval *tb;
/* a - a */
- if (a == b)
+ if (a == b
&& !is_Bad(a)
)
return get_tarval_null(get_irn_mode(n));
ta = value_of(a);