[Bug rtl-optimization/32450] -pg causes miscompilation
--- Comment #31 from ubizjak at gmail dot com 2007-07-06 09:24 --- Author: uros Date: Fri Jul 6 08:53:15 2007 New Revision: 126403 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126403 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. 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. Added: trunk/gcc/testsuite/gcc.dg/pr32450.c Modified: trunk/gcc/ChangeLog trunk/gcc/function.c trunk/gcc/testsuite/ChangeLog -- ubizjak at gmail dot com changed: What|Removed |Added Component|target |rtl-optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32450
[Bug rtl-optimization/32450] -pg causes miscompilation
--- Comment #32 from uros at gcc dot gnu dot org 2007-07-06 09:50 --- Subject: Bug 32450 Author: uros Date: Fri Jul 6 09:49:52 2007 New Revision: 126407 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126407 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_2-branch/gcc/testsuite/gcc.dg/pr32450.c - copied, changed from r126403, trunk/gcc/testsuite/gcc.dg/pr32450.c Modified: branches/gcc-4_2-branch/gcc/ChangeLog branches/gcc-4_2-branch/gcc/function.c branches/gcc-4_2-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32450
[Bug rtl-optimization/32450] -pg causes miscompilation
--- 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
[Bug rtl-optimization/32450] -pg causes miscompilation
--- Comment #34 from ubizjak at gmail dot com 2007-07-06 11:16 --- Fixed everywhere. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32450