]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Optional warning on build-in-place function calls
authorVasiliy Fofanov <fofanov@adacore.com>
Fri, 22 May 2020 11:22:41 +0000 (13:22 +0200)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:16:51 +0000 (13:16 -0300)
commit14fdc84c0682a12086f347210a623ce742d1af2f
tree82e17e454d36fd13256900d841757c286a5b052f
parenta86cf3b2271a1b76c674d65918e19bf288d00d98
[Ada] Optional warning on build-in-place function calls

gcc/ada/

* debug.adb: Document new switch.
* exp_ch6.adb (Warn_BIP): New function that warns if the switch
is on.  Call it from Make_Build_In_Place_* functions.  Warn_BIP
is not needed in Make_Build_In_Place_Iface_*, because those call
Make_Build_In_Place_Call_In_Object_Declaration or similar.
gcc/ada/debug.adb
gcc/ada/exp_ch6.adb