[PowerPC] Fix PR25176: Array_3 bytecode->native test fail

Andrew Haley aph@redhat.com
Thu Dec 1 12:40:00 GMT 2005


Alan Modra writes:
 > On Thu, Dec 01, 2005 at 07:50:55PM +1030, Alan Modra wrote:
 > > A quick fix is relatively easy.
 > 
 > This is the powerpc fix I'm currently testing.  I've verified that it
 > fixes the libjava test failure for powerpc64-linux, but bootstrap and
 > regression test on both powerpc-linux and powerpc64-linux are not yet
 > complete.

There's this code in expand_function_end:

  clear_pending_stack_adjust ();
  do_pending_stack_adjust ();

  /* @@@ This is a kludge.  We want to ensure that instructions that
     may trap are not moved into the epilogue by scheduling, because
     we don't always emit unwind information for the epilogue.
     However, not all machine descriptions define a blockage insn, so
     emit an ASM_INPUT to act as one.  */
  if (flag_non_call_exceptions)
    emit_insn (gen_rtx_ASM_INPUT (VOIDmode, ""));

which should be executed?

Is the problem that this is the wrong place for PPC?

Andrew.



More information about the Gcc-patches mailing list