Richard Kenner wrote on 03/30/07 13:45: > One concern I have in marking a DECL addressable that early on is that > it may stay "stuck" even if the ADDR_EXPR is later eliminated. This can > be common in inlined situations, I thought.
The aliaser is fairly aggressive at removing TREE_ADDRESSABLE from variables that do not need it anymore, so that should not be a problem. > We *do* have to make up our mind, of course, on a precise time when it's > set and be very clear about whether we can reset it (and how) if we > discover later that the address actually isn't being taken. Agreed.