[Bug c/111086] Possibly incorrect warning: arm-none-eabi-gcc:packed attribute causes inefficient alignment for

2023-08-20 Thread tonyjosinew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111086 --- Comment #2 from Tony Josi --- In that case I think the warning should be generated for all the fields in the struct, why just the first 2 fields (ch1 and ch2 in the example struct in the bug report)? Also the warning is listed under [-Watt

[Bug c/111086] New: Possibly incorrect warning: arm-none-eabi-gcc:packed attribute causes inefficient alignment for

2023-08-20 Thread tonyjosinew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111086 Bug ID: 111086 Summary: Possibly incorrect warning: arm-none-eabi-gcc:packed attribute causes inefficient alignment for Product: gcc Version: 9.2.1 Status: UNCONFIRMED