On Sun, Nov 25, 2012 at 3:07 PM, Jakub Jelinek <ja...@redhat.com> wrote:
> Do you want to handle TLS_MODEL_EMULATED that way? If not, the test > should be DECL_THREAD_LOCAL_P (decl) (I believe you want that), > if yes, perhaps DECL_TLS_MODEL (decl) != TLS_MODEL_NONE. Thanks for pointing this out. I should have used DECL_THREAD_LOCAL_P . The question and proposed patch remain open. Thanks, David