Bug 22286 - SSE-intrinsic: __builtin_ia32_cvttss2si - internal compiler error: in extract_insn, at recog.c:2083
Summary: SSE-intrinsic: __builtin_ia32_cvttss2si - internal compiler error: in extract...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 3.4.4
: P2 normal
Target Milestone: 4.0.1
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code, ssemmx
Depends on:
Blocks:
 
Reported: 2005-07-03 23:05 UTC by Georgiy Shapovalov
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work: 4.0.1 4.1.0
Known to fail:
Last reconfirmed:


Attachments
Preprocessor output to demonstrate internal error in __builtin_ia32_cvttss2si (3.37 KB, text/plain)
2005-07-03 23:09 UTC, Georgiy Shapovalov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgiy Shapovalov 2005-07-03 23:05:45 UTC
Compliation fails with any optimisation level enabled (-O1, -O2, -O3). Problem
instruction: __builtin_ia32_cvttss2si (SSE intrinsic)
Comment 1 Georgiy Shapovalov 2005-07-03 23:09:22 UTC
Created attachment 9198 [details]
Preprocessor output to demonstrate internal error in __builtin_ia32_cvttss2si

Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: ../gcc-3.4.4/configure --enable-languages=c,c++,objc
Thread model: posix
gcc version 3.4.4
 /usr/local/libexec/gcc/i686-pc-linux-gnu/3.4.4/cc1 -quiet -v -DSSE
dcrcpp-gcc-bug.c -quiet -dumpbase dcrcpp-gcc-bug.c -msse -mtune=pentiumpro
-auxbase dcrcpp-gcc-bug -O -version -o /tmp/ccKQHpU0.s
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory
"/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/include"

#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/include
 /usr/include
End of search list.
GNU C version 3.4.4 (i686-pc-linux-gnu)
	compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=81 --param ggc-min-heapsize=96975
dcrcpp-gcc-bug.c: In function `convert_to_rgb_sse':
dcrcpp-gcc-bug.c:107: error: unrecognizable insn:
(insn 449 246 247 16 (set (reg:V4SF 22 xmm1)
	(const_int 0 [0x0])) -1 (nil)
    (nil))
dcrcpp-gcc-bug.c:107: internal compiler error: in extract_insn, at recog.c:2083

Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment 2 Andrew Pinski 2005-07-03 23:16:55 UTC
Fixed at least in 4.0.x.