diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-06-08 20:52:48 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-07-05 08:28:20 +0000 |
commit | c96dcf055028510b5b1630e12015b86d5f5c2f6e (patch) | |
tree | c28ebeceaf8205cc1e539872b1dd638fb3a7eea4 /gcc/ada/gcc-interface | |
parent | 6ba8c078cabee2c6abc669971e1351536ce721ec (diff) | |
download | gcc-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