From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13586 invoked by alias); 9 Apr 2003 23:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 13555 invoked by uid 71); 9 Apr 2003 23:06:00 -0000 Date: Wed, 09 Apr 2003 23:06:00 -0000 Message-ID: <20030409230600.13554.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Berger David-MGI2063 Subject: RE: optimization/10362: Optimization with constant shifts and com pares fails on MIPS Reply-To: Berger David-MGI2063 X-SW-Source: 2003-04/txt/msg00404.txt.bz2 List-Id: The following reply was made to PR optimization/10362; it has been noted by GNATS. From: Berger David-MGI2063 To: "'bangerth@dealii.org'" , Berger David-MGI2063 , "'gcc-bugs@gcc.gnu.org'" , "'gcc-prs@gcc.gnu.org'" , "'nobody@gcc.gnu.org'" , "'gcc-gnats@gcc.gnu.org'" Cc: Subject: RE: optimization/10362: Optimization with constant shifts and com pares fails on MIPS Date: Wed, 9 Apr 2003 16:01:12 -0700 volatile unsigned long i; void test(void) { i = (((i & 0xf0) >> 4) >= 14); /* This one generates incorrect code with -O2 */ i = ((i & 0xf0) >= (14 << 4)); /* This is what the optimizer is trying to do */ } -----Original Message----- From: bangerth@dealii.org [mailto:bangerth@dealii.org] Sent: Wednesday, April 09, 2003 3:45 PM To: David Berger; gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org; nobody@gcc.gnu.org Subject: Re: optimization/10362: Optimization with constant shifts and compares fails on MIPS Synopsis: Optimization with constant shifts and compares fails on MIPS State-Changed-From-To: open->feedback State-Changed-By: bangerth State-Changed-When: Wed Apr 9 22:44:59 2003 State-Changed-Why: The attachment got lost. Can you please re-send it as a reply to this mail? Thanks Wolfgang http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10362