Commit 03a0b8a1 authored by Michael Beck's avatar Michael Beck
Browse files

- C99 features removed

[r26088]
parent ea5e033b
......@@ -2820,6 +2820,7 @@ static ir_node *transform_node_Div(ir_node *n) {
ir_node *a = get_Div_left(n);
ir_node *b = get_Div_right(n);
ir_node *value;
const ir_node *dummy;
if (is_Const(b) && is_const_Phi(a)) {
/* check for Div(Phi, Const) */
......@@ -2848,7 +2849,6 @@ static ir_node *transform_node_Div(ir_node *n) {
value = n;
const ir_node *dummy;
if (a == b && value_not_zero(a, &dummy)) {
/* BEWARE: we can optimize a/a to 1 only if this cannot cause a exception */
value = new_Const(get_mode_one(mode));
......
......@@ -1797,10 +1797,9 @@ typedef struct avail_entry_t {
* Compare two avail entries.
*/
static int cmp_avail_entry(const void *elt, const void *key, size_t size) {
(void) size;
const avail_entry_t *a = elt;
const avail_entry_t *b = key;
(void) size;
return a->ptr != b->ptr || a->mode != b->mode;
} /* cmp_avail_entry */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment