diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-03-10 09:45:11 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-06-17 10:32:12 -0400 |
commit | e50d50f0c236e9374cfe6a387b1ea24e5f490682 (patch) | |
tree | aeba686ef8d269be8f43a356ada75c9292d65ac8 /gcc | |
parent | f0cc08566e5366f3150527c0e9710c007a26890c (diff) | |
download | gcc-e50d50f0c236e9374cfe6a387b1ea24e5f490682.zip gcc-e50d50f0c236e9374cfe6a387b1ea24e5f490682.tar.gz gcc-e50d50f0c236e9374cfe6a387b1ea24e5f490682.tar.bz2 |
[Ada] Remove dead code for overlapping actuals and prefix notation
gcc/ada/
* sem_warn.adb (Warn_On_Overlapping_Actuals): Remove dead code.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/sem_warn.adb | 6 |
1 files changed, 0 insertions, 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. |