public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libffi/41908]  New: closures fail for some structure arguments containing floats
@ 2009-11-02 15:55 rfm at gnu dot org
  2009-11-02 15:58 ` [Bug libffi/41908] " rfm at gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: rfm at gnu dot org @ 2009-11-02 15:55 UTC (permalink / raw)
  To: gcc-bugs

For a closure, when an argument is a structure containing multiple floats, it
seems that all but the first  two floats are lost (on my machine they seem to
consistently be set to zeros).

This is a big problem in GNUstep where we pass NSRect structures (containing
four floats), but I managed to reproduce it by changing one of the libffi
testsuite files to pass a structure containing four floats.

I have reproduced this problem with libffi from the 4.? series of gcc and have
also found it with libffi-3.0.9rc3


-- 
           Summary: closures fail for some structure arguments containing
                    floats
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libffi
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rfm at gnu dot org
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41908


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-12-04 18:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-02 15:55 [Bug libffi/41908] New: closures fail for some structure arguments containing floats rfm at gnu dot org
2009-11-02 15:58 ` [Bug libffi/41908] " rfm at gnu dot org
2009-11-02 21:18 ` andreast at gcc dot gnu dot org
2009-11-02 21:19 ` andreast at gcc dot gnu dot org
2009-11-03 17:47 ` pinskia at gcc dot gnu dot org
2009-11-12 11:48 ` rfm at gnu dot org
2009-12-03 20:40 ` ubizjak at gmail dot com
2009-12-03 21:05 ` ubizjak at gmail dot com
2009-12-04 18:42 ` uros at gcc dot gnu dot org
2009-12-04 18:44 ` ubizjak at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).