From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25174 invoked by alias); 30 Jan 2006 19:08:40 -0000 Received: (qmail 25119 invoked by uid 48); 30 Jan 2006 19:08:33 -0000 Date: Mon, 30 Jan 2006 19:08:00 -0000 Message-ID: <20060130190833.25118.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/26001] [4.1/4.2 Regression] LAPACK testsuite failure with optimization In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" 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-01/txt/msg03405.txt.bz2 List-Id: ------- Comment #9 from pinskia at gcc dot gnu dot org 2006-01-30 19:08 ------- Actually it is not complete unrolling that is going wrong but expand. static char intstr[1:10] = "0123456789"; ;; if (c1$1 == intstr[1]{lb: 1 sz: 1}) (void) 0; else goto ; (insn 85 83 86 (set (reg:CCZ 17 flags) (compare:CCZ (reg:QI 68 [ c1$1 ]) (const_int 49 [0x31]))) -1 (nil) (nil)) See how we compare that again '1' and not '0'. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |middle-end http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26001