This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][TUPLES] Tuplification of tree-ssa-uncprop.c
Actually, the index i is used in two loops and the uses are disjoint.
The first loops counts from 0 to n_lables - 1. The other loop counts
from 0 to n_basic_blocks - 1. Instead of using a cast, I just use two
indices l (size_t) and i (int). A cast would look like an ugly hack.
I will re-test and commit.
-Doug
2008/4/14 Diego Novillo <dnovillo@google.com>:
> On 4/14/08 1:33 PM, Doug Kwan (Ãö®¶¼w) wrote:
>
> > They were of type size_t but I ran it into a warning about comparing i
> > with n_basic_blocks, which is of the type int. The warning became a
> > compilation error with -Werror. I can put a cast in the comparison.
> >
>
> Ah, yes, that's a good idea.
>
>
> Thanks. Diego.
>