aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-pragma.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-pragma.c')
-rw-r--r--gcc/c-pragma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c
index b2bbfae..63c0acb 100644
--- a/gcc/c-pragma.c
+++ b/gcc/c-pragma.c
@@ -1203,7 +1203,7 @@ handle_pragma_message (cpp_reader *ARG_UNUSED(dummy))
warning (OPT_Wpragmas, "junk at end of %<#pragma message%>");
if (TREE_STRING_LENGTH (message) > 1)
- inform ("#pragma message: %s", TREE_STRING_POINTER (message));
+ inform (input_location, "#pragma message: %s", TREE_STRING_POINTER (message));
}
/* A vector of registered pragma callbacks. */