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++/16603] Incorrect enumerator type before enumeration's closing brace


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16603

--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-01-01 22:33:35 UTC ---
Author: paolo
Date: Sun Jan  1 22:33:31 2012
New Revision: 182776

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182776
Log:
/cp
2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/16603
    * decl.c (build_enumerator): Don't call perform_integral_promotions
    on the value.

/testsuite
2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/16603
    * g++.dg/parse/enum8.C: New.


Added:
    trunk/gcc/testsuite/g++.dg/parse/enum8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.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]