https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
--- Comment #20 from David Brown <david at westcontrol dot com> --- (In reply to Georg-Johann Lay from comment #19) > Created attachment 54912 [details] > pr105532.diff: Proposed patch for the AVR backend > > Here is a proposed, untested patch. > > gcc/ > PR target/105532 > * config/avr/avr.cc (opts.h): Include it. > (avr_option_override): Set --param_min_pagesize=0. > > gcc/testsuite/ > PR target/105532 > * gcc.target/avr/torture/pr105532.c: New test. This is not an AVR backend issue - it is much wider than that. It is perhaps reasonable to test a patch just on the AVR, but this needs to be fixed in the core of gcc.