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: sh-rtems still broken on head


Andrew Pinski wrote:



Can you try after the following two patches:


Thanks. It sure it hard to keep up around here. :)

That did it for the sh. Ignoring the precise svn revision, either yesterday
or today, I managed to build and install the following on the head:


arm-rtems4.7        : C C++ Ada
avr-rtems4.7        :
h8300-rtems4.7      : C C++
i386-rtems4.7       : C C++ Ada
m68k-rtems4.7       : C C++ Ada
mips64-rtems4.7     : C C++ Ada
mips-rtems4.7       : C C++ Ada
powerpc-rtems4.7    : C C++ Ada
sh-rtems4.7         : C C++ Ada
sparc-rtems4.7      : C C++ Ada

The avr fails with this:

../../../../../../gcc/newlib/libc/misc/init.c
../../../../../../gcc/newlib/libc/misc/init.c: In function '__libc_fini_array':
../../../../../../gcc/newlib/libc/misc/init.c:59: error: unable to find a register to spill in class 'BASE_POINTER_REGS'
../../../../../../gcc/newlib/libc/misc/init.c:59: error: this is the insn:
(insn 64 31 32 4 ../../../../../../gcc/newlib/libc/misc/init.c:56 (set (mem/c:HI (plus:HI (reg/f:HI 28 r28)
(const_int 1 [0x1])) [5 S2 A8])
(reg:HI 24 r24)) 12 {*movhi} (nil)
(nil))
../../../../../../gcc/newlib/libc/misc/init.c:59: internal compiler error: in spill_failure, at reload1.c:1910


Does this look like another case of PR19636 to you with the line number
in reload1.c changing due to code differences since the report was filed?


2006-01-24 Zack Weinberg <zackw@panix.com>

       * genautomata.c (process_state_for_insn_equiv_partition):
       Use xcalloc for insn_arcs_array.
       * vec.h (DEF_VEC_ALLOC_FUNC_I): New set of templates.
       (DEF_VEC_ALLOC_I): Use it, not DEF_VEC_ALLOC_FUNC_P.

2006-01-24 Richard Henderson <rth@redhat.com>

       * genextract.c (VEC_safe_set_locstr): Take VEC by reference;
       update all callers.


I think those will fix your issue.


Thanks,
Andrew Pinski




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