]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/tree-inline.c
Wrap option names in gcc internal messages with %< and %>.
[thirdparty/gcc.git] / gcc / tree-inline.c
index 956e39f97682a83042782b9127b751ae8eb3d75d..829b984683ba2f16b07aa8c669b2357442270aee 100644 (file)
@@ -3674,7 +3674,7 @@ inline_forbidden_p_stmt (gimple_stmt_iterator *gsi, bool *handled_ops_p,
               return from the function the inline has been inlined into.  */
            inline_forbidden_reason
              = G_("function %q+F can never be inlined because "
-                  "it uses __builtin_return or __builtin_apply_args");
+                  "it uses %<__builtin_return%> or %<__builtin_apply_args%>");
            *handled_ops_p = true;
            return t;
 
@@ -3794,8 +3794,8 @@ tree_inlinable_function_p (tree fn)
       && always_inline == NULL)
     {
       if (do_warning)
-        warning (OPT_Winline, "function %q+F can never be inlined because it "
-                 "is suppressed using -fno-inline", fn);
+       warning (OPT_Winline, "function %q+F can never be inlined because it "
+                "is suppressed using %<-fno-inline%>", fn);
       inlinable = false;
     }