aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2013-04-22 12:47:36 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2013-04-22 12:47:36 +0200
commit1de0ffecde75db3dc66ec8bcd7504fe0481d194e (patch)
tree7e2e808dc7ca36842387365b2e2ce7cd23901d26 /gcc/ada
parentf6820c2d0eb622884ac873db8d0e360c2ff4480e (diff)
downloadgcc-1de0ffecde75db3dc66ec8bcd7504fe0481d194e.zip
gcc-1de0ffecde75db3dc66ec8bcd7504fe0481d194e.tar.gz
gcc-1de0ffecde75db3dc66ec8bcd7504fe0481d194e.tar.bz2
exp_ch6.adb: Omit check for init proc.
2013-04-22 Ed Schonberg <schonberg@adacore.com> * exp_ch6.adb: Omit check for init proc. From-SVN: r198131
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/exp_ch6.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/exp_ch6.adb b/gcc/ada/exp_ch6.adb
index 35060e7..9a09746 100644
--- a/gcc/ada/exp_ch6.adb
+++ b/gcc/ada/exp_ch6.adb
@@ -1709,6 +1709,7 @@ package body Exp_Ch6 is
if Is_By_Reference_Type (E_Formal)
and then Has_Predicates (E_Actual)
+ and then not Is_Init_Proc (Subp)
then
if Is_Derived_Type (E_Actual)
and then Is_Inherited_Operation_For_Type (Subp, E_Actual)