From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19189 invoked by alias); 13 Aug 2004 21:23:47 -0000 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 Received: (qmail 19178 invoked by uid 48); 13 Aug 2004 21:23:47 -0000 Date: Fri, 13 Aug 2004 21:23:00 -0000 Message-ID: <20040813212347.19177.qmail@sourceware.org> From: "danfuzz at milk dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040813164249.17019.danfuzz@milk.com> References: <20040813164249.17019.danfuzz@milk.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/17019] THUMB -O1: bad code generated for simple for loop X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01308.txt.bz2 List-Id: ------- Additional Comments From danfuzz at milk dot com 2004-08-13 21:23 ------- After giving myself a crash course on gcc md file syntax, I was convinced that the switch statement cases are actually supposed to be 0-3 as opposed to skipping 2. I made the change and it looks like the problem went away, at least from the test case I submitted with this bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17019