[Bug c/107010] iterate section("mysection") struct mystruct fails if first node is const and compiling with O2 or greater

2022-09-22 Thread stian.skjelstad at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107010 --- Comment #2 from Stian Skjelstad --- Thank you for an amazing fast usefull reply.

[Bug c/107010] New: iterate section("mysection") struct mystruct fails if first node is const and compiling with O2 or greater

2022-09-22 Thread stian.skjelstad at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107010 Bug ID: 107010 Summary: iterate section("mysection") struct mystruct fails if first node is const and compiling with O2 or greater Product: gcc Version: 12.1.0 Status: U