summaryrefslogtreecommitdiff
path: root/gcc/config/mep
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mep')
-rw-r--r--gcc/config/mep/mep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c
index 5bb372ad31f..8a705ee8ec5 100644
--- a/gcc/config/mep/mep.c
+++ b/gcc/config/mep/mep.c
@@ -4601,13 +4601,13 @@ mep_select_section (tree decl, int reloc ATTRIBUTE_UNUSED,
case 'i':
case 'I':
- error ("%Hvariable %D of type %<io%> must be uninitialized",
- &DECL_SOURCE_LOCATION (decl), decl);
+ error_at (DECL_SOURCE_LOCATION (decl),
+ "variable %D of type %<io%> must be uninitialized", decl);
return data_section;
case 'c':
- error ("%Hvariable %D of type %<cb%> must be uninitialized",
- &DECL_SOURCE_LOCATION (decl), decl);
+ error_at (DECL_SOURCE_LOCATION (decl),
+ "variable %D of type %<cb%> must be uninitialized", decl);
return data_section;
}
}