From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6860 invoked by alias); 3 Jan 2010 06:30:18 -0000 Received: (qmail 6727 invoked by uid 48); 3 Jan 2010 06:30:06 -0000 Date: Sun, 03 Jan 2010 06:30:00 -0000 Message-ID: <20100103063006.6726.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/42586] SRA does not always work 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-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg00220.txt.bz2 ------- Comment #3 from pinskia at gcc dot gnu dot org 2010-01-03 06:30 ------- Oh in fact I think the reason is the SRA issue. In that: int Cyc_string_ungetc (int ignore, struct _fat_ptr *sptr) { sptr->curr += 4294967295U; } Works. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|rtl-optimization |tree-optimization Keywords| |missed-optimization Summary|load-modify-store on x86 |SRA does not always work |should be single instruction| Version|unknown |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42586