This is the mail archive of the gcc-patches@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]

[PATCH] Fix objc/18406


On x86 (and some other targets IIRC), long doubles are 96bits in
length unlike most other targets where it is either 128bits or
64bits long.  We would get an ICE when trying to encode a long
double for a class method which has a long double as a parameter.

OK for the mainline and 3.4 branch? Bootstrapped and tested on
powerpc-darwin and x86-linux with no regressions.

Thanks,
Andrew Pinski

ChangeLog:
	* obj-act.c (encode_type): 96bits doubles are encoded the
	same way as 64bit and 128bit doubles are.


Attachment: temp.diff.txt
Description: Text document


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