[Ada] Attribute Address is not an interfering context in SPARK

Pierre-Marie de Rodat derodat@adacore.com
Fri May 7 09:38:23 GMT 2021


Allow taking the address of a volatile object in SPARK, as it doesn't
cause problems related to interfering contexts.

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

gcc/ada/

	* sem_res.adb (Flag_Object): Ignore prefixes of attribute
	Address.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 814 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210507/9ccdb776/attachment-0001.bin>


More information about the Gcc-patches mailing list