This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50005] [4.7 Regression] ipa-inline-analysis.c:1876:41: error: comparison between signed an d unsigned integer expressions
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 7 Aug 2011 23:42:30 +0000
- Subject: [Bug tree-optimization/50005] [4.7 Regression] ipa-inline-analysis.c:1876:41: error: comparison between signed an d unsigned integer expressions
- Auto-submitted: auto-generated
- References: <bug-50005-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50005
--- Comment #2 from Jan Hubicka <hubicka at ucw dot cz> 2011-08-07 23:41:45 UTC ---
> Casting the VEC_length call to (int) fixes the problem, and is consistent with
> several other comparisons involving VEC_int in this file:
Oops, the patch is OK.
Honza