From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5658 invoked by alias); 29 Jul 2003 18:18:29 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 5624 invoked from network); 29 Jul 2003 18:18:06 -0000 Received: from unknown (HELO mailout10.sul.t-online.com) (194.25.134.21) by sources.redhat.com with SMTP; 29 Jul 2003 18:18:06 -0000 Received: from fwd11.aul.t-online.de by mailout10.sul.t-online.com with smtp id 19hZ2y-0005bF-09; Tue, 29 Jul 2003 20:18:04 +0200 Received: from kolme (GEGRSrZXZew2K5QZSTCkfYpSBIPR7QLXfcPpmTyhK9TioiGQDHFDU8@[80.138.151.138]) by fmrl11.sul.t-online.com with esmtp id 19hZ2i-0Qu2fg0; Tue, 29 Jul 2003 20:17:48 +0200 Received: from goofy.hamnixda.de ([192.168.100.249] helo=goofy) by kolme with esmtp (Exim 3.35 #1 (Debian)) id 19hZ2c-0000WO-00; Tue, 29 Jul 2003 20:17:42 +0200 Received: from richard (helo=localhost) by goofy with local-esmtp (Exim 3.36 #1 (Debian)) id 19hZ2d-0000Dd-00; Tue, 29 Jul 2003 20:17:43 +0200 Date: Tue, 29 Jul 2003 18:35:00 -0000 From: Richard Guenther To: Gabriel Dos Reis cc: gcc@gcc.gnu.org Subject: Re: std::pow implementation In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Seen: false X-ID: GEGRSrZXZew2K5QZSTCkfYpSBIPR7QLXfcPpmTyhK9TioiGQDHFDU8@t-dialin.net X-SW-Source: 2003-07/txt/msg02052.txt.bz2 On 29 Jul 2003, Gabriel Dos Reis wrote: > Richard Guenther writes: > > | It has been shown that the current gcc unroller is not able to > | unroll the while loop in std::__cmath_power() and such even inlining > | does not help to create good code. Also inlining the loop if it is > | not unrolled and its contents not sufficiently cprop'ed is harmful. > > If you find that after inlining, the status of "constant expression" > is not recognized then I'd encourage you to fill a PR. The problem is the loop optimizer not being able to compute the number of iterations here. PR optimization/11710 - though unfortunately not a regression. Can anyone check if this is fixed on rtlopt (one more reason to merge it)? Richard.