[C++ PATCH] give builtin types consistent name
authorNathan Sidwell <nathan@acm.org>
Wed, 4 Oct 2017 17:54:59 +0000 (17:54 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 4 Oct 2017 17:54:59 +0000 (17:54 +0000)
commite07b83663e961bdd8025e56e7916b72b3463b1c3
treed5d394cf4cd8a033c411e8a75cdd6a12d39b79a7
parentd21f2166b03cfda6b689398f7839520d66123708
[C++ PATCH] give builtin types consistent name

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00201.html
Give builtin types the correct name.
* name-lookup.c (set_global_binding): Assert name is DECL_NAME.
* decl.c (record_builtin_type): Reimplement, use new TYPE_DECL for
rname.

From-SVN: r253426
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/name-lookup.c