H.J. Lu wrote: > + if (type && type_is_empty_type_p (type)) > + { > + if (warn_empty_type_p) > + warn_empty_type (); > + return NULL; > + }
If I understand the problem correctly, for C code empty types already were handled correctly, the problem occured just for C++ code (since the size of an empty size is != 0 there). However, it seems this warning check would now appear also for C code, even though there really shouldn't be any ABI changes there. Would it not be better to only generate the warning for C++ (maybe check whether the type size is nonzero)? Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain ulrich.weig...@de.ibm.com