https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64554
--- Comment #3 from charles at kde dot org ---
with gcc test.c -O2 it fails
with gcc test.c -O2 -mpclmul it succeeds.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64554
--- Comment #5 from charles at kde dot org ---
No you're right.
I could add, though, that the compiler should have said something.
Also, why did it compile just fine with -O0?
Assignee: unassigned at gcc dot gnu.org
Reporter: charles at kde dot org
The following trivial program:
#include wmmintrin.h
int main()
{
__m128i a, b;
_mm_clmulepi64_si128(a, b, 1);
}
Produces the following error at compile time:
In file included from test.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64554
--- Comment #1 from charles at kde dot org ---
It does compile with -march=westmere or later. I guess this is intended
behavior.
--- Comment #7 from charles at kde dot org 2006-06-08 13:04 ---
Created an attachment (id=11635)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11635action=view)
compiles on 4.0
just #include cstddef
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27935
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: charles at kde dot org
GCC host triplet: gcc version 4.1.2 20060601 (prerelease) (Debian 4.1.1-1)
http://gcc.gnu.org
: UNCONFIRMED
Severity: normal
Priority: P2
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: charles at kde dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: gcc version 3.3.6 (Debian 1:3.3.6-7)
http
--- Additional Comments From charles at kde dot org 2005-07-06 01:24
---
Oh, and to add, if you change the double to an int, it works.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22318
--- Additional Comments From charles at kde dot org 2005-07-06 01:26
---
I should point out that fixing the actual bug in question will fix the ICE
itself.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16829