diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2021-10-13 20:50:28 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-10-20 10:17:05 +0000 |
commit | 60440d3cf51acb9cb63543d5bb71fd50cfdd9470 (patch) | |
tree | 0c2192593e8843d65666156b6102cd3f8d5c202c /gcc/tree-ssa-threadupdate.c | |
parent | 931d4819f740ade9707436447b6d7a1148d65d54 (diff) | |
download | gcc-60440d3cf51acb9cb63543d5bb71fd50cfdd9470.zip gcc-60440d3cf51acb9cb63543d5bb71fd50cfdd9470.tar.gz gcc-60440d3cf51acb9cb63543d5bb71fd50cfdd9470.tar.bz2 |
[Ada] Factor out machine rounding operations
gcc/ada/
* sem_eval.ads (Machine_Number): New inline function.
* sem_eval.adb (Machine_Number): New function body implementing
the machine rounding operation specified by RM 4.9(38/2).
(Check_Non_Static_Context): Call Machine_Number and set the
Is_Machine_Number flag consistently on the resulting node.
* sem_attr.adb (Eval_Attribute) <Attribute_Machine>: Likewise.
* checks.adb (Apply_Float_Conversion_Check): Call Machine_Number.
(Round_Machine): Likewise.
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
0 files changed, 0 insertions, 0 deletions