[Ada] Remove dead code for overlapping actuals in prefix notation

Pierre-Marie de Rodat derodat@adacore.com
Fri Jun 18 08:38:26 GMT 2021

Detection of overlapping actuals doesn't need to be special-cased for
prefix notation, because it is done after prefixed calls have been
rewritten into ordinary calls, both in normal compilation and semantic
checking mode (with switch -gnatc).

Behaviour is unaffected; the removed code was dead.

Tested on x86_64-pc-linux-gnu, committed on trunk


	* sem_warn.adb (Warn_On_Overlapping_Actuals): Remove dead branch
	for overlapping actuals in prefix notation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 2412 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210618/5e1b55a2/attachment-0001.bin>

More information about the Gcc-patches mailing list