[PATCH, i386]: Commited: fix PR target/30413: %z produces ICE for char operands

Uros Bizjak ubizjak@gmail.com
Sun Jan 14 11:32:00 GMT 2007


Hello!

Attached patch fixes PR target/30413. The problem was, that 
print_operand() doesn't print 'b' for operands of size 1 for %zN directive.

Patch is bootstrapped on x86_64-pc-linux-gnu, regression tested for c, 
c++ and fortran. Patch is commited to mainline.

2007-01-14  Uros Bizjak  <ubizjak@gmail.com>

        PR target/30413
        * config/i386/i386.c (print_operand) ['z']: Output 'b' for
        operands of size 1.

testsuite/ChangeLog:

        PR target/30413
        * gcc.target/i386/pr30413.c: New test.

Uros.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr30413.diff
Type: text/x-patch
Size: 947 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070114/426753e7/attachment.bin>


More information about the Gcc-patches mailing list