[Bug c++/51414] Broken diagnostic with invalid use of __underlying_type
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 5 18:22:00 GMT 2011
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
More information about the Gcc-bugs
mailing list