This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16603] Incorrect enumerator type before enumeration's closing brace
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jul 2004 09:23:31 -0000
- Subject: [Bug c++/16603] Incorrect enumerator type before enumeration's closing brace
- References: <20040717075640.16603.gccbugs@contacts.eelis.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-17 09:23 -------
value = decl_constant_value (value);
if (TREE_CODE (value) == INTEGER_CST)
{
value = perform_integral_promotions (value); <-- bug here if there is a bug.
constant_expression_warning (value);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16603