This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17767] [3.4/4.0 Regression] MMX intrinsics cause internal compiler error
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Oct 2004 14:18:05 -0000
- Subject: [Bug target/17767] [3.4/4.0 Regression] MMX intrinsics cause internal compiler error
- References: <20041001072853.17767.jochang@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-01 14:18 -------
Here's a shorter testcase.
It crashes since gcc 3.1 when compiled with "gcc -mmmx -O".
======================================================================
typedef int __m64 __attribute__ ((vector_size (8)));
typedef short __v4hi __attribute__ ((vector_size (8)));
__m64 foo()
{
int i;
__m64 m;
for (i=0;i<2;i++)
m = (__m64) __builtin_ia32_pcmpeqw ((__v4hi)m, (__v4hi)m);
return m;
}
======================================================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17767