aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2020-12-22 01:06:31 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-05-04 05:17:30 -0400
commitc356dfdd6fb75553d010852b0a801c9e780290e8 (patch)
tree5124b3a0485870e3352510c6014bb1b882295e6a /gcc/c
parent98a54aa50496f5c403ad34e5ef4e758945666be5 (diff)
downloadgcc-c356dfdd6fb75553d010852b0a801c9e780290e8.zip
gcc-c356dfdd6fb75553d010852b0a801c9e780290e8.tar.gz
gcc-c356dfdd6fb75553d010852b0a801c9e780290e8.tar.bz2
[Ada] Reject formals of mode IN appearing as global outputs
gcc/ada/ * sem_prag.adb (Check_Mode_Restriction_In_Enclosing_Context): Apply the rule even with no explicit Global contract (and remove a dead condition for Refined_Global).
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions