Commit b4cf8657 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix warnings

[r25164]
parent c59bde18
......@@ -325,6 +325,8 @@ int TEMPLATE_compare_attr(ir_node *a, ir_node *b)
{
const TEMPLATE_attr_t *attr_a = get_TEMPLATE_attr_const(a);
const TEMPLATE_attr_t *attr_b = get_TEMPLATE_attr_const(b);
(void) attr_a;
(void) attr_b;
return 0;
}
......
......@@ -832,7 +832,7 @@ int i_mapper_memcpy(ir_node *call, void *ctx) {
if (dst == src || (is_Const(len) && is_Const_null(len))) {
/* a memcpy(d, d, len) ==> d OR
/* a memcpy(d, s, 0) ==> d */
a memcpy(d, s, 0) ==> d */
ir_node *mem = get_Call_mem(call);
DBG_OPT_ALGSIM0(call, dst, FS_OPT_RTS_MEMCPY);
......@@ -851,7 +851,7 @@ int i_mapper_mempcpy(ir_node *call, void *ctx) {
if (dst == src || (is_Const(len) && is_Const_null(len))) {
/* a memcpy(d, d, len) ==> d + len OR
/* a memcpy(d, s, 0) ==> d + 0 */
a memcpy(d, s, 0) ==> d + 0 */
dbg_info *dbg = get_irn_dbg_info(call);
ir_node *mem = get_Call_mem(call);
ir_node *blk = get_nodes_block(call);
......@@ -874,7 +874,7 @@ int i_mapper_memmove(ir_node *call, void *ctx) {
if (dst == src || (is_Const(len) && is_Const_null(len))) {
/* a memmove(d, d, len) ==> d OR
/* a memmove(d, s, 0) ==> d */
a memmove(d, s, 0) ==> d */
ir_node *mem = get_Call_mem(call);
DBG_OPT_ALGSIM0(call, dst, FS_OPT_RTS_MEMMOVE);
......
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