diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2007-07-06 10:53:15 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2007-07-06 10:53:15 +0200 |
commit | 56d17681225aa3b26dd0ca0958fe9c4a329b07f4 (patch) | |
tree | 4c202a505d41f55e7d51a4801eabc48fc89c16b9 /gcc/ChangeLog | |
parent | 042f720de169cce9094e54e01e2f3b4bde4b63b3 (diff) | |
download | gcc-56d17681225aa3b26dd0ca0958fe9c4a329b07f4.zip gcc-56d17681225aa3b26dd0ca0958fe9c4a329b07f4.tar.gz gcc-56d17681225aa3b26dd0ca0958fe9c4a329b07f4.tar.bz2 |
re PR rtl-optimization/32450 (-pg causes miscompilation)
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.
From-SVN: r126403
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17a2edf..b36c380 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2007-07-06 Uros Bizjak <ubizjak@gmail.com> + + 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. + 2007-07-06 Alexandre Oliva <aoliva@redhat.com> PR debug/23551 |