-
- Downloads
[Ada] Reject constants of access-to-variable type as function globals
gcc/ada/ * sem_prag.adb (Analyze_Global_Item): Take subprogram kind into account when accepting or rejecting a constant of an access-to-variable type as a global Output/In_Out; do this check inside an ELSIF branch to avoid unnecessary evaluation of the subsequent condition.
Loading
Please register or sign in to comment