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
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.
: 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
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