Re: [PATCH] Fix a -Wsign-compare warning in i386.c

2013-04-27 Thread Uros Bizjak
On Sat, Apr 27, 2013 at 12:23 AM, Jakub Jelinek wrote: > GCC 4.7.2 warns about -Wsign-compare when unsigned iterator is compared > with cregs_size. GCC 4.8 doesn't warn about it (otherwise bootstrap would > fail), because it calls maybe_constant_value before emitting the warning, > but still I'd

[PATCH] Fix a -Wsign-compare warning in i386.c

2013-04-26 Thread Jakub Jelinek
Hi! GCC 4.7.2 warns about -Wsign-compare when unsigned iterator is compared with cregs_size. GCC 4.8 doesn't warn about it (otherwise bootstrap would fail), because it calls maybe_constant_value before emitting the warning, but still I'd say it is better to use the same signedness. Bootstrapped/