diff options
Diffstat (limited to 'gcc/multiple_target.c')
-rw-r--r-- | gcc/multiple_target.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/multiple_target.c b/gcc/multiple_target.c index a1fe09a..a610d9a 100644 --- a/gcc/multiple_target.c +++ b/gcc/multiple_target.c @@ -347,6 +347,7 @@ expand_target_clones (struct cgraph_node *node, bool definition) if (node->definition && !tree_versionable_function_p (node->decl)) { + auto_diagnostic_group d; error_at (DECL_SOURCE_LOCATION (node->decl), "clones for %<target_clones%> attribute cannot be created"); const char *reason = NULL; |