This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libobjc/49166] [4.7 Regression] Many objc failures


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]