From e50d50f0c236e9374cfe6a387b1ea24e5f490682 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Wed, 10 Mar 2021 09:45:11 +0100 Subject: [PATCH] [Ada] Remove dead code for overlapping actuals and prefix notation gcc/ada/ * sem_warn.adb (Warn_On_Overlapping_Actuals): Remove dead code. --- 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 cbe6956..1e62d47 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. -- 2.7.4