LOOP_HEADER tree code?

Devang Patel devang.patel@gmail.com
Wed Oct 25 22:08:00 GMT 2006


On 10/25/06, Steven Bosscher <stevenb.gcc@gmail.com> wrote:

> You could use TREE_USED,  but your suggestion implies that dead code
> should be retained in the program,

May be I misunderstood, but it is not dead code. Here is what Zdenek said,

"
...
To keep the information valid, we need
> >   to prevent optimizations from destroying it (e.g., if the number
> >   is n_1 = n_2 - 1, and this is the last use of n_1, we do not want
> >   DCE to remove it);

..."

-
Devang



More information about the Gcc mailing list