2019-01-15 Richard Biener <rguenther@suse.de>
PR debug/88046
* dwarf2out.c (gen_member_die): Do not generate inheritance
DIEs late.
* g++.dg/lto/pr88046_0.C: New testcase.
From-SVN: r267940
+2019-01-15 Richard Biener <rguenther@suse.de>
+
+ PR debug/88046
+ * dwarf2out.c (gen_member_die): Do not generate inheritance
+ DIEs late.
+
2019-01-15 Richard Biener <rguenther@suse.de>
PR tree-optimization/88855
the TREE node representing the appropriate (containing) type. */
/* First output info about the base classes. */
- if (binfo)
+ if (binfo && early_dwarf)
{
vec<tree, va_gc> *accesses = BINFO_BASE_ACCESSES (binfo);
int i;
+2019-01-15 Richard Biener <rguenther@suse.de>
+
+ PR debug/88046
+ * g++.dg/lto/pr88046_0.C: New testcase.
+
2019-01-15 Richard Biener <rguenther@suse.de>
PR tree-optimization/88855
--- /dev/null
+// { dg-lto-do link }
+// { dg-lto-options { { -O2 -fPIC -flto } } }
+// { dg-extra-ld-options "-shared -g" }
+
+class a {};
+class b : virtual a {
+public:
+ void operator<<(bool);
+};
+void c() try {
+ b d;
+ d << "";
+} catch (int) {
+}