This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21667] misleading warning about array subscription
- 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: 30 Sep 2005 05:16:22 -0000
- Subject: [Bug c++/21667] misleading warning about array subscription
- References: <20050519194749.21667.gdr@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-30 05:16 -------
The easy fix is to check if we have INTEGER_CST and one which only spans the postive part of the
signed char.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-05-21 14:04:44 |2005-09-30 05:16:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21667