8000 Error "array subscript 0 is outside array bounds" on arm-none-eabi-gcc 12.1 · Issue #8685 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content
Error "array subscript 0 is outside array bounds" on arm-none-eabi-gcc 12.1 #8685
Closed
@jimmo

Description

@jimmo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-infoThis issue needs more information to be resolvable

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0