aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gnatxref.adb
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2018-07-31 09:56:21 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-07-31 09:56:21 +0000
commit6cdce5064b7e2c30beec8a99f1b19869f14398a7 (patch)
treea9c4a33556cefd3b66bc8a316f84ce245d638003 /gcc/ada/gnatxref.adb
parentc992e2e4bd68729e7849c5649a9492263aedc063 (diff)
downloadgcc-6cdce5064b7e2c30beec8a99f1b19869f14398a7.zip
gcc-6cdce5064b7e2c30beec8a99f1b19869f14398a7.tar.gz
gcc-6cdce5064b7e2c30beec8a99f1b19869f14398a7.tar.bz2
[Ada] Spurious error on default parameter in protected operation
This patch fixes a spurious compiler error on a call to a protected operation whose profile includes a defaulted in-parameter that is a call to another protected function of the same object. 2018-07-31 Ed Schonberg <schonberg@adacore.com> gcc/ada/ * exp_ch6.adb (Expand_Protected_Subprogram_Call): Handle properly a protected call that includes a default parameter that is a call to a protected function of the same type. gcc/testsuite/ * gnat.dg/prot5.adb, gnat.dg/prot5_pkg.adb, gnat.dg/prot5_pkg.ads: New testcase. From-SVN: r263101
Diffstat (limited to 'gcc/ada/gnatxref.adb')
0 files changed, 0 insertions, 0 deletions