[Bug c++/19457] [4.0 Regression] Warning depends on cached constant

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jan 29 02:46:00 GMT 2005


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-01-29 02:46 -------
The C++ front-end has a TREE_NEGATED_INT flag; it is that flag which is getting
cached incorrectly.  The C++ front end is intentionally trying to warn about
conversions from negated integer constants, but not from conversions from things
like "~0".

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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



More information about the Gcc-bugs mailing list