From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21315 invoked by alias); 28 Jul 2010 15:38:58 -0000 Received: (qmail 20936 invoked by uid 48); 28 Jul 2010 15:38:34 -0000 Date: Wed, 28 Jul 2010 15:38:00 -0000 Message-ID: <20100728153834.20935.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/45034] [4.3/4.4/4.5/4.6 Regression] "safe" conversion from unsigned to signed char gives broken code In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mikpe at it dot uu dot se" 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: 2010-07/txt/msg03107.txt.bz2 ------- Comment #14 from mikpe at it dot uu dot se 2010-07-28 15:38 ------- If I apply Richard's patch to gcc-4.4-20100727 and bootstrap/regtest the new test case works but I get a single regression in the old ones: FAIL: gcc.dg/vect/vect-22.c scan-tree-dump-times vect "vectorized 4 loops" 1 Looking in vect-22.c.101t.vect reveals: ... .../gcc/testsuite/gcc.dg/vect/vect-22.c:87: note: not vectorized: relevant stmt not supported: D.2174_43 = (short unsigned int) D.2173_42; ... .../gcc-4.4-20100727/gcc/testsuite/gcc.dg/vect/vect-22.c:73: note: not vectorized: relevant stmt not supported: D.2164_26 = (unsigned char) D.2163_25; ... .../gcc-4.4-20100727/gcc/testsuite/gcc.dg/vect/vect-22.c:54: note: vectorized 2 loops in function. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45034