Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: marcin.slusarz at intel dot com
Target Milestone: ---
$ cat main.c
#include
#include
void test(char *dest);
int main()
{
char buf[32];
memset(buf, 0x2, 32
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735
--- Comment #1 from Marcin Ślusarz ---
Heh, there are really stupid bugs in both files. Thankfully they don't change
the outcome.
Updated code:
$ cat main.c
#include
#include
void test(char *dest);
int main()
{
char buf[64];
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marcin.slusarz at intel dot com
Target Milestone: ---
$ cat avx512-ice.c
#include
void something(__m512i zmm)
{
__m256i ymm
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: marcin.slusarz at intel dot com
Target Milestone: ---
void _setbit(unsigned char *b, unsigned int i)
{
b[i / 8] |= (unsigned char)(1 << (i % 8));
}
void _setbit_works(un
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67764
--- Comment #2 from Marcin Ślusarz ---
That's still gcc bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67764
--- Comment #4 from Marcin Ślusarz ---
The issue is similar. However what I described in this bug can be considered a
regression, because gcc 4.9 behaves correctly. Bug 40752 is 6 years old.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Marcin Ślusarz changed:
What|Removed |Added
CC||marcin.slusarz at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67764
Marcin Ślusarz changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735
--- Comment #13 from Marcin Ślusarz ---
FTR, to reproduce this problem with gcc 9 and 10 I had to either replace -mavx
with -march=native or add -mtune=native. The problem starts reproducing with
-march=haswell.