http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
--- Comment #4 from Rich Felker <bugdal at aerifal dot cx> 2012-04-25 18:32:08 UTC --- Created attachment 27242 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27242 minimal test case Glibc's mbstate_t is defined as a struct whose first element is an int (not another struct/union/array), so the warning does not happen there. I'm uploading a minimal example case with an explicitly defined struct.