[Ada] New warning on questionable missing parentheses
authorYannick Moy <moy@adacore.com>
Fri, 16 Oct 2020 14:56:49 +0000 (16:56 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 26 Nov 2020 08:39:40 +0000 (03:39 -0500)
commit0dd6aab195175ca58b58e05d23acfd42c378f51b
treeb085b98ffc2e553b39179a616aba2f73ba423bf0
parent96ccfec0296a20558942e034b9b7e64573b8b56a
[Ada] New warning on questionable missing parentheses

gcc/ada/

* sem_res.adb (Resolve_Equality_Op): Warn when -gnatwq is used
(the default) and the problematic case is encountered.
gcc/ada/sem_res.adb