[Ada] Remove dubious wrapper of a recursive function

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


Routine Is_Valid_Renaming was a wrapper subprogram that simply called
its nested function. Code cleanup; semantics is unaffected.

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

gcc/ada/

	* sem_util.adb (Is_Valid_Renaming): Body moved from its nested
	routine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 3598 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210617/ea2e2e44/attachment-0001.bin>


More information about the Gcc-patches mailing list