This is the mail archive of the gcc-patches@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]

Re: [PATCH][TUPLES] Tuplification of tree-ssa-uncprop.c


""Doug Kwan (éæå)"" <dougkwan@google.com> writes:

> 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.

In the future, I advise against naming a variable l, as in many
typefaces it is too easy to confuse with 1.  You don't have to change
what you checked in, though.

Ian


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