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 #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


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