[Issue 22905] gdb backtrace contains wrong location

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 28 18:36:25 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=22905

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@tim-dlang created dlang/dmd pull request #15961 "Fix issue 22905 - gdb
backtrace contains wrong location" fixing this issue:

- Fix issue 22905 - gdb backtrace contains wrong location

  The default argument for function funcC in the example is wrapped in
  an implicit cast expression. The location for this expression was not
  changed to the call site, because the visit function returned earlier
  for unary expressions. Now the location is changed for every type of
  expression.

https://github.com/dlang/dmd/pull/15961

--


More information about the Digitalmars-d-bugs mailing list