svn commit: r284546 - head/contrib/gcc

Dimitry Andric dim at FreeBSD.org
Fri Jun 19 16:09:32 UTC 2015


On 18 Jun 2015, at 15:40, Adrian Chadd <adrian at FreeBSD.org> wrote:
> 
> Author: adrian
> Date: Thu Jun 18 13:40:08 2015
> New Revision: 284546
> URL: https://svnweb.freebsd.org/changeset/base/284546
> 
> Log:
>  Fix compilation of this macro under gcc-4.9 for MIPS32.
> 
>  Some point after gcc-4.2 the MIPS inline assembly restrictions changed -
>  =h (hi register) disappeared from the list of restrictions and can no
>  longer be used.

Just for reference, this happened here (though the commit message is
completely unreadable, as usual):

https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=208414e


>  So, until someone requires an assembly version of this function,
>  just use a non-assembly version and let the compiler sort it out.

This is also precisely what upstream gcc has done. :)

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150619/6dc20333/attachment.sig>


More information about the svn-src-head mailing list