++
Assignee: unassigned at gcc dot gnu.org
Reporter: guille at berkeley dot edu
Target Milestone: ---
[gcc version 10.0.1 20200216]
The following code ( https://www.godbolt.org/z/JynEy6 )
#include
__m512 f(__m512 x, __m512 y, __m512 z)
{
const __mmask16 masky = 0b0010001000100010
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83024
--- Comment #2 from Guille ---
I should point out that the '-fconcepts' option isn't necessary, but
'-std=c++1z' is (e.g. with '-std=c++11' it won't ICE but it also won't
compile).
So a minimal compilation command is:
$ c++ t.c -std=c++1z
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83024
--- Comment #1 from Guille ---
I have tested the unsimplified version of this code, and it ICEs on every
version *after* gcc-8-20170827.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: guille at berkeley dot edu
Target Milestone: ---
The following short code ICEs on
$ c++ -v
Using built-in specs.
COLLECT_GCC=c++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto-wrapper
Target: x86_64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80124
--- Comment #6 from Guille ---
Thanks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80124
--- Comment #3 from Guille ---
Apologies, this maybe should've gone in the 'C bugs' section, not the C++
section.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80124
--- Comment #2 from Guille ---
Created attachment 41008
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41008&action=edit
the code that triggers possible bug
Compile with 'c++ t.c' (or maybe 'c++ -msse -msse2 t.c').
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80124
--- Comment #1 from Guille ---
I forgot to mention that a while back (~1year) I had a similar problem with
_mm256_cmp_ps(a,b, _CMP_EQ_OQ) (the AVX equivalent of _mm_cmpeq_ps), but I
wasn't able to isolate the problem back then.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: guille at berkeley dot edu
Target Milestone: ---
The following code (below) seems to trigger a gcc bug because the following:
(A) * _mm_cmpeq_ps(r, r)
(B) * _mm_castsi128_ps(_mm_cmpeq_epi32(_mm_castps_si128(r),
_mm_castps_si128(r)))
which
: unassigned at gcc dot gnu.org
Reporter: guille at berkeley dot edu
Target Milestone: ---
The following code ICEs on:
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin13.4.0/7.0.1/lto-wrapper
Target: x86_64-apple-darwin13.4.0
10 matches
Mail list logo