[Ada] Fix support for prefixed call with incomplete type declarations

Pierre-Marie de Rodat derodat@adacore.com
Tue Nov 9 09:45:40 GMT 2021


GNAT crashes when using -gnatX on code with an incomplete type
declaration, due to a missing initialization of the list meant to store
primitive operations. Now fixed.

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

gcc/ada/

	* sem_ch3.adb (Analyze_Incomplete_Type_Decl): Add the missing
	initialization.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 643 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211109/65e13920/attachment.bin>


More information about the Gcc-patches mailing list