This is the mail archive of the gcc@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] | |
we do not do that currently. Something similar is on my todo list -- replacement of the final value of an eliminated induction variable, as in
for (i = 0; i < 100; i++) a = 10 * i; foo (a);
to
for (i = 0; i < 100; i++); a = 1000; foo (a);
but I am not sure whether to do it for non-integer variables as well, due to reasons you mention below.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |