PR c++/58561
* dbxout.c: Include stringpool.h
(dbxout_type) [default]: Ignore auto type.
From-SVN: r218020
+2014-11-24 David Edelsohn <dje.gcc@gmail.com>
+
+ PR c++/58561
+ * dbxout.c: Include stringpool.h
+ (dbxout_type) [default]: Ignore auto type.
+
2014-11-24 Richard Biener <rguenther@suse.de>
PR tree-optimization/63679
#include "plugin-api.h"
#include "ipa-ref.h"
#include "cgraph.h"
+#include "stringpool.h"
#ifdef XCOFF_DEBUGGING_INFO
#include "xcoffout.h"
break;
default:
+ /* A C++ function with deduced return type can have a TEMPLATE_TYPE_PARM
+ named 'auto' in its type.
+ No debug info for TEMPLATE_TYPE_PARM type supported yet. */
+ if (lang_GNU_CXX ())
+ {
+ tree name = TYPE_IDENTIFIER (type);
+ if (name == get_identifier ("auto")
+ || name == get_identifier ("decltype(auto)"))
+ break;
+ }
+
gcc_unreachable ();
}
}