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 lto/69953] [5/6 Regression] Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69953

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.9.2
            Summary|Using lto causes            |[5/6 Regression] Using lto
                   |gtkmm/gparted and           |causes gtkmm/gparted and
                   |gtkmm/inkscape compile to   |gtkmm/inkscape compile to
                   |fail                        |fail
      Known to fail|                            |5.1.0, 6.0

--- Comment #11 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Here's another testcase that only produces a local symbol for all -O levels
with -flto:


namespace Glib {
class A {};
class Object : virtual A {
protected:
  ~Object();
};
class B : virtual A {};
}
class C : Glib::Object {};
namespace Gtk {
class D : Glib::B {};
class TreeViewColumn : C, D {
  virtual ~TreeViewColumn();
};
TreeViewColumn::~TreeViewColumn() {}
}

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