[Bug c++/45070] Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2)

mikpe at it dot uu dot se gcc-bugzilla@gcc.gnu.org
Mon Jul 26 09:33:00 GMT 2010



------- Comment #3 from mikpe at it dot uu dot se  2010-07-26 09:33 -------
Created an attachment (id=21312)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21312&action=view)
reduced test case in C

You don't need C++ to trigger the bug.  Proper C with a function that may
recurse before returning a packed struct suffices.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45070



More information about the Gcc-bugs mailing list