[Bug c++/28017] lack of guard variables for explicitly instantiated template static data

pinskia at physics dot uc dot edu gcc-bugzilla@gcc.gnu.org
Tue Jun 13 21:41:00 GMT 2006



------- Comment #6 from pinskia at physics dot uc dot edu  2006-06-13 21:24 -------
Subject: Re:  lack of guard variables for explicitly instantiated template
static data

> #define NEEDS_GUARD_P(decl) (TREE_PUBLIC (decl) && (DECL_COMMON (decl)      \
>                                                     || DECL_ONE_ONLY (decl) \
>                                                     || DECL_WEAK (decl) \
>                                                     ||
> (!TARGET_WEAK_NOT_IN_ARCHIVE_TOC \
>       || (! DECL_EXPLICIT_INSTANTIATION (decl) \
>           && ! DECL_TEMPLATE_SPECIALIZATION (decl)))))
> 
> ?

The latter.

-- Pinski


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28017



More information about the Gcc-bugs mailing list