This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/32450] -pg causes miscompilation
- From: "uros at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2007 10:54:18 -0000
- Subject: [Bug rtl-optimization/32450] -pg causes miscompilation
- References: <bug-32450-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #33 from uros at gcc dot gnu dot org 2007-07-06 10:54 -------
Subject: Bug 32450
Author: uros
Date: Fri Jul 6 10:54:03 2007
New Revision: 126411
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126411
Log:
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.
testsuite/ChangeLog:
PR rtl-optimization/32450
* gcc.dg/pr32450.c: New runtime test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr32450.c
- copied unchanged from r126407,
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr32450.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/function.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32450