]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Additional warnings on overlapping actuals of composite types
authorEd Schonberg <schonberg@adacore.com>
Mon, 9 Mar 2020 20:36:55 +0000 (16:36 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 10 Jun 2020 13:35:01 +0000 (09:35 -0400)
commitf95fb9d019147b2af0c8107d6c6a6e2b6034d9fe
tree913a557c8d58290cee8e233d9625d1ab1e299a0c
parent67a44a4c109e6b2e684e96c346ec0f0fc1f56591
[Ada] Additional warnings on overlapping actuals of composite types

2020-06-10  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* sem_warn.adb (Warn_On_Overlapping_Actuals): Add a warning when
two actuals in a call overlap, both are composite types that may
be passed by reference, and only one of them is writable.
gcc/ada/sem_warn.adb