public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/96997] New: step over in gdb always stops in basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
@ 2020-09-09 12:29 alexis.jeandet at member dot fsf.org
  2020-09-09 15:47 ` [Bug debug/96997] " redi at gcc dot gnu.org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: alexis.jeandet at member dot fsf.org @ 2020-09-09 12:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96997
           Summary: step over in gdb always stops in basic_string(const
                    _CharT* __s, const _Alloc& __a = _Alloc())
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alexis.jeandet at member dot fsf.org
  Target Milestone: ---

Minimum code to reproduce the issue:

#include <iostream>
#include <string>


int main()
{
        std::cout << std::string{"str1"};
        std::cout << std::string{"str2"};
        return 0;
}

Stepping over will stop in basic_string ctor which is unexpected. This is
reproductible with G++ 10.2.1 and 10.2.0 (Fedora 32, 32 and Arch). 
On the same machine building with clang and debugging with gdb doesn't have
this issue.

g++9 and 8 works as expected.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-12-13 20:06 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 12:29 [Bug debug/96997] New: step over in gdb always stops in basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) 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
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

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).