https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108673
amy.mclaughlin at iar dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amy.mclaughlin at iar dot com --- Comment #3 from amy.mclaughlin at iar dot com --- Regarding Comment 1, the bug in Cygwin's gcc (11.3.0) can't be worked around with `-fno-ipa-pure-const`. The workaround also fails for the msys2 msys build of gcc (also 11.3.0) but succeeds for the mingw64 build. So I suspect that the bug reproduced with x86_64-pc-cygwin-gcc may not be the same bug as the one in this report, despite the similar symptoms.