This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/39372] [4.3/4.4 Regression] Missing DW_AT_location for constructor static variable



------- Comment #3 from jakub at gcc dot gnu dot org  2009-03-05 11:14 -------
Ah, the reason why it didn't fail with 4.1.x and older 4.2.x/4.3.x is
PR27574.  Before that change set_decl_abstract_flags saw error_mark_node
DECL_INITIAL and so didn't dive into the blocks, now it does.

Guess the right fix will be not mark TREE_STATIC VAR_DECLs in
set_block_abstract_flags as abstract.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]