[PATCH, i386]: Committed: Fix PR target/31768, Invalid code or ICE for %z constraint
Uros Bizjak
ubizjak@gmail.com
Thu May 3 14:32:00 GMT 2007
Hello!
This bug is again due to use of %z constraint in asm. When operand with
legth 2 is memory operand (FP operators with HImode operands) gcc should
emit "s", but for register operands, it should emit "w".
Attached patch fixes this problem. Patch was bootstrapped on
x86_64-pc-linux-gnu and regression tested for all default languages
(using -m32).
2007-05-03 Uros Bizjak <ubizjak@gmail.com>
PR target/31768
* config/i386/i386.c (print_operand) ['z']: Output 'w' for
operands of size 2 when operand is not MEM_P.
Uros.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr31768.diff
Type: text/x-patch
Size: 390 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070503/6bf1cf8b/attachment.bin>
More information about the Gcc-patches
mailing list