[Bug target/93897] Poor trivial structure initialization code with -O3

2021-08-17 Thread crazylht at gmail dot com via Gcc-bugs
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 >

[Bug target/93897] Poor trivial structure initialization code with -O3

2021-07-14 Thread hjl.tools at gmail dot com via Gcc-bugs
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) {

[Bug target/93897] Poor trivial structure initialization code with -O3

2020-08-17 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897 --- Comment #6 from Hongtao.liu --- Fixed in GCC11, backport to GCC10.

[Bug target/93897] Poor trivial structure initialization code with -O3

2020-08-17 Thread cvs-commit at gcc dot gnu.org
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:

[Bug target/93897] Poor trivial structure initialization code with -O3

2020-08-17 Thread cvs-commit at gcc dot gnu.org
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

[Bug target/93897] Poor trivial structure initialization code with -O3

2020-08-11 Thread maxim.yegorushkin at gmail dot com
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?

[Bug target/93897] Poor trivial structure initialization code with -O3

2020-02-24 Thread rguenth at gcc dot gnu.org
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

[Bug target/93897] Poor trivial structure initialization code with -O3

2020-02-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target|