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++/19457] [4.0 Regression] Warning depends on cached constant


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


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