+2017-04-18 Georg-Johann Lay <avr@gjlay.de>
+
+ PR target/79435
+ * config/avr/avr.c (intl.h): Include it.
+ (avr_pgm_check_var_decl) [reason]: Wrap diagnostic snippets into _().
+
2017-04-18 Martin Liska <mliska@suse.cz>
PR gcov-profile/78783
#include "config.h"
#include "system.h"
+#include "intl.h"
#include "coretypes.h"
#include "backend.h"
#include "target.h"
case VAR_DECL:
if (as = avr_nonconst_pointer_addrspace (TREE_TYPE (node)), as)
- reason = "variable";
+ reason = _("variable");
break;
case PARM_DECL:
if (as = avr_nonconst_pointer_addrspace (TREE_TYPE (node)), as)
- reason = "function parameter";
+ reason = _("function parameter");
break;
case FIELD_DECL:
if (as = avr_nonconst_pointer_addrspace (TREE_TYPE (node)), as)
- reason = "structure field";
+ reason = _("structure field");
break;
case FUNCTION_DECL:
if (as = avr_nonconst_pointer_addrspace (TREE_TYPE (TREE_TYPE (node))),
as)
- reason = "return type of function";
+ reason = _("return type of function");
break;
case POINTER_TYPE:
if (as = avr_nonconst_pointer_addrspace (node), as)
- reason = "pointer";
+ reason = _("pointer");
break;
}