]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Remove kludge for validity checks on Long_Float type
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 6 Jun 2022 21:23:32 +0000 (23:23 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 5 Jul 2022 08:28:20 +0000 (08:28 +0000)
commita2eaf87ffeaee689e431a3c85b001208d6705421
tree84d52dd48f43850debba0efd0bf691e11b4e1fe8
parentc96dcf055028510b5b1630e12015b86d5f5c2f6e
[Ada] Remove kludge for validity checks on Long_Float type

This patch reverts a fix for a spurious warning for validity checks on
type Long_Float. This fix was dubious (as it was only affecting
Long_Float and not Float) and apparently is no longer needed.

Cleanup related to improved detection of uninitialised scalar objects.

gcc/ada/

* sem_attr.adb (Note_Possible_Modification): Revert a
special-case for validity checks on Long_Float type.
* snames.ads-tmpl (Name_Attr_Long_Float): Remove name added
exclusively for the mentioned fix.
gcc/ada/sem_attr.adb
gcc/ada/snames.ads-tmpl