[Ada] Non-static Interrupt_Priority allowed with restriction Static_Priorities

Pierre-Marie de Rodat derodat@adacore.com
Wed Jun 16 08:43:55 GMT 2021

This patch fixes an issue in the compiler whereby a non-static
expression is allowed as an argument to aspect Interrupt_Priority
despite restriction Static_Priorities being in effect.

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


	* sem_ch13.adb (Make_Aitem_Pragma): Check for static expressions
	in Priority aspect arguments for restriction Static_Priorities.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 697 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210616/d3f74360/attachment-0001.bin>

More information about the Gcc-patches mailing list