From dfa075d00d396f554b4aca183c3ca685fbb73bbd Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 23 Jan 2020 16:03:27 -0700 Subject: [PATCH] Fix diagnostic text on H8. * config/h8300/h8300.c (h8300_option_override): Fix diagnostic text. --- gcc/ChangeLog | 4 ++++ gcc/config/h8300/h8300.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c00deeed142..023e9c398ea 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-01-23 Jeff Law + + * config/h8300/h8300.c (h8300_option_override): Fix diagnostic text. + 2020-01-23 Mikael Tillenius * config/h8300/h8300.h (FUNCTION_PROFILER): Fix emission of diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 6c84b0abea7..ffbfa9eaaa9 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -378,8 +378,8 @@ h8300_option_override (void) if ((!TARGET_H8300S && TARGET_NEXR) && (!TARGET_H8300SX && TARGET_NEXR)) { - warning (OPT_mno_exr, "%<-mno-exr%> valid only with %<-ms%> or " - "%<-msx%> - Option ignored!"); + warning (OPT_mno_exr, "%<-mno-exr%> is valid only with %<-ms%> or " + "%<-msx%> - option ignored"); } #ifdef H8300_LINUX -- 2.30.2