Commit 678547de authored by Matthias Braun's avatar Matthias Braun
Browse files

fix reading of primitive types with non-default size

parent 77850949
......@@ -1765,6 +1765,7 @@ static void read_type(read_env_t *env)
case tpo_primitive: {
ir_mode *mode = read_mode_ref(env);
type = new_type_primitive(mode);
set_type_size_bytes(type, size);
goto finish_type;
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