------- Comment #15 from yuecelm at ee dot ethz dot ch 2006-10-27 10:31 ------- Found an important hint:
If the switch instruction is replaced with else ifs, the file is also compilable with the -Os option. It seems that the avr-gcc >4.0 can only optimize a limited number of cases (the file usart.i has 33 cases in one switch statement). -- yuecelm at ee dot ethz dot ch changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yuecelm at ee dot ethz dot | |ch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636