------- Additional Comments From hp at gcc dot gnu dot org 2004-11-15 07:14 ------- When passed mode == BLKmode, mmix_function_arg generates a BLKmode reg, which GCC chokes on later. (I see mode == BLKmode on 3.4 too.) That seems invalid and rtl.texi, "node Machine Modes" says about BLKmode: "In RTL, only memory references can have this mode" I expect it to be a common target bug. A gcc_assert should be inserted for register valued returns from FUNCTION_ARG. >From code inspection, it looks like the following targets have the same bug: arc-* arm-* avr-* cris-* fr30-* h8300-* i386-* [pruned; there may be more]
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18494