------- Comment #2 from jakub at gcc dot gnu dot org 2009-03-05 10:54 ------- But in FSF 4.1.2 and 4.2.3 I see: .uleb128 0xe # (DIE (0x161) DW_TAG_variable) .ascii "staticvar1\0" # DW_AT_name .byte 0x1 # DW_AT_decl_file (pr39372.C) .byte 0xb # DW_AT_decl_line .long 0xe2 # DW_AT_type .byte 0x9 # DW_AT_location .byte 0x3 # DW_OP_addr .quad _ZZN1AC1EiE10staticvar1
Looking into it. -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Known to work| |4.1.2 4.2.3 Last reconfirmed|0000-00-00 00:00:00 |2009-03-05 10:54:03 date| | Summary|Missing DW_AT_location for |[4.3/4.4 Regression] Missing |constructor static variable |DW_AT_location for | |constructor static variable Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39372