[Bug objc/50743] [4.7 regression] objc-act.c triggers -Werror=sign-compare breaking bootstrap

mikpe at it dot uu.se gcc-bugzilla@gcc.gnu.org
Sun Oct 16 10:51:00 GMT 2011


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.



More information about the Gcc-bugs mailing list