[Bug libobjc/49166] [4.7 Regression] Many objc failures
nicola at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 26 10:21:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49166
Nicola Pero <nicola at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Nicola Pero <nicola at gcc dot gnu.org> 2011-05-26 10:14:13 UTC ---
Yes. I have a Linux/x86-64 machine, and the patch I committed fixes the
regressions on there too. :-)
The reason is that, due to the missing function declaration, the compiler
would assume the return value is 'int', while it's 'Class' (a pointer). They
differ in size on 64-bit and that would cause the failures.
Thanks
More information about the Gcc-bugs
mailing list