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

NULL in the initializer field is allowed

parent b40b2148
......@@ -585,6 +585,8 @@ static void check_entity_initializer(ir_entity *entity)
#ifndef NDEBUG
ir_initializer_t *initializer = entity->initializer;
if (initializer == NULL)
ir_type *entity_tp = get_entity_type(entity);
switch (initializer->kind) {
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