------- Comment #12 from rguenth at gcc dot gnu dot org 2009-01-28 20:54 ------- This needs to be dealt from within the frontend, possibly like Mark suggested by inventing another predicate (I assume that CLASSTYPE_EMPTY_P is used for some C++ standard stuff so we cannot just change that). It may still be ok for the expr_size langhook to return true for this kind of type:
struct empty {}; struct still_empty { empty x; }; -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rguenth at gcc dot gnu dot |unassigned at gcc dot gnu |org |dot org Status|REOPENED |NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38908