This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/50743] [4.7 regression] objc-act.c triggers -Werror=sign-compare breaking bootstrap
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 16 Oct 2011 10:50:19 +0000
- Subject: [Bug objc/50743] [4.7 regression] objc-act.c triggers -Werror=sign-compare breaking bootstrap
- Auto-submitted: auto-generated
- References: <bug-50743-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50743
--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2011-10-16 10:50:19 UTC ---
Created attachment 25515
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25515
preliminary patch
Casting the value of TREE_VEC_LENGTH to size_t before comparing it with a
size_t index fixes the issue for me on i686-linux.