[Ada] AI12-0293-1 Remove pragma Assert

Pierre-Marie de Rodat derodat@adacore.com
Fri Jun 19 08:28:33 GMT 2020

...and replace it with an explicit check, so it is enabled whether or
not assertions are enabled.

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

2020-06-19  Bob Duff  <duff@adacore.com>


	* libgnat/a-ststbo.adb (Write): Replace pragma Assert with "if
	... raise Constraint_Error".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 1107 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200619/38963f53/attachment-0001.bin>

More information about the Gcc-patches mailing list