[Ada] Refactor duplicated code for Adjacent, Copy_Sign and Remainder
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 23 Nov 2020 15:40:06 +0000 (16:40 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:49 +0000 (06:41 -0500)
commite30609bf042cbc937bece4ae00347a37f76af87f
tree235f00a9f31bdef38f25e10b3a954498e0239408
parenta8ecf5ec3288acf2c6578de794050764189bf12d
[Ada] Refactor duplicated code for Adjacent, Copy_Sign and Remainder

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Merge identical code for
Adjacent, Copy_Sign and Remainder attributes.
(Check_Floating_Point_Type_2): Fix style in comment.
gcc/ada/sem_attr.adb