diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2020-12-22 01:06:31 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-05-04 05:17:30 -0400 |
commit | c356dfdd6fb75553d010852b0a801c9e780290e8 (patch) | |
tree | 5124b3a0485870e3352510c6014bb1b882295e6a /gcc/digraph.cc | |
parent | 98a54aa50496f5c403ad34e5ef4e758945666be5 (diff) | |
download | gcc-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/digraph.cc')
0 files changed, 0 insertions, 0 deletions