aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2022-06-08 20:52:48 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-07-05 08:28:20 +0000
commitc96dcf055028510b5b1630e12015b86d5f5c2f6e (patch)
treec28ebeceaf8205cc1e539872b1dd638fb3a7eea4 /gcc/ada/gcc-interface
parent6ba8c078cabee2c6abc669971e1351536ce721ec (diff)
downloadgcc-c96dcf055028510b5b1630e12015b86d5f5c2f6e.zip
gcc-c96dcf055028510b5b1630e12015b86d5f5c2f6e.tar.gz
gcc-c96dcf055028510b5b1630e12015b86d5f5c2f6e.tar.bz2
[Ada] Remove repeated setting of Never_Set_In_Source
Formal parameters have their flag Never_Set_In_Source set at the beginning of Process_Formals routine (regardless of the parameter mode). There is no need to set it again when Process_Formals calls Set_Formal_Mode (for parameters of mode IN OUT and OUT). Code cleanup related to improved detection of uninitialised objects; behaviour is unaffected. gcc/ada/ * sem_ch6.adb (Set_Formal_Mode): Remove unnecessary setting of Never_Set_In_Source.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions