Not a regression, but only affects a diagnostic on the H8 port.
As pointed out in the BZ, we should not be emitting an exclamation
point in the diagnostic and the capitalization was incorrect. Fixed by
the attached patch which I've committed to the trunk.
Jeff
commit dfa075d00d396f554b4aca183c3ca685fbb73bbd
Author: Jeff Law <[email protected]>
Date: Thu Jan 23 16:03:27 2020 -0700
Fix diagnostic text on H8.
* config/h8300/h8300.c (h8300_option_override): Fix diagnostic text.
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 <[email protected]>
+
+ * config/h8300/h8300.c (h8300_option_override): Fix diagnostic text.
+
2020-01-23 Mikael Tillenius <[email protected]>
* 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