[Ada] Remove dead code for overlapping actuals in prefix notation
Pierre-Marie de Rodat
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...
Size: 2412 bytes
Desc: not available
More information about the Gcc-patches