From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6456 invoked by alias); 11 Mar 2005 22:55:58 -0000 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 Received: (qmail 6423 invoked by uid 48); 11 Mar 2005 22:55:55 -0000 Date: Fri, 11 Mar 2005 22:55:00 -0000 Message-ID: <20050311225555.6422.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050311215610.20434.Thomas.Koenig@online.de> References: <20050311215610.20434.Thomas.Koenig@online.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug middle-end/20434] pessimization of complex expression X-Bugzilla-Reason: CC X-SW-Source: 2005-03/txt/msg01464.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-11 22:55 ------- (In reply to comment #3) > > > - Why the casts to double? > > Because that is required by the C standard. > > Isn't that covered by the as-if rule? I'm fairly > sure the cast to double won't change the result of > the "<" operator :-) No but the addition is done in double. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20434