projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0cc085
)
[Ada] Remove dead code for overlapping actuals and prefix notation
author
Piotr Trojanek
<trojanek@adacore.com>
Wed, 10 Mar 2021 08:45:11 +0000
(09:45 +0100)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Thu, 17 Jun 2021 14:32:12 +0000
(10:32 -0400)
gcc/ada/
* sem_warn.adb (Warn_On_Overlapping_Actuals): Remove dead code.
gcc/ada/sem_warn.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/sem_warn.adb
b/gcc/ada/sem_warn.adb
index
cbe6956
..
1e62d47
100644
(file)
--- 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.