aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rx/rx.h
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2018-07-17 08:13:28 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-07-17 08:13:28 +0000
commit118f2d8bc3e6804996ca2953b86454ec950054bf (patch)
tree86e45eb96a5f6af1683a831858de4d7b4844ac5d /gcc/config/rx/rx.h
parent5b4f211d2a7f41f147413d0b756ffe56aec78230 (diff)
downloadgcc-118f2d8bc3e6804996ca2953b86454ec950054bf.zip
gcc-118f2d8bc3e6804996ca2953b86454ec950054bf.tar.gz
gcc-118f2d8bc3e6804996ca2953b86454ec950054bf.tar.bz2
[Ada] Spurious error on prefixed call in an instantiation
This patch fixes a spurious error on a prefixed call in an instance, when the generic parameters include an interface type and an abstract operation of that type, and the actuals in the instance include an interface type and a corresponding abstract operation of it, with a different name than the corresponding generic subprogram parameter. The patch also fixes a similar error involving class-wide operations and generic private types. 2018-07-17 Ed Schonberg <schonberg@adacore.com> gcc/ada/ * sem_ch4.adb (Try_Object_Operation): Handle properly a prefixed call in an instance, when the generic parameters include an interface type and a abstract operation of that type, and the actuals in the instance include an interface type and a corresponding abstract operation of it, with a different name than the corresponding generic subprogram parameter. gcc/testsuite/ * gnat.dg/generic_call_cw.adb, gnat.dg/generic_call_iface.adb: New testcase. From-SVN: r262803
Diffstat (limited to 'gcc/config/rx/rx.h')
0 files changed, 0 insertions, 0 deletions