[Ada] Add Return_Statement field

Pierre-Marie de Rodat derodat@adacore.com
Mon Jun 21 11:05:34 GMT 2021


Used by GNAT LLVM to handle E_Constant and E_Variable with
Is_Return_Object.

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

gcc/ada/

	* einfo.ads (Return_Statement): Add documentation.
	* exp_ch6.adb (Expand_N_Extended_Return_Statement): Set it.
	* gen_il-fields.ads: Add it.
	* gen_il-gen-gen_entities.adb: Add it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 2200 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210621/d0d36166/attachment-0001.bin>


More information about the Gcc-patches mailing list