exp_ch9.ads, [...] (Build_Wrapper_Spec): Use source line of primitive operation...
authorEd Schonberg <schonberg@adacore.com>
Wed, 29 Apr 2009 13:20:27 +0000 (13:20 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 29 Apr 2009 13:20:27 +0000 (15:20 +0200)
commiteb9cb0fc5e0c945f8f2bc0d3acaf4fbba7acfe6b
treec48d51fc9f53affdb580ed2ce609b90d8439b495
parent7f7d37cbf136d4d43dec8d70b0d8308bd3cc4459
exp_ch9.ads, [...] (Build_Wrapper_Spec): Use source line of primitive operation...

2009-04-29  Ed Schonberg  <schonberg@adacore.com>

* exp_ch9.ads, exp_ch9.adb (Build_Wrapper_Spec): Use source line of
primitive operation, rather than source line of synchronized type, when
building the wrapper for a primitive operation that overrides an
operation inherited from a progenitor, to improve the error message on
duplicate declarations.

* sem_ch3.adb (Process_Full_View): Use new signature of
Build_Wrapper_Spec.

From-SVN: r146961
gcc/ada/ChangeLog
gcc/ada/exp_ch9.adb
gcc/ada/exp_ch9.ads
gcc/ada/sem_ch3.adb