[Bug debug/87440] GCC creates debug that confuses gdb

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 26 10:01:00 GMT 2018


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2018-09-26
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
We seem to never got this right, GCC 3.4 did

(gdb) info locals
j = 2
i = <optimized out>
j = <optimized out>
z = 0

eh.

I have a patch.


More information about the Gcc-bugs mailing list