This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/50005] [4.7 Regression] ipa-inline-analysis.c:1876:41: error: comparison between signed an d unsigned integer expressions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]