Commit 41c2717f authored by Matthias Braun's avatar Matthias Braun
Browse files

fix warning and compilation error in optimized mode

[r26311]
parent df5f3a09
...@@ -196,8 +196,13 @@ static void dump_curr(block_t *bl, const char *s) { ...@@ -196,8 +196,13 @@ static void dump_curr(block_t *bl, const char *s) {
} /* dump_curr */ } /* dump_curr */
#else #else
#define dump_block_list() static void dump_block_list(ldst_env *env) {
#define dump_curr(bl, s) (void) env;
}
static void dump_curr(block_t *bl, const char *s) {
(void) bl;
(void) s;
}
#endif /* DEBUG_libfirm */ #endif /* DEBUG_libfirm */
/** Get the block entry for a block node */ /** Get the block entry for a block node */
...@@ -1932,7 +1937,7 @@ static int insert_Load(block_t *bl) { ...@@ -1932,7 +1937,7 @@ static int insert_Load(block_t *bl) {
block_t *pred_bl = get_block_entry(pred); block_t *pred_bl = get_block_entry(pred);
int need_phi = 0; int need_phi = 0;
memop_t *first = NULL; memop_t *first = NULL;
ir_mode *mode; ir_mode *mode = NULL;
for (i = 0; i < n; ++i) { for (i = 0; i < n; ++i) {
memop_t *mop; memop_t *mop;
......
Supports Markdown
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