This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATHCH] Disable inline asm for in-tree mpfr (PR69134)


On 01/05/2016 09:44 AM, Bernd Edlinger wrote:
an in-tree mpfr build enables inline asm code, which makes the mips-bootstrap fail,
because at least mpfr 2.4.2 uses the "=h" constraint but in config/mips/constraints.md
we find: "Formerly the @code{hi} register.  This constraint is no longer supported.".

Using asm code is generally not desirable for in-tree mpfr builds.

Why not?

So I looked for a way
to disable the asm code, and found it can be done, but differently than for in-tree gmp.
See the attached patch.

Fix mpfr instead not to use that constraint?


Bernd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]