Commit f40a8c03 by Kazu Hirata Committed by Jeff Law

h8300.c (function_epilogue): Clean up flags when the last insn in a function is a barrier.

        * h8300.c (function_epilogue): Clean up flags when the last insn
        in a function is a barrier.

From-SVN: r33521
parent e7651ec5
2000-04-28 Kazu Hirata <kazu@hxi.com>
* h8300.c (function_epilogue): Clean up flags when the last insn
in a function is a barrier.
2000-04-28 Chris Demetriou <cgd@sibyte.com> 2000-04-28 Chris Demetriou <cgd@sibyte.com>
* configure.in (sparc-hal-solaris2*): protect [] glob from * configure.in (sparc-hal-solaris2*): protect [] glob from
......
...@@ -402,7 +402,7 @@ function_epilogue (file, size) ...@@ -402,7 +402,7 @@ function_epilogue (file, size)
if (GET_CODE (insn) == NOTE) if (GET_CODE (insn) == NOTE)
insn = prev_nonnote_insn (insn); insn = prev_nonnote_insn (insn);
if (insn && GET_CODE (insn) == BARRIER) if (insn && GET_CODE (insn) == BARRIER)
return; goto out;
/* Pop the saved registers. */ /* Pop the saved registers. */
for (idx = 0; idx < FIRST_PSEUDO_REGISTER; idx++) for (idx = 0; idx < FIRST_PSEUDO_REGISTER; idx++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment