Closed
Description
FYI for anyone who runs into this. I'm seeing this error with the arm-none-eabi-gcc 12.1 Arch Linux package. Appears to affect at least rp2 and cc3200. In the case of rp2 it also affects their pico-examples projects too (although they don't compile with -Werror
by default). For now the solution is t
5972
o downgrade to 11.x.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 for the details. It was reverted in 11.3 (gcc-mirror/gcc@91f7d7e) but it's not clear that the same fix was applied to 12.x? I don't see it anywhere in the history of the 12.1 tag? Not quite sure what's going, will update this bug with more info.