[Bug debug/20998] [3.4/4.0/4.1 Regression] GCC does not emit debug info for variables in anonymous unions

rth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 9 19:08:00 GMT 2005


------- Additional Comments From rth at gcc dot gnu dot org  2005-09-09 19:08 -------
Well it does with cvs head gdb on linux, both stabs and dwarf2.  If you'll
verify that you see something akin to 

        .stabs  "z:(0,7)",128,0,0,-4
        .stabs  "w:(0,9)",128,0,0,-4

in your assembly file, I'll close this as fixed on the gcc side.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20998



More information about the Gcc-bugs mailing list