- inline fn local statics, use gnu_unique_object so that \
- they will be combined even under RTLD_LOCAL. */ \
- if (USE_GNU_UNIQUE_OBJECT \
- && !DECL_ARTIFICIAL (DECL) && DECL_ONE_ONLY (DECL)) \
+ inline fn local statics and their guard variables, use \
+ gnu_unique_object so that they will be combined even under \
+ RTLD_LOCAL. Don't use gnu_unique_object for typeinfo, \
+ vtables and other read-only artificial decls. */ \
+ if (USE_GNU_UNIQUE_OBJECT && DECL_ONE_ONLY (DECL) \
+ && (!DECL_ARTIFICIAL (DECL) || !TREE_READONLY (DECL))) \