[Bug debug/126632] [15/16/17 Regression] next/step over steps into a guarded function-local static of a polymorphic type instead of continuing past it

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126632

--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Before GCC 15:
  <bb 4> :
  [/app/example.c:22:31 discrim 1]
std::__cxx11::basic_string<char>::basic_string<> ([/app/example.c:22:31]
&D.36069, [/app/example.c:12:65] "", [/app/example.c:22:31] &D.36068);

  <bb 5> :
  [/app/example.c:22:31 discrim 2] LogSingleton::get_instance
([/app/example.c:22:31] &D.36069);



After:
  [/app/example.c:12:65 discrim 1]
std::__cxx11::basic_string<char>::basic_string<> ([/app/example.c:12:65]
&D.35594, [/app/example.c:12:65] "", [/app/example.c:12:65] &D.35593);

  <bb 5> :
  [/app/example.c:22:31] LogSingleton::get_instance ([/app/example.c:12:65]
&D.35594);

So yes it is the default argument getting line information of the original
location ...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.