[Ada] Build activation chain for BIP only when needed

Pierre-Marie de Rodat derodat@adacore.com
Tue Nov 9 09:45:36 GMT 2021


In some cases, BIP references tasking while it is not needed.  Check if
this is needed before adding this reference.

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

gcc/ada/

	* exp_ch6.adb (Expand_Actuals): Add a condition to check for the
	possibility of task.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 698 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211109/43074ed4/attachment.bin>


More information about the Gcc-patches mailing list