[Ada] Simplify type conversions in source pointer arithmetic

Pierre-Marie de Rodat derodat@adacore.com
Thu Jan 6 17:13:07 GMT 2022


Code cleanup; semantics is unaffacted.

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

gcc/ada/

	* sem_res.adb (Resolve_String_Literal): Simplify pointer
	arithmetic.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 511 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20220106/6046b1f0/attachment.bin>


More information about the Gcc-patches mailing list