From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9137 invoked by alias); 3 May 2007 03:00:07 -0000 Received: (qmail 8952 invoked by uid 48); 3 May 2007 02:59:51 -0000 Date: Thu, 03 May 2007 03:00:00 -0000 Subject: [Bug middle-end/31796] New: Evaluate remquo/remainder/drem at compile-time X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ghazi 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: 2007-05/txt/msg00220.txt.bz2 GCC should use MPFR to evaluate builtins remquo, remainder (and the common extension function drem) at compile-time when they are provided with constant arguments. The forthcoming mpfr-2.3.0 has suitable functionality to do this. -- Summary: Evaluate remquo/remainder/drem at compile-time Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3 Component: middle-end AssignedTo: ghazi at gcc dot gnu dot org ReportedBy: ghazi at gcc dot gnu dot org BugsThisDependsOn: 29335 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31796