[Bug middle-end/18494] [4.0 regression] mmix-knuth-mmixware testsuite failure: gcc.c-torture/compile/structs.c (et al)

hp at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 15 07:14:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list