diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-22 18:49:01 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-22 18:49:01 +0000 |
commit | 5357d7fd4c1f220aef7cb66b3db98c4734d546fa (patch) | |
tree | 8a11dc6ab64d648474542ee2af8d8c257161eec3 /gcc/cp/mangle.c | |
parent | 47b278cc9a02598e2c39ee48f11db598179137f0 (diff) | |
download | gcc-5357d7fd4c1f220aef7cb66b3db98c4734d546fa.tar.gz |
* mangle.c (write_type): Mangle decltype(auto).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198150 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/mangle.c')
-rw-r--r-- | gcc/cp/mangle.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index 83c3e628da0..8da62b5e969 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -2019,7 +2019,10 @@ write_type (tree type) case TEMPLATE_TYPE_PARM: if (is_auto (type)) { - write_identifier ("Da"); + if (AUTO_IS_DECLTYPE (type)) + write_identifier ("Dc"); + else + write_identifier ("Da"); ++is_builtin_type; break; } |