https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49857
--- Comment #16 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- (In reply to Georg-Johann Lay from comment #15) > pr49857-v2-all.diff: Proposed patch Problems so far: * ivopts may shred address-space which results in wrong code. This is is the reason for why the patch doesn't -maddr-space-for-lookup=memx $ make -k check-gcc RUNTESTFLAGS="--target_board=atmega128-sim execute.exp='20120808-1.c pr35800.c' --tool_opts=-maddr-space-for-lookup=memx" * tree-swich-conversion might bloat the code, cf. PR81540 so it may even be better to disable tree-switch-conversion per default.