This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: middle-end/9636: ICE when building newlib for v850-elf
- From: Krister Walfridsson <cato at df dot lth dot se>
- To: gcc-gnats at gcc dot gnu dot org, <vmakarov at redhat dot com>
- Cc: gcc-prs at gcc dot gnu dot org, <gcc-bugs at gcc dot gnu dot org>
- Date: Fri, 21 Feb 2003 22:28:00 +0100 (MET)
- Subject: Re: middle-end/9636: ICE when building newlib for v850-elf
On 9 Feb 2003 cato at df dot lth dot 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 at redhat dot 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