This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51414] Broken diagnostic with invalid use of __underlying_type
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Dec 2011 18:21:21 +0000
- Subject: [Bug c++/51414] Broken diagnostic with invalid use of __underlying_type
- Auto-submitted: auto-generated
- References: <bug-51414-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51414
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-12-05 18:21:21 UTC ---
Author: paolo
Date: Mon Dec 5 18:21:18 2011
New Revision: 182017
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182017
Log:
/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.
Added:
trunk/gcc/testsuite/g++.dg/ext/underlying_type11.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog