===================================================================
@@ -85,9 +85,7 @@
def find_type(orig, name):
typ = orig.strip_typedefs()
while True:
- # Use typ.name here instead of str(typ) to discard any const,etc.
- # qualifiers. PR 67440.
- search = typ.name + '::' + name
+ search = str(typ) + '::' + name
try:
return gdb.lookup_type(search)
except RuntimeError:
===================================================================
@@ -70,10 +70,6 @@
std::map<std::string, int>::iterator mpiter = mp.begin();
// { dg-final { note-test mpiter {{first = "zardoz", second = 23}} } }
- // PR 67440
- const std::set<int> const_intset = {2, 3};
-// { dg-final { note-test const_intset {std::__debug::set with 2 elements = {[0] = 2, [1] = 3}} } }
-
std::set<std::string> sp;
sp.insert("clownfish");
sp.insert("barrel");
===================================================================
@@ -73,10 +73,6 @@
std::map<std::string, int>::iterator mpiter = mp.begin();
// { dg-final { note-test mpiter {{first = "zardoz", second = 23}} } }
- // PR 67440
- const std::set<int> const_intset = {2, 3};
-// { dg-final { note-test const_intset {std::set with 2 elements = {[0] = 2, [1] = 3}} } }
-
std::set<std::string> sp;
sp.insert("clownfish");
sp.insert("barrel");
===================================================================
@@ -73,10 +73,6 @@
std::map<std::string, int>::iterator mpiter = mp.begin();
// { dg-final { note-test mpiter {{first = "zardoz", second = 23}} } }
- // PR 67440
- const std::set<int> const_intset = {2, 3};
-// { dg-final { note-test const_intset {std::set with 2 elements = {[0] = 2, [1] = 3}} } }
-
std::set<std::string> sp;
sp.insert("clownfish");
sp.insert("barrel");