OSDN Git Service

PR rtl_optimization/32450
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Jul 2007 08:53:15 +0000 (08:53 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Jul 2007 08:53:15 +0000 (08:53 +0000)
commitd86df71c114a6c71f78184a869cfb8bc64b6d80c
tree4c202a505d41f55e7d51a4801eabc48fc89c16b9
parentfab3c371eb1fa1e911ac5a36d4159a53edf002a9
PR rtl_optimization/32450
* function.c (thread_prologue_and_epilogue_insns): Emit blockage insn
to ensure that instructions are not moved into the prologue when
profiling is on.  Remove unused prologue_end variable.
(expand_function_end): Emit blockage insn instead of ASM_INPUT rtx
as a scheduling barrier.

testsuite/ChangeLog:

PR rtl_optimization/32450
* gcc.dg/pr32450.c: New runtime test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126403 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr32450.c [new file with mode: 0644]