support for variable sized compound/array types
authorMatthias Braun <matthias.braun@kit.edu>
Mon, 12 Mar 2012 18:31:12 +0000 (19:31 +0100)
committerMatthias Braun <matthias.braun@kit.edu>
Mon, 12 Mar 2012 18:31:12 +0000 (19:31 +0100)
commit4d2ff733de6880a64710185c4d07d362ee00b015
tree226d0e141382a302bef8ea4138149fe23531e74e
parenta4e785815bd757d48b99d67afc6e40faf5e6fc1f
support for variable sized compound/array types

This adds support for C99/gcc style compound types where the last
element is an array of unspecified size. The compound size is the
minimum size (assuming the array has no elements), or is calculated
by the size of an initializer.
include/libfirm/typerep.h
ir/be/begnuas.c
ir/tr/type.c
ir/tr/type_t.h