Thread (8 messages) flat view 8 messages, 3 authors, 2018-11-12

Re: [PATCH] powerpc/math-emu: Fix building with clang

From: Nick Desaulniers <ndesaulniers@google.com>
Date: 2018-11-02 17:41:54

On Fri, Nov 2, 2018 at 10:34 AM Segher Boessenkool
[off-list ref] wrote:
On Fri, Nov 02, 2018 at 02:07:13PM +1030, Joel Stanley wrote:
quoted
  arch/powerpc/math-emu/fnmsub.c:46:2: error: invalid use of a cast in a
  inline asm context requiring an l-value: remove the cast or build with
  -fheinous-gnu-extensions
(It is spelled lvalue).

*All* of extended asm is a GNU extension, what is clang trying to say here?
Confused :-)
Isn't the result of a cast a temporary value?  Probably just need to
move the case out of the inline asm block to a separate statement.
Having the full backtrace should help.

-- 
Thanks,
~Nick Desaulniers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help