PR target/26600
commitf3af78f1e7d4bc53f586972a39c1fb6a5c8e3fcf
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 May 2006 04:16:00 +0000 (16 04:16 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 May 2006 04:16:00 +0000 (16 04:16 +0000)
tree1c68ea8e0d38ca424a0acc2d3a6cf4b1a617a9cd
parent91e8ab5c9b1f05a2fcfa933f1740ed8950567a24
PR target/26600
* config/i386/i386.c (legitimate_constant_p) <CONST_DOUBLE>: TImode
integer constants other than zero are only legitimate on TARGET_64BIT.
<CONST_VECTOR> Only zero vectors are legitimate.
(ix86_cannot_force_const_mem): Integral and vector constants can
always be put in the constant pool.

* gcc.target/i386/pr26600.c: New test case.

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