[Bug c++/65108] Missing DWARF info for static const class members

2016-01-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65108 --- Comment #3 from Jonathan Wakely --- Indeed, Foo::one is not a definition, but Bar::two is a definition. https://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition

[Bug c++/65108] Missing DWARF info for static const class members

2016-01-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65108 --- Comment #2 from Andrew Pinski --- I don't think this is a valid bug as you are violating C++. That is you don't have a definition for Foo::one. This is why debugging info is not being outputted.

[Bug c++/65108] Missing DWARF info for static const class members

2015-02-18 Thread wingo at igalia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65108 --- Comment #1 from Andy Wingo --- I mentioned this bug to Dodji Seketeli who said that this was probably an instance of early constant folding causing Foo::one to appear unused. On Dodji's suggestion I recompiled with -fno-eliminate-unused-debu