[Ada] Look at Others_Discrete_Choices for N_Others_Choice

Pierre-Marie de Rodat derodat@adacore.com
Thu Jun 17 14:33:10 GMT 2021


When seeing if we have any static predicates in an "others" choice for a
case statement, look at and possibly update choices
Others_Discrete_Choices.

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

gcc/ada/

	* exp_util.adb (Expand_Static_Predicates_In_Choices): Handle
	Others_Discrete_Choices in N_Others_Choice.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 928 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210617/bc612e6a/attachment-0001.bin>


More information about the Gcc-patches mailing list