On 22/06/11 23:25, Ian Lance Taylor wrote:
"Paulo J. Matos"<pocma...@gmail.com>  writes:

On 22/06/11 17:34, Paulo J. Matos wrote:
I thought this was the same as using __attribute__((used)) on a function
declaration (which works).


DECL_PRESERVE_P(node) = 1;

seems to be what I wanted. :)

I always wondered what that was for.



Now we know... however the funny thing is that you would expect __attribute__((used)) to set TREE_USED(node), however, __attribute__((used)) sets the preserve flag.

This did confuse me yesterday! :)

Fortunately it is now solved. Thanks for you help!

Ian



Reply via email to