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

amd64: Fix unitialized segment field

parent ed1d3025
......@@ -713,6 +713,7 @@ static void perform_address_matching(ir_node *ptr, int *arity,
get_entity_parameter_number(entity) == IR_VA_START_PARAMETER_NUMBER)
panic("perform_address_matching: Request for invalid parameter (va_start parameter)");
addr->segment = X86_SEGMENT_DEFAULT;
addr->immediate = maddr.imm;
addr->log_scale = maddr.scale;
addr->variant = variant;
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