Commit d5b5f5ad by Jakub Jelinek Committed by Jakub Jelinek

re PR debug/85550 (-fdebug-types-section broken with DW_OP_addr in DW_AT_location)

	PR debug/85550
	* g++.dg/debug/dwarf2/pr85550.C: New test.

From-SVN: r266689
parent fe570ff8
2018-11-30 Jakub Jelinek <jakub@redhat.com>
PR debug/85550
* g++.dg/debug/dwarf2/pr85550.C: New test.
2018-11-30 Thomas Schwinge <thomas@codesourcery.com> 2018-11-30 Thomas Schwinge <thomas@codesourcery.com>
PR c/87924 PR c/87924
......
// PR debug/85550
// { dg-do link }
// { dg-options "-O2 -g -fdebug-types-section" }
struct A {
int bar () const { return 0; }
};
template <int (A::*foo)() const>
struct B {
};
B<&A::bar> b;
int
main ()
{
}
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