[Ada] Add missing tag with -gnatw.d
authorArnaud Charlet <charlet@adacore.com>
Wed, 26 Feb 2020 10:01:53 +0000 (05:01 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 9 Jun 2020 08:09:01 +0000 (04:09 -0400)
2020-06-09  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* sem_warn.adb (Warn_On_Constant_Valid_Condition): Add proper
warning tag.

gcc/ada/sem_warn.adb

index 0158adc..b84e82e 100644 (file)
@@ -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;