This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/49166] [4.7 Regression] Many objc failures
- From: "nicola at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 May 2011 10:14:15 +0000
- Subject: [Bug libobjc/49166] [4.7 Regression] Many objc failures
- Auto-submitted: auto-generated
- References: <bug-49166-4@http.gcc.gnu.org/bugzilla/>
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