aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch3.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2010-09-09 12:05:15 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2010-09-09 12:05:15 +0200
commit3a89c57d9eceff3a49b1500a34d0c7fec32be089 (patch)
tree397af612f836c05f010182011b707abab41f6e35 /gcc/ada/exp_ch3.adb
parenta24008b659b386107044f7ad3fcac3e3a6216ea5 (diff)
downloadgcc-3a89c57d9eceff3a49b1500a34d0c7fec32be089.zip
gcc-3a89c57d9eceff3a49b1500a34d0c7fec32be089.tar.gz
gcc-3a89c57d9eceff3a49b1500a34d0c7fec32be089.tar.bz2
[multiple changes]
2010-09-09 Ed Schonberg <schonberg@adacore.com> * exp_ch3.adb (Build_Untagged_Equality): Do not set alias of implicit inequality, it is always rewritten as the negation of the corresponding equality operation. * exp_ch8.adb (Expand_N_Subprogram_Renaming): If the subprogram renames the predefined equality of an untagged record, create a body at the point of the renaming, to capture the current meaning of equality for the type. 2010-09-09 Robert Dewar <dewar@adacore.com> * sem.adb, sem_warn.adb: Minor reformatting. From-SVN: r164064
Diffstat (limited to 'gcc/ada/exp_ch3.adb')
-rw-r--r--gcc/ada/exp_ch3.adb1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/ada/exp_ch3.adb b/gcc/ada/exp_ch3.adb
index 93303f9..1aec34c 100644
--- a/gcc/ada/exp_ch3.adb
+++ b/gcc/ada/exp_ch3.adb
@@ -3873,7 +3873,6 @@ package body Exp_Ch3 is
(Op, Is_Abstract_Subprogram (Eq_Op));
if Chars (Next_Entity (Op)) = Name_Op_Ne then
- Set_Alias (Next_Entity (Op), NE_Op);
Set_Is_Abstract_Subprogram
(Next_Entity (Op), Is_Abstract_Subprogram (NE_Op));
end if;