This is the mail archive of the gcc@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]

Re: m68k bootstrap failure


Hello!

Your patch http://gcc.gnu.org/ml/gcc-patches/2003-10/msg02274.html changing
genmodes.c/machmode.h breaks m68k when using FPU mode. A testcase can be
found here: http://gcc.gnu.org/ml/gcc/2003-10/msg01317.html.
Compiling the test case for m68k-linux with ./xgcc -B./ -S yields:

--cut--
foo.c: In function `foo':

foo.c:4: error: unable to generate reloads for:
(call_insn 14 13 15 2 (set (reg:DF %fp0)
        (call (mem:QI (symbol_ref:SI ("bar") [flags 0x41] <function_decl 0x285b74a4 bar>) [0 S1 A8])
            (const_int 8 [0x8]))) 353 {*m68k.md:6819} (nil)
    (nil)
    (nil))
../../2.c:4: internal compiler error: in find_reloads, at reload.c:3647
--cut--

Other m68k-targets fail in reload.c/subst_reloads. I don't know whether this
is a backend bug or a bug in your patch.

Gunther


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