This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug c++/28017] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]