[Ada] Constraint_Error in Task_Wrapper and -u0

Pierre-Marie de Rodat derodat@adacore.com
Thu Nov 26 08:41:00 GMT 2020


When using the gnatbind switch -u0 and a runtime built with checks on,
we could get a range check error in System.Tasking.Stages.Task_Wrapper,
now fixed.

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

gcc/ada/

	* libgnarl/s-tassta.adb (Task_Wrapper): Fix computation of
	Pattern_Size.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 1464 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201126/c6f6111f/attachment-0001.bin>


More information about the Gcc-patches mailing list