aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_disp.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2020-03-06 05:33:41 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-10 09:34:59 -0400
commit3aeb5ebe953a78223ef7ac9abee9b7adb709b29f (patch)
tree528417aa5a9fd8e69a7ce0d7ec10bb608a99c43a /gcc/ada/sem_disp.adb
parenta53b03b5a7b2cdb00aed0618117f6b855eb3891a (diff)
downloadgcc-3aeb5ebe953a78223ef7ac9abee9b7adb709b29f.zip
gcc-3aeb5ebe953a78223ef7ac9abee9b7adb709b29f.tar.gz
gcc-3aeb5ebe953a78223ef7ac9abee9b7adb709b29f.tar.bz2
[Ada] Remove more references to ASIS
2020-06-10 Arnaud Charlet <charlet@adacore.com> gcc/ada/ * atree.adb, contracts.adb, debug.adb, freeze.adb, repinfo-input.adb, repinfo.adb, sem_attr.adb, sem_ch10.adb, sem_ch13.adb, sem_ch3.adb, sem_ch5.adb, sem_ch6.adb, sem_ch8.adb, sem_ch9.adb, sem_disp.adb, sem_eval.adb, sem_prag.adb: Remove more references to ASIS.
Diffstat (limited to 'gcc/ada/sem_disp.adb')
-rw-r--r--gcc/ada/sem_disp.adb16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/ada/sem_disp.adb b/gcc/ada/sem_disp.adb
index 5fb5a56..a2fbcfc 100644
--- a/gcc/ada/sem_disp.adb
+++ b/gcc/ada/sem_disp.adb
@@ -1482,22 +1482,6 @@ package body Sem_Disp is
end if;
end if;
- -- If the tagged type is a concurrent type then we must be compiling
- -- with no code generation (we are either compiling a generic unit or
- -- compiling under -gnatc mode) because we have previously tested that
- -- no serious errors has been reported. In this case we do not add the
- -- primitive to the list of primitives of Tagged_Type but we leave the
- -- primitive decorated as a dispatching operation to be able to analyze
- -- and report errors associated with the Object.Operation notation.
-
- elsif Is_Concurrent_Type (Tagged_Type) then
- pragma Assert (not Expander_Active);
-
- -- Attach operation to list of primitives of the synchronized type
- -- itself, for ASIS use.
-
- Add_Dispatching_Operation (Tagged_Type, Subp);
-
-- If no old subprogram, then we add this as a dispatching operation,
-- but we avoid doing this if an error was posted, to prevent annoying
-- cascaded errors.