http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51934
--- Comment #20 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-24 02:45:28 UTC --- cdecl only applies to the 32-bit ABI. ix86_handle_cconv_attribute normally warns about using it in 64-bit mode, I wonder why it doesn't on darwin?