https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116357
--- Comment #6 from Alwin Zhang ---
Thank you Richard for your detailed elaboration.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116357
--- Comment #4 from Alwin Zhang ---
Hello experts,
What do you think about the fact that it only happens when using -O1/2/3?
It seems like the other issues linked have nothing to do with that fact.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116357
--- Comment #3 from Alwin Zhang ---
Hi Andrew,
Do you mean that gcc should give an error like old version?
For example,
error: alignment of array elements is greater than element size
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116357
Bug ID: 116357
Summary: The item's address of the array is not correct if
aligned is used
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Severity: normal