invalid assembly generated for packed struct containingunpacked struct
Mark Mitchell
mark@codesourcery.com
Sat Jun 10 21:33:00 GMT 2000
Tony --
I think the same thing would probably happen in C if you wrote the
copies by hand, using `SBar*', so that the compiler couldn't know the
SBar is packed If not, I'm not sure why it wouldn't. I don't think
there's any easy fix -- except to pessimize all loads and stores
involving any type that appears in a packed structure.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-bugs
mailing list