/cp
commiteb2dad342825cef829940fa33f7fe1e58531c23c
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Aug 2014 08:32:04 +0000 (25 08:32 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Aug 2014 08:32:04 +0000 (25 08:32 +0000)
treee33f8a7749a7fbd62dcf2839192eb89550037785
parentc35e53f1c697984a903d731bec157bc9f7aeb07b
/cp
2014-08-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/34938
* cp-tree.h (TFF_POINTER): Add.
* cxx-pretty-print.h (pp_cxx_cv_qualifiers): Forward the third
argument too.
* error.c (dump_type_suffix): Actually print the const and noreturn
attribute when appropriate.

/testsuite
2014-08-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/34938
* g++.dg/template/pr34938-1.C: New.
* g++.dg/template/pr34938-2.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214415 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cxx-pretty-print.h
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/pr34938-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/pr34938-2.C [new file with mode: 0644]