[Bug c/90541] New: Warning not emitted on use of uninitialized variable

2019-05-20 Thread wingo at igalia dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: wingo at igalia dot com Target Milestone: --- $ gcc --version gcc (GCC) 9.1.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not

[Bug c/90541] Warning not emitted on use of uninitialized variable

2019-05-20 Thread wingo at igalia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90541 --- Comment #2 from Andy Wingo --- Thanks for the information. For what it's worth, clang issues a warning for this code, and includes this warning under -Wall.

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

2015-02-18 Thread wingo at igalia dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wingo at igalia dot com Compiling the following C++ program does not residualize DWARF info for Foo::one, but does for Bar::two, even though Foo::one is used and Bar::two is not. $ cat < foo.cc class Foo { public: sta

[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