Thomas Preud'homme <thopre01 at gcc dot> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2018-04-11
     Ever confirmed|0                           |1
      Known to fail|                            |6.4.1, 7.3.1, 8.0.1

--- Comment #1 from Thomas Preud'homme <thopre01 at gcc dot> ---
It believe that the problem is in expand_asm_stmt (). The code calls into
expand for the operand which will create a const_int of -128 with the
assumption that an outer RTX will tell how to interpret that constant (eg.
zero_extend:SI (const_int -128)). However the code uses that value directly
calling INTVAL on it. It should instead extend it according to the signedness
of the operand so that INTVAL returns the initial value.

Reply via email to