aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/interface.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2020-04-25 17:10:43 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:14:06 -0300
commitbda5ce5b471cf2873575c9c7fa110a9875b3f810 (patch)
tree83db10193ac2a5a37c72662c96830e75264a156c /gcc/fortran/interface.c
parent420bf08dd17d113d9e83f3113fbc7243bdec03fc (diff)
downloadgcc-bda5ce5b471cf2873575c9c7fa110a9875b3f810.zip
gcc-bda5ce5b471cf2873575c9c7fa110a9875b3f810.tar.gz
gcc-bda5ce5b471cf2873575c9c7fa110a9875b3f810.tar.bz2
[Ada] Small cleanup in Apply_Range_Check implementation
2020-06-19 Eric Botcazou <ebotcazou@adacore.com> gcc/ada/ * checks.ads (Apply_Static_Length_Check): Move up. (Apply_Range_Check): Add parameter Insert_Node. * checks.adb (Apply_Selected_Range_Checks): Merge into... (Apply_Range_Check): ...this. Add parameter Insert_Node, pass it as Warn_Node to Selected_Range_Checks and use it as insertion point for the checks. * sem_ch3.adb (Analyze_Subtype_Declaration): Rewrite block dealing with the range checks for the subtype indication. Use local variable and call Apply_Range_Check in both cases.
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions