Hi Daniel ARM hardfloat: fix struct return with float/double args
Fixes the case where the structure is not returned in registers. I thought it was related to ret_2float_test At least on Rpi I still have: ret_2float_test... Segmentation fault C. P.S. Compiled from a fresh git -----Original Message----- From: tinycc-devel-bounces+eligis=orange...@nongnu.org [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of Daniel Glöckner Sent: mercredi 1 mai 2013 16:40 To: tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] Recent changes segfault on Linux ARM On Fri, Apr 26, 2013 at 10:58:39PM +0200, Daniel Glöckner wrote: > There are two things broken in the code generated by TCC: > First of all TCC thinks it has to return the structure in memory > pointed to by r0 and second it gets confused about where it stored r0 > and instead reads the first float from the stack and interpretes that > as a pointer. The latter should be fixed by the one-liner I just committed. Daniel _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel