public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/53508] New: function.c:stack_protect_epilogue call to predict_insn_def with wrong direction of prediction
@ 2012-05-28 16:00 hp at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: hp at gcc dot gnu.org @ 2012-05-28 16:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53508

             Bug #: 53508
           Summary: function.c:stack_protect_epilogue call to
                    predict_insn_def with wrong direction of prediction
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
               URL: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01361.htm
                    l
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hp@gcc.gnu.org


The message at the URL and the (original) summary says it all; the branch is
*around* a noreturn call, so the call to predict_insn_def has the prediction
direction inverted. The doc wrong too; corrected with revision 187934 on trunk.
The buglet is as far back as the 4.3-branch. The generated code has the call
moved to a "cold" position, so the generated code does not seem to be affected
in the trivial case.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-28 15:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-28 16:00 [Bug rtl-optimization/53508] New: function.c:stack_protect_epilogue call to predict_insn_def with wrong direction of prediction hp at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).