projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8d2eb4b
)
Liebe bugs part2: switch cases are analyzed in long variables, use LONG_MAX and LONG_MIN
author
Matthias Braun
<matze@braunis.de>
Thu, 7 Jan 2010 15:57:08 +0000
(15:57 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 7 Jan 2010 15:57:08 +0000
(15:57 +0000)
[r26915]
ir/be/ia32/ia32_emitter.c
patch
|
blob
|
history
diff --git
a/ir/be/ia32/ia32_emitter.c
b/ir/be/ia32/ia32_emitter.c
index
567e94e
..
2de3849
100644
(file)
--- a/
ir/be/ia32/ia32_emitter.c
+++ b/
ir/be/ia32/ia32_emitter.c
@@
-1226,8
+1226,8
@@
static void generate_jump_table(jmp_tbl_t *tbl, const ir_node *node)
tbl->defProj = NULL;
tbl->num_branches = get_irn_n_edges(node) - 1;
tbl->branches = XMALLOCNZ(branch_t, tbl->num_branches);
tbl->defProj = NULL;
tbl->num_branches = get_irn_n_edges(node) - 1;
tbl->branches = XMALLOCNZ(branch_t, tbl->num_branches);
- tbl->min_value =
INT
_MAX;
- tbl->max_value =
INT
_MIN;
+ tbl->min_value =
LONG
_MAX;
+ tbl->max_value =
LONG
_MIN;
default_pn = get_ia32_condcode(node);
i = 0;
default_pn = get_ia32_condcode(node);
i = 0;