This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Libjava failures status
On Sat, Mar 09, 2002 at 01:36:06PM +1300, Bryce McKinlay wrote:
> natClassLoader.cc:716: Missing REG_EH_REGION note in the end of bb 53
Does this one fix it? I'm in the middle of testing.
r~
Index: sched-rgn.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/sched-rgn.c,v
retrieving revision 1.32
diff -c -p -d -r1.32 sched-rgn.c
*** sched-rgn.c 2002/01/29 22:11:09 1.32
--- sched-rgn.c 2002/03/09 01:16:12
*************** add_branch_dependences (head, tail)
*** 2277,2286 ****
{
rtx insn, last;
! /* For all branches, calls, uses, clobbers, and cc0 setters, force them
! to remain in order at the end of the block by adding dependencies and
! giving the last a high priority. There may be notes present, and
! prev_head may also be a note.
Branches must obviously remain at the end. Calls should remain at the
end since moving them results in worse register allocation. Uses remain
--- 2277,2286 ----
{
rtx insn, last;
! /* For all branches, calls, uses, clobbers, cc0 setters, and instructions
! that can throw exceptions, force them to remain in order at the end of
! the block by adding dependencies and giving the last a high priority.
! There may be notes present, and prev_head may also be a note.
Branches must obviously remain at the end. Calls should remain at the
end since moving them results in worse register allocation. Uses remain
*************** add_branch_dependences (head, tail)
*** 2293,2298 ****
--- 2293,2299 ----
|| (GET_CODE (insn) == INSN
&& (GET_CODE (PATTERN (insn)) == USE
|| GET_CODE (PATTERN (insn)) == CLOBBER
+ || can_throw_internal (insn)
#ifdef HAVE_cc0
|| sets_cc0_p (PATTERN (insn))
#endif