[Bug c/38227] gcc fails to correctly pass arguments with ms_abi function pointers

m dot b dot lankhorst at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Nov 22 13:34:00 GMT 2008



------- Comment #1 from m dot b dot lankhorst at gmail dot com  2008-11-22 13:33 -------
Created an attachment (id=16748)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16748&action=view)
Minimal testcase

Compile with amd64 compiler without optimizations and run it.

Expected: Number is: 1234567890abcdef
Actual result: Number is: 0 (May vary)


-- 


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



More information about the Gcc-bugs mailing list