From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21479 invoked by alias); 26 Aug 2008 13:39:49 -0000 Received: (qmail 20983 invoked by uid 48); 26 Aug 2008 13:38:21 -0000 Date: Tue, 26 Aug 2008 13:39:00 -0000 Message-ID: <20080826133821.20982.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/37102] [4.3/4.4 Regression] possible integer codegen bug In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "cnstar9988 at gmail 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: 2008-08/txt/msg01975.txt.bz2 ------- Comment #4 from cnstar9988 at gmail dot com 2008-08-26 13:38 ------- gcc 4.3.2 20080826 failed. ---------------------------- #include unsigned int g_24; unsigned int g_37 = 1; unsigned char g_225; int main (void) { int l_289; for (l_289 = 1; l_289 < 5; l_289 += 1) { if (g_225) { g_24 = g_37; } } g_24 = g_37; unsigned short context = g_24 << 1; do { if (context) context = (context << 1) ^ 1; } while (0); printf ("%d\n", (int)context); return 0; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37102