diff options
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 42dabb9..0a9defd 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -5130,8 +5130,8 @@ execute_warn_function_noreturn (void) && !TREE_THIS_VOLATILE (cfun->decl) && EDGE_COUNT (EXIT_BLOCK_PTR->preds) == 0 && !lang_hooks.function.missing_noreturn_ok_p (cfun->decl)) - warning (0, "%Jfunction might be possible candidate for " - "attribute %<noreturn%>", + warning (OPT_Wmissing_noreturn, "%Jfunction might be possible candidate " + "for attribute %<noreturn%>", cfun->decl); } |