[Bug debug/95360] inconsistent behaviors at -O0

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 27 10:44:48 GMT 2020


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Yibiao Yang from comment #0)
> As showed, Line 6 is hit first and then hit Line 7 with stepi.
> However, when using step, gdb is first hit Line 7 and then hit Line 6.
> This is an inconsistent behaviors between stepi and step

Why is that a bug? Why is it a GCC bug?


More information about the Gcc-bugs mailing list