[Bug c/110683] wrong code with '-O2' and specific optimizations

2023-07-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110683 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- The reduced optimizations is -O2 -fpack-struct

[Bug c/110683] wrong code with '-O2' and specific optimizations

2023-07-16 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110683 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 2 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=2&action=edit The compiler output