aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/except.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r--gcc/cp/except.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 902aeb2..6aff7b5 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -304,7 +304,8 @@ decl_is_java_type (tree decl, int err)
if (jthrow_node == NULL_TREE)
fatal_error
- ("call to Java %<catch%> or %<throw%> with %<jthrowable%> undefined");
+ (input_location,
+ "call to Java %<catch%> or %<throw%> with %<jthrowable%> undefined");
jthrow_node = TREE_TYPE (TREE_TYPE (jthrow_node));