This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19457] [4.0 Regression] Warning depends on cached constant
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2005 02:46:11 -0000
- Subject: [Bug c++/19457] [4.0 Regression] Warning depends on cached constant
- References: <20050115123233.19457.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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