PR target/39911
commitf1689c2844099c2e1eddd401717294eb13da6ac6
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Apr 2009 06:54:02 +0000 (28 06:54 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Apr 2009 06:54:02 +0000 (28 06:54 +0000)
treee907955ebd25213e01b632ca3ab28601b9dcb477
parent6a2a96d6601b2da061ff52bcf803e2cc044af1fd
PR target/39911
* config/i386/i386.c (print_operand) ['Z']: Handle floating point
and integer modes for x87 operands.  Do not ICE for unsupported size,
generate error instead.  Generate error for unsupported operand types.
['z']: Do not handle HImode memory operands specially.  Warning
for floating-point operands.  Fallthru to 'Z' for unsupported operand
types.  Do not ICE for unsupported size, generate error instead.
(output_387_binary_op): Use %Z to output operands.
(output_fp_compare): Ditto.
(output_387_reg_move): Ditto.

testsuite/ChangeLog:

PR target/39911
* gcc.target/i386/pr39911.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146874 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr39911.c [new file with mode: 0644]