This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]