projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7583c9f
)
beware of 64bit constants, cannot be handled yet
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 30 Jun 2005 09:55:48 +0000
(09:55 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 30 Jun 2005 09:55:48 +0000
(09:55 +0000)
[r6151]
ir/stat/const_stat.c
patch
|
blob
|
history
diff --git
a/ir/stat/const_stat.c
b/ir/stat/const_stat.c
index
3fa94cc
..
6c55977
100644
(file)
--- a/
ir/stat/const_stat.c
+++ b/
ir/stat/const_stat.c
@@
-88,6
+88,11
@@
void stat_update_const(stat_info_t *status, ir_node *node, graph_entry_t *graph)
if (mode_is_int(mode)) {
tv = get_Const_tarval(node);
+
+ /* FIXME: */
+ if (! tarval_is_long(tv))
+ return;
+
bits = log2(get_tarval_long(tv));
if (bits > ARR_SIZE(status->const_info.int_bits_count))