https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897
--- Comment #8 from Hongtao.liu ---
> mainfunc:
> .LFB0:
> .cfi_startproc
> movl$foo, %edx
> movl$bar, %eax
> vmovq %rdx, %xmm0
> vpinsrq $1, %rax, %xmm0, %xmm0
> vmovdqu %xmm0, (%rdi)
> ret
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897
--- Comment #7 from H.J. Lu ---
Another testcase:
[hjl@gnu-cfl-1 tmp]$ cat x.c
extern int foo();
extern int bar();
typedef int (*func_t)(int);
struct test
{
func_t func1;
func_t func2;
};
void mainfunc (struct test *iface)
{
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897
--- Comment #6 from Hongtao.liu ---
Fixed in GCC11, backport to GCC10.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897
--- Comment #5 from CVS Commits ---
The releases/gcc-10 branch has been updated by hongtao Liu
:
https://gcc.gnu.org/g:a49452d964e3bbd1d9aa0d809355f41347b3ec05
commit r10-8636-ga49452d964e3bbd1d9aa0d809355f41347b3ec05
Author: liuhongt
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897
--- Comment #4 from CVS Commits ---
The master branch has been updated by hongtao Liu :
https://gcc.gnu.org/g:7d5de349d21479d7ec61dd0153e6f0958ad7384f
commit r11-2733-g7d5de349d21479d7ec61dd0153e6f0958ad7384f
Author: liuhongt
Date: Wed Aug 1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897
--- Comment #3 from Maxim Egorushkin ---
It seems to get triggered by uint32_t, see also
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96562
Any plans to fix this bug?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897
Richard Biener changed:
What|Removed |Added
CC||rguenth at gcc dot gnu.org
Known t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897
Andrew Pinski changed:
What|Removed |Added
Keywords||missed-optimization
Target|