middle-end/9636: ICE when building newlib for v850-elf

Krister Walfridsson cato@df.lth.se
Fri Feb 21 21:28:00 GMT 2003


On 9 Feb 2003 cato@df.lth.se wrote:

> >Description:
> GCC for v850-elf ICE when building newlib (following the instructions in http://gcc.gnu.org/simtest-howto.html and source CVS:ed today)
>
> The ICE message is:
> ../../../../../../combined/newlib/libc/stdlib/a64l.c: In function `a64l':
> ../../../../../../combined/newlib/libc/stdlib/a64l.c:73: warning: assignment discards qualifiers from pointer target type
> ../../../../../../combined/newlib/libc/stdlib/a64l.c:188: internal compiler error: in schedule_block, at haifa-sched.c:2065
> Please submit a full bug report,

I have narrow this failure down to the following change:

2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>

        * haifa-sched.c (schedule_insn): Return necessary cycle advance
        after issuing the insn.
        (rank_for_schedule): Make a insn with /S the highest priority
        insn.
        (move_insn): Ignore schedule groups.  Clear SCHED_GROUP_P.
        (choose_ready): Check SCHED_GROUP_P.
        (schedule_block): Advance cycle after issuing insn if it is
        necessary.  Don't reorder insns if there is an insn with /S.
        (set_priorities): Ignore schedule groups.

        * sched-deps.c (remove_dependence, group_leader): Remove the
        functions.
        (add_dependence): Ignore schedule groups.
        (set_sched_group_p): Don't make copy of dependencies from previous
        insn of the schedule group.  Add anti-dependency to the previous
        insn of the schedule group.
        (compute_forward_dependences): Ignore schedule groups.

        * sched-ebb.c (init_ready_list): Ignore schedule groups.

        * sched-rgn.c (init_ready_list): Ditto.
        (can_schedule_ready_p): Ditto.


   /Krister



More information about the Gcc-bugs mailing list