From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11719 invoked by alias); 1 Jun 2007 23:09:21 -0000 Received: (qmail 11675 invoked by uid 48); 1 Jun 2007 23:09:09 -0000 Date: Fri, 01 Jun 2007 23:09:00 -0000 Message-ID: <20070601230909.11674.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/32183] Gcc 4.3 revision 125030 miscompiles 482.sphinx3 in SPEC CPU 2006 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl at lucon 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: 2007-06/txt/msg00062.txt.bz2 ------- Comment #2 from hjl at lucon dot org 2007-06-01 23:09 ------- Is that OK to transform float sf; ... sf = 500 * sf; for (i = 0; i < ceplen; i++) sum[i] *= sf; to for (i = 0; i < ceplen; i++) sum[i] = (sum[i]* 500)*sf; You can certainly get the different results when sf is small and sum[i] is large. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32183