Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 260330 Details for
Bug 352201
[4.4] ms_abi -> sysv_abi passing float arguments incorrectly (app-emulation/wine[win64])
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test case showing the problem
testcase.c (text/plain), 1007 bytes, created by
Israel G. Lugo
on 2011-01-20 05:04:17 UTC
(
hide
)
Description:
Test case showing the problem
Filename:
MIME Type:
Creator:
Israel G. Lugo
Created:
2011-01-20 05:04:17 UTC
Size:
1007 bytes
patch
obsolete
>int __attribute__((__noinline__)) test2(void *ptr, float x1, float y1, float x2, float y2, float x3, float y3) >{ > if ((long)ptr != 0x1234L) > return 11; > if (x1 != 100.) > return 12; > if (y1 != 101.) > return 13; > if (x2 != 102.) > return 14; > if (y2 != 103.) > return 15; > if (x3 != 104.) > return 16; > if (y3 != 105.) > return 17; > return 0; >} > >int __attribute__((__noinline__,__ms_abi__)) test(void *ptr, float x1, float y1, float x2, float y2, float x3, float y3) >{ > int ret; > ret = test2(ptr, x1, y1, x2, y2, x3, y3); > if (ret) > return ret; > > if ((long)ptr != 0x1234L) > return 1; > if (x1 != 100.) > return 2; > if (y1 != 101.) > return 3; > if (x2 != 102.) > return 4; > if (y2 != 103.) > return 5; > if (x3 != 104.) > return 6; > if (y3 != 105.) > return 7; > return 0; >} > >int main() { > return test((void*)0x1234L, 100., 101., 102., 103., 104., 105.); >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 352201
: 260330 |
260331
|
264753