This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/47968] ICE: in gen_lowpart_general, at rtlhooks.c:51 when converting vector of double to vector of float
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 3 Mar 2011 13:56:10 +0000
- Subject: [Bug middle-end/47968] ICE: in gen_lowpart_general, at rtlhooks.c:51 when converting vector of double to vector of float
- Auto-submitted: auto-generated
- References: <bug-47968-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47968
--- Comment #5 from Zdenek Sojka <zsojka at seznam dot cz> 2011-03-03 13:56:06 UTC ---
The testcase is accepted (compiles fine) by 3.3.6, 3.4.6, 4.0.4, 4.1.2, 4.2.4,
4.3.5.
The are files in the testsuite that use that style, at least
gcc.c-torture/compile/vector-[123].c
Changing the code to
float4 f4 = *(float4 *) &d2;
doesn't prevent the crash