[Ada] Crash on expansion of tagged membership test
Pierre-Marie de Rodat
Tue Nov 9 09:46:16 GMT 2021
This patch corrects an issue in the compiler whereby the expansion of a
tagged membership test when one of the types involved is a protected
type can cause a crash a compile-time.
Tested on x86_64-pc-linux-gnu, committed on trunk
* exp_ch4.adb (Tagged_Membership): Use corresponding record type
when expanding a tagged membership test on protected types.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 817 bytes
Desc: not available
More information about the Gcc-patches