public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/103351] [12 Regression] '-fcompare-debug' failure (length) at -O2
Date: Sun, 21 Nov 2021 22:16:51 +0000	[thread overview]
Message-ID: <bug-103351-4-YXdZ1p2M5v@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-103351-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103351

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-11-21
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Target Milestone|---                         |12.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, the first (major) difference shows up in 199t.cddce3.



   if (&__str._M_local_buf == _13)
     goto <bb 4>; [30.00%]
   else
-    goto <bb 7>; [70.00%]
+    goto <bb 6>; [70.00%]

   <bb 4> [local count: 286689070]:
   _1 = &_10->D.4203.name;
   if (_1 != __trans_tmp_1_14(D))
-    goto <bb 6>; [90.00%]
+    goto <bb 5>; [90.00%]
   else
-    goto <bb 5>; [10.00%]
-
-  <bb 5> [local count: 28668907]:
-  goto <bb 9>; [100.00%]
+    goto <bb 8>; [10.00%]

-  <bb 6> [local count: 258020162]:
+  <bb 5> [local count: 258020162]:
   Trans_NS___cxx11_basic_string<char>::size (_1);
   pretmp_16 = __str._M_dataplus._M_p;
   goto <bb 9>; [100.00%]

-  <bb 7> [local count: 668941172]:
+  <bb 6> [local count: 668941172]:
   if (__trans_tmp_2_18(D) != 0)
-    goto <bb 8>; [50.00%]
+    goto <bb 7>; [50.00%]
   else
     goto <bb 9>; [50.00%]

-  <bb 8> [local count: 334470586]:
-  # DEBUG this => &__str
-  # DEBUG __p => &__str._M_local_buf
-  # DEBUG INLINE_ENTRY _M_data
+  <bb 7> [local count: 334470586]:
   __str._M_dataplus._M_p = &__str._M_local_buf;
-  goto <bb 5>; [100.00%]
+
+  <bb 8> [local count: 334470586]:

  reply	other threads:[~2021-11-21 22:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-21 21:01 [Bug debug/103351] New: " zsojka at seznam dot cz
2021-11-21 22:16 ` pinskia at gcc dot gnu.org [this message]
2021-11-21 22:18 ` [Bug tree-optimization/103351] " pinskia at gcc dot gnu.org
2021-11-22  9:07 ` [Bug tree-optimization/103351] [12 Regression] '-fcompare-debug' failure (length) at -O2 since r12-5301-g045206450386bcd7 marxin at gcc dot gnu.org
2021-11-22  9:19 ` rguenth at gcc dot gnu.org
2021-11-22 10:20 ` rguenth at gcc dot gnu.org
2021-11-22 11:18 ` cvs-commit at gcc dot gnu.org
2021-11-22 11:18 ` rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-103351-4-YXdZ1p2M5v@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).