public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* Unable to file a bug
@ 2014-12-12 15:40 Krzysztof Surdacki
  0 siblings, 0 replies; only message in thread
From: Krzysztof Surdacki @ 2014-12-12 15:40 UTC (permalink / raw)
  To: overseers

Hello

I think I found a bug in gcc-4.9.2 in MS ABI on x86-64 platform and I
wanted to file it to GCC Bugzilla.
I am not able to do this because accounts creation is disabled.

The bug is in passing and returning structures with single member of
type float or double. For example:
struct TestStructWithDouble { double x; };
struct TestStructWithFloat { float x; };
This kind of structures are passed and returned via SSE registers
which is wrong.
According to MS specification:
http://msdn.microsoft.com/en-us/library/zthk2dkh.aspx
http://msdn.microsoft.com/en-us/library/7572ztz4.aspx
this kind of structures should be passed via RCX, RDX, R8, R9
registers and returned in RAX register.

All Best

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-09 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-12 15:40 Unable to file a bug Krzysztof Surdacki

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).