This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Clarify longcall attribute
David Edelsohn wrote:
> * doc/invoke.texi (RS/600 and PowerPC Options): Document that
> -mlongcall does not guarantee all calls will be long.
> * doc/extend.texi (long_call/short_call): Document that longcall
> does not guarantee a long call will be used.
> (longcall/shortcall): Likewise.
>
> The RS/6000 invoke.texi part of the patch is fine with me. Please correct
> the ChangeLog from RS/600 to RS/6000.
Nathan, this change is OK for the other architectures as well. I think
you've worded it sufficiently carefully; in the generic documentation,
you're now saying that the compiler will be smart enough to use short
calls when it can, but you're giving it the option.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713