public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1583] [Ada] Remove dead code for overlapping actuals and prefix notation
@ 2021-06-17 14:34 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-06-17 14:34 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:e50d50f0c236e9374cfe6a387b1ea24e5f490682
commit r12-1583-ge50d50f0c236e9374cfe6a387b1ea24e5f490682
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Wed Mar 10 09:45:11 2021 +0100
[Ada] Remove dead code for overlapping actuals and prefix notation
gcc/ada/
* sem_warn.adb (Warn_On_Overlapping_Actuals): Remove dead code.
Diff:
---
gcc/ada/sem_warn.adb | 6 ------
1 file changed, 6 deletions(-)
diff --git a/gcc/ada/sem_warn.adb b/gcc/ada/sem_warn.adb
index cbe69568bcd..1e62d478022 100644
--- a/gcc/ada/sem_warn.adb
+++ b/gcc/ada/sem_warn.adb
@@ -3788,12 +3788,6 @@ package body Sem_Warn is
then
null;
- -- If the actual is a function call in prefix notation,
- -- there is no real overlap.
-
- elsif Nkind (Act2) = N_Function_Call then
- null;
-
-- If type is explicitly not by-copy, assume that
-- aliasing is intended.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-17 14:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 14:34 [gcc r12-1583] [Ada] Remove dead code for overlapping actuals and prefix notation Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).