------- Comment #1 from ubizjak at gmail dot com 2010-03-26 09:03 ------- Looks like a wrong assert to me. The compilation works without problems when assert is removed and the result looks sane for both -m32 and -m64 (you have to provide your own __chkstk for -mstack-arg-probe, of course).
SVN blame says: 72933 rth /* Only valid for Win32. */ 129236 uros rtx eax = gen_rtx_REG (Pmode, AX_REG); 123372 rth bool eax_live; 92662 rth rtx t; 16278 law 136311 ktietz gcc_assert (!TARGET_64BIT || cfun->machine->call_abi == MS_ABI); 40846 hubicka So, let's ask the author of the assert. -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43524