public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/96997] [10/11 Regression] step over in gdb always stops in basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
Date: Thu, 10 Sep 2020 08:21:38 +0000	[thread overview]
Message-ID: <bug-96997-4-U4bWsVUeDo@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-96997-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
-fdump-tree-all-lineno with gcc-10:
...
main ()
{
  struct string D.37010;
  struct allocator D.37009;
  struct string D.37052;
  struct allocator D.37051;
  int D.40670;

  [test.c:7:40] std::allocator<char>::allocator ([test.c:7:40] &D.37009);
  [test.c:7:19] try
    {
      try
        {
          [test.c:7:40] std::__cxx11::basic_string<char>::basic_string
([test.c:7:40] &D.37010
, [test.c:7:40] "str1", [/usr/include/c++/10/bits/basic_string.h:525:59]
&D.37009);
          try
            {
              try
                {
                  [test.c:7:40] std::operator<< <char, std::char_traits<char>,
std::allocator<
char> > ([test.c:7:40] &cout, [test.c:7:27] &D.37010);
                }
              finally
                {
                  [test.c:7:27] std::__cxx11::basic_string<char>::~basic_string
([test.c:7:27]
 &D.37010);
                }
            }
          finally
            {
              [test.c:7:27] D.37010 = {CLOBBER};
            }
        }
      finally
        {
          [/usr/include/c++/10/bits/basic_string.h:525:59]
std::allocator<char>::~allocator ([
/usr/include/c++/10/bits/basic_string.h:525:59] &D.37009);
        }
    }
  finally
    {
      [/usr/include/c++/10/bits/basic_string.h:525:59] D.37009 = {CLOBBER};
    }
  [test.c:8:40] std::allocator<char>::allocator ([test.c:8:40] &D.37051);
  [test.c:8:19] try
    {
      try
        {
          [test.c:8:40] std::__cxx11::basic_string<char>::basic_string
([test.c:8:40] &D.37052
, [test.c:8:40] "str2", [/usr/include/c++/10/bits/basic_string.h:525:59]
&D.37051);
          try
            {
              try
                {
                  [test.c:8:40] std::operator<< <char, std::char_traits<char>,
std::allocator<
char> > ([test.c:8:40] &cout, [test.c:8:27] &D.37052);
                }
              finally
                {
                  [test.c:8:27] std::__cxx11::basic_string<char>::~basic_string
([test.c:8:27]
 &D.37052);
                }
            }
          finally
            {
              [test.c:8:27] D.37052 = {CLOBBER};
            }
        }
      finally
        {
          [/usr/include/c++/10/bits/basic_string.h:525:59]
std::allocator<char>::~allocator ([
/usr/include/c++/10/bits/basic_string.h:525:59] &D.37051);
        }
    }
  finally
    {
      [/usr/include/c++/10/bits/basic_string.h:525:59] D.37051 = {CLOBBER};
    }
  [test.c:9:16] D.40670 = 0;
  [test.c:9:16] return D.40670;
  [test.c:10:1] D.40670 = 0;
  [test.c:10:1] return D.40670;
}
...

  parent reply	other threads:[~2020-09-10  8:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-09 12:29 [Bug debug/96997] New: " alexis.jeandet at member dot fsf.org
2020-09-09 15:47 ` [Bug debug/96997] " redi at gcc dot gnu.org
2020-09-10  7:29 ` [Bug debug/96997] [10/11 Regression] " rguenth at gcc dot gnu.org
2020-09-10  8:16 ` vries at gcc dot gnu.org
2020-09-10  8:19 ` vries at gcc dot gnu.org
2020-09-10  8:21 ` vries at gcc dot gnu.org [this message]
2020-09-10  9:29 ` rguenth at gcc dot gnu.org
2020-09-10 10:22 ` redi at gcc dot gnu.org
2021-02-16 17:01 ` jakub at gcc dot gnu.org
2021-02-16 17:10 ` jakub at gcc dot gnu.org
2021-02-16 17:29 ` jakub at gcc dot gnu.org
2021-02-16 18:11 ` ppalka at gcc dot gnu.org
2021-02-16 18:16 ` jakub at gcc dot gnu.org
2021-02-16 18:18 ` ppalka at gcc dot gnu.org
2021-02-17  1:49 ` cvs-commit at gcc dot gnu.org
2021-02-17 15:01 ` cvs-commit at gcc dot gnu.org
2021-02-23  3:12 ` ppalka at gcc dot gnu.org
2023-12-13 20:06 ` cvs-commit 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-96997-4-U4bWsVUeDo@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).