Commit 06bb2260 authored by Matthias Braun's avatar Matthias Braun
Browse files

sparc: fix invalid stack bias calculation in omit-fp-mode

parent 595a5d41
......@@ -65,7 +65,7 @@ static void process_bias(ir_node *block, bool sp_relative, int bias,
if (entity != NULL) {
int offset = get_entity_offset(entity);
if (sp_relative)
offset -= bias;
offset += bias;
arch_set_frame_offset(irn, offset);
}
......
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