# include "config.h"
#endif
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
Assure that only innermost dimension is dynamic? */
break;
case tpo_enumeration:
+#ifndef NDEBUG
assert(get_type_mode != NULL);
for (i = get_enumeration_n_enums(tp) - 1; i >= 0; --i) {
ir_enum_const *ec = get_enumeration_const(tp, i);
tarval *tv = get_enumeration_value(ec);
assert(tv != NULL && tv != tarval_bad);
}
+#endif
break;
default: break;
} /* switch (tp) */
assert(is_frame_type(frame_type));
assert(get_type_state(frame_type) == layout_fixed);
+ assert(get_type_alignment_bytes(frame_type) > 0);
if (! a_byte)
a_byte = new_type_primitive(new_id_from_chars("byte", 4), mode_Bu);