From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20835 invoked by alias); 2 Mar 2010 18:25:01 -0000 Received: (qmail 20684 invoked by uid 48); 2 Mar 2010 18:24:46 -0000 Date: Tue, 02 Mar 2010 18:25:00 -0000 Message-ID: <20100302182446.20683.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/36758] [4.3/4.4/4.5 Regression] addition moved out of the loop when used with an argument 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-03/txt/msg00193.txt.bz2 ------- Comment #19 from pinskia at gcc dot gnu dot org 2010-03-02 18:24 ------- Here is a testcase which shows the problem on MIPS too: extern int f0(int *, int *); int f1() { int x = 0 , x1 = 0; while (f0(&x, &x1)); return x + x1; } -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- GCC target triplet|powerpc*-*-*, x86_64 |powerpc*-*-*, x86_64, mips- | |*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36758