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


------- 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


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