Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize AVR -Werror=array-bounds workaround (#21798)
GCC 13 needs the same workaround as GCC 12. To avoid having to maintain an ever-growing list of broken versions apply the workaround wherever it can be used. If at some point a fixed version of GCC is released the workaround can be disabled for those fixed versions. See #17064
- Loading branch information
This failed for MinGW-w64's avr-gcc 12.2
/dev/null
is translated tonul
by MinGW.nul
is always exsting on Windows, and can't be created.and
avr ld
tries to create output fileOutput of `echo 'int main() {}' | avr-gcc --param=min-pagesize=0 -x c - -o /dev/null` on MinGW