From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32439 invoked by alias); 18 Mar 2010 14:49:06 -0000 Received: (qmail 32358 invoked by uid 48); 18 Mar 2010 14:48:55 -0000 Date: Thu, 18 Mar 2010 14:49:00 -0000 Message-ID: <20100318144855.32357.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/43419] gcc replaces pow(x, 0.5) by sqrt(x), invalid when x is -0 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "matz 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/msg01718.txt.bz2 ------- Comment #4 from matz at gcc dot gnu dot org 2010-03-18 14:48 ------- I checked, and these and similar transformations are always guarded by flag_unsafe_math_optimizations, so we should be fine, unless I missed a case of course. If you notice one, please create a bug report. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43419