Commit 17f78160 by Richard Biener Committed by Richard Biener

re PR debug/88046 (ICE in add_data_member_location_attribute at…

re PR debug/88046 (ICE in add_data_member_location_attribute at gcc/dwarf2out.c:19237 since r261885)

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
parent 41bc37ba
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
* tree-if-conv.c (combine_blocks): Collect
SSA_NAME_OCCURS_IN_ABNORMAL_PHI from propagated out virtuals.
......
......@@ -25046,7 +25046,7 @@ gen_member_die (tree type, dw_die_ref context_die)
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
* gcc.dg/pr88855.c: New testcase.
......
// { 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) {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment