re PR c++/51414 (Broken diagnostic with invalid use of __underlying_type)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 5 Dec 2011 18:21:18 +0000 (18:21 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 5 Dec 2011 18:21:18 +0000 (18:21 +0000)
commitca2507dca9de619c94a9a38a47c2fb6e727e3229
treeaee05ef56b1512b960520d88b0ce3213b80ea7a0
parent6778ae9d4b9cbd7b994b2bae61a26181e79dc809
re PR c++/51414 (Broken diagnostic with invalid use of __underlying_type)

/cp
2011-12-05  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51414
* semantics.c (finish_underlying_type): Use %qT, not %qE for the
error message.

/testsuite
2011-12-05  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51414
* g++.dg/ext/underlying_type11.C: New.

From-SVN: r182017
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/underlying_type11.C [new file with mode: 0644]