From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26313 invoked by alias); 4 Nov 2007 23:28:24 -0000 Received: (qmail 26253 invoked by uid 48); 4 Nov 2007 23:28:15 -0000 Date: Sun, 04 Nov 2007 23:28:00 -0000 Message-ID: <20071104232815.26252.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/33970] Missed optimization using unsigned char loop variable In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "eweddington at cso dot atmel dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg00325.txt.bz2 ------- Comment #7 from eweddington at cso dot atmel dot com 2007-11-04 23:28 ------- With Mike's description in comment #6, confirmed on 4.1.2 and 4.2.2. AVR GCC 4.2.2 is worse than 4.1.2, in that even if sub2 is called with (x+1), the variable is still 16 bits. -- eweddington at cso dot atmel dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.1.2 4.2.2 Last reconfirmed|0000-00-00 00:00:00 |2007-11-04 23:28:15 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33970