abort in eliminate_regs compiling glob.c from glibc
Alan Modra
alan@linuxcare.com.au
Fri, 10 Nov 2000 11:36:56 +1100 (EST)
On Thu, 9 Nov 2000, John David Anglin wrote:
> > Breakpoint 2, eliminate_regs_in_insn (insn=0x406a0ba0, replace=0)
> > at ../../gcc/reload1.c:2826
> > 2826 if (! insn_is_asm && icode < 0)
> > (gdb) p debug_rtx (insn)
> > (insn/s 2711 2709 2719 (set (reg:SI 6 %r6)
> > (reg:SI 28 %r28)) 69 {pre_ldw-4} (insn_list 2708 (insn_list:REG_DEP_ANTI 2696 (insn_list:REG_DEP_ANTI 2702 (insn_list:REG_DEP_ANTI 2697 (nil)))))
> > (expr_list:REG_DEAD (reg:SI 28 %r28)
> > (insn_list:REG_RETVAL 2708 (expr_list:REG_EQUAL (expr_list (use (mem:BLK (scratch) 0))
> > (expr_list (symbol_ref/v:SI ("@strlen"))
> > (expr_list (reg/v:SI 4 %r4)
> > (nil))))
> > (nil)))))
>
> The `use' arises from the `__pure__' attribute in the prototype for strlen:
>
> extern size_t strlen (__const char *__s) __attribute__ ((__pure__));
I don't see this problem using current puffin CVS hppa64-linux gcc. Was
this with your REG_ELIMINATE patch?
Alan Modra
--
Linuxcare. Support for the Revolution.