This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]