diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2020-12-01 15:18:34 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-12-17 05:49:24 -0500 |
commit | 445032728dd46e3692a9aed879c6cf350259a53a (patch) | |
tree | dd8295c90c06c0e12fac6921babc3b50e5690e84 /gcc/fixed-value.c | |
parent | 7948214670c90dfdb656b7c71779745776f74f41 (diff) | |
download | gcc-445032728dd46e3692a9aed879c6cf350259a53a.zip gcc-445032728dd46e3692a9aed879c6cf350259a53a.tar.gz gcc-445032728dd46e3692a9aed879c6cf350259a53a.tar.bz2 |
[Ada] Reduce scopes of local variables for case and if statements
gcc/ada/
* sem_ch5.adb (Analyze_Case_Statement): Change local variable
Exp to constant; remove unreferenced Last_Choice variable;
reduce scope of other variables.
(Analyze_If_Statement): Reduce scope of a local variable; add
comment.
Diffstat (limited to 'gcc/fixed-value.c')
0 files changed, 0 insertions, 0 deletions