From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30102 invoked by alias); 27 Oct 2006 10:31:16 -0000 Received: (qmail 30056 invoked by uid 48); 27 Oct 2006 10:31:07 -0000 Date: Fri, 27 Oct 2006 10:31:00 -0000 Message-ID: <20061027103107.30055.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/19636] Can't compile ethernut OS (avr-gcc) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "yuecelm at ee dot ethz dot ch" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg02320.txt.bz2 List-Id: ------- 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