From: Piotr Trojanek Date: Wed, 10 Mar 2021 08:45:11 +0000 (+0100) Subject: [Ada] Remove dead code for overlapping actuals and prefix notation X-Git-Tag: upstream/12.2.0~7114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e50d50f0c236e9374cfe6a387b1ea24e5f490682;p=platform%2Fupstream%2Fgcc.git [Ada] Remove dead code for overlapping actuals and prefix notation gcc/ada/ * sem_warn.adb (Warn_On_Overlapping_Actuals): Remove dead code. --- 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.