From 881d7a9f46d7cd3d47fb96671454db4aa5ec630a Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Wed, 26 Feb 2020 05:01:53 -0500 Subject: [PATCH] [Ada] Add missing tag with -gnatw.d 2020-06-09 Arnaud Charlet gcc/ada/ * sem_warn.adb (Warn_On_Constant_Valid_Condition): Add proper warning tag. --- gcc/ada/sem_warn.adb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/ada/sem_warn.adb b/gcc/ada/sem_warn.adb index 0158adcd320..b84e82e989a 100644 --- a/gcc/ada/sem_warn.adb +++ b/gcc/ada/sem_warn.adb @@ -3386,11 +3386,11 @@ package body Sem_Warn is if True_Result then Error_Msg_N - ("condition can only be False if invalid values present??", Op); + ("condition can only be False if invalid values present?c?", Op); elsif False_Result then Error_Msg_N - ("condition can only be True if invalid values present??", Op); + ("condition can only be True if invalid values present?c?", Op); end if; end if; end Warn_On_Constant_Valid_Condition; -- 2.30.2