public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/90586] [gdb] gdb wrongly set the breakpoint as expected
[not found] <bug-90586-4@http.gcc.gnu.org/bugzilla/>
@ 2022-11-09 10:34 ` yangyibiao at nju dot edu.cn
2022-11-09 13:07 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: yangyibiao at nju dot edu.cn @ 2022-11-09 10:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90586
--- Comment #2 from Yibiao Yang <yangyibiao at nju dot edu.cn> ---
(In reply to Richard Biener from comment #1)
> The reason is that somehow the only stmt with line 9 prevailing is one
> not originally having it:
>
> <bb 6> :
> [t.c:11:14] D.1918 = 0;
> [t.c:11:14] // predicted unlikely by early return (on trees) predictor.
> [t.c:9:11] g = {CLOBBER};
> goto <bb 8>; [INV]
>
> <bb 7> :
> [t.c:14:10] D.1918 = 0;
>
> <bb 8> :
> <L8>:
> return D.1918;
>
> so the return stmt will end up inheriting it if we are "lucky". try-finally
> lowering assigns the location, possibly simply taking the location of the
> last stmt from the "throw".
Thanks for the explanation. Thus, I was wondering that this bug should be
marked as "invalid"
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug debug/90586] [gdb] gdb wrongly set the breakpoint as expected
[not found] <bug-90586-4@http.gcc.gnu.org/bugzilla/>
2022-11-09 10:34 ` [Bug debug/90586] [gdb] gdb wrongly set the breakpoint as expected yangyibiao at nju dot edu.cn
@ 2022-11-09 13:07 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-11-09 13:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90586
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think it is a genuine bug
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-09 13:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-90586-4@http.gcc.gnu.org/bugzilla/>
2022-11-09 10:34 ` [Bug debug/90586] [gdb] gdb wrongly set the breakpoint as expected yangyibiao at nju dot edu.cn
2022-11-09 13:07 ` rguenth 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).