public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/95343] New: IPA-SRA can result in bad debug info about removed function arguments
@ 2020-05-26 18:25 jamborm at gcc dot gnu.org
  2020-05-26 18:28 ` [Bug debug/95343] IPA-SRA can result in wrong " jamborm at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jamborm at gcc dot gnu.org @ 2020-05-26 18:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95343
           Summary: IPA-SRA can result in bad debug info about removed
                    function arguments
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jamborm at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux
            Target: x86_64-linux

Created attachment 48608
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48608&action=edit
Testcase

ipa_param_adjustments::modify_call does not properly account for extra
arguments left over from clone materialization when recording debug
info.  Therefore, when the attached testcase is compiled with -O2 or
higher and run in gdb with a breakpoint is set at line 20 where we
examine the value of parameter i, it incorrectly reports 4, even
though it should be 2.

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

end of thread, other threads:[~2021-02-17 16:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26 18:25 [Bug debug/95343] New: IPA-SRA can result in bad debug info about removed function arguments jamborm at gcc dot gnu.org
2020-05-26 18:28 ` [Bug debug/95343] IPA-SRA can result in wrong " jamborm at gcc dot gnu.org
2020-05-26 18:36 ` jamborm at gcc dot gnu.org
2020-05-28 12:38 ` jamborm at gcc dot gnu.org
2020-07-02 12:31 ` cvs-commit at gcc dot gnu.org
2020-07-03 12:51 ` cvs-commit at gcc dot gnu.org
2021-02-17 16:23 ` jamborm 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).