This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51414] Broken diagnostic with invalid use of __underlying_type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]