This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/24032] GDB prints wrong value at -O1


https://sourceware.org/bugzilla/show_bug.cgi?id=24032

--- Comment #5 from Qirun Zhang <helloqirun at gmail dot com> ---
(In reply to Alex Oliva from comment #4)
> > It incorrectly prints "l = 0" at -O1.
> 
> Thanks for the report.  The ccp1 pass is removing the dead assignment to
> l, and then removing the empty (save for debug stmts) basic block that
> held the debug bind.  This is a problem in GCC, not in GDB, so would you
> please file a bug report at gcc.gnu.org, and copy me
> (aoliva@gcc.gnu.org) in it?
> 
> This GDB bug may then be retained, cross-linked to the GCC bug or not,
> to elicit investigation of the breakpoint issue you brought up.  AFAICT
> current line number tables should allow GDB to set up breakpoints at
> both locations you indicate.

Hi Alex,

Thanks for the reply. I have indeed reported this one at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88686. You are on the cc list of
that bug.

If it's indeed a GCC issue, would you please re-open that report? Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]