This is the mail archive of the gcc-patches@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] Ping: Add ffs pattern for ColdFire 528x using the ff1insn


Bernardo Innocenti wrote:
Richard Henderson wrote:

On Mon, Aug 23, 2004 at 08:09:08PM +0200, Bernardo Innocenti wrote:

http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01592.html

I've tested this one, but it causes an ICE with m68k-uclinux
(see my reply in the thread).  I'd very much like to see the hand-made
prologue/epilogue code go away from the m68k backend:

 m68k: add prologue/epilogue rtl exapnder
 http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00564.html

Here's how to reproduce it:


> gcc -Os -mid-shared-library -c __uClibc_main.i
__uClibc_main.c: In function `__uClibc_main':
__uClibc_main.c:181: error: Attempt to delete prologue/epilogue insn:
(insn 24 23 25 0 (set (reg:SI 13 %a5)
        (mem:SI (plus:SI (reg:SI 13 %a5)
                (const_int 0 [0x0])) [0 S4 A16])) -1 (nil)
    (nil))
__uClibc_main.c:181: internal compiler error: in propagate_one_insn, at flow.c:1563


Notes:


- all the code generation flags are needed to trigger the bug
- many other files compile fine with the same options
- I've seen it with m68k-uclinux-gcc, but should be reproducible
  with any m68k target.

--
 // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/

Attachment: __uClibc_main.i.gz
Description: GNU Zip compressed data


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