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
This commit is contained in:
Kazu Hirata 2000-04-28 21:51:42 +00:00 committed by Jeff Law
parent e7651ec5a5
commit f40a8c0363
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* configure.in (sparc-hal-solaris2*): protect [] glob from

View File

@ -402,7 +402,7 @@ function_epilogue (file, size)
if (GET_CODE (insn) == NOTE)
insn = prev_nonnote_insn (insn);
if (insn && GET_CODE (insn) == BARRIER)
return;
goto out;
/* Pop the saved registers. */
for (idx = 0; idx < FIRST_PSEUDO_REGISTER; idx++)