The 07/13/2020 12:24, Richard Sandiford wrote: > Szabolcs Nagy <szabolcs.n...@arm.com> writes: > > The expected semantics and valid usage of __builtin_return_address is > > not clear since it exposes implementation internals that are normally > > not meaningful to portable c code. > > > > This documentation change tries to clarify the semantics in case the > > return address is stored in a mangled form. This affects AArch64 when > > pointer authentication is used for the return address signing (i.e. > > -mbranch-protection=pac-ret). > > > > gcc/ChangeLog: > > > > 2020-06-04 Szabolcs Nagy <szabolcs.n...@arm.com> > > > > * doc/extend.texi: Update the text for __builtin_return_address. > > LGTM apart from minor nits: ... > OK for trunk and branches with those changes.
thanks, committed with those changes and backported to gcc-10 now. (i will backport to gcc-9 and gcc-8 a bit later.)