From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25279 invoked by alias); 20 Jun 2009 13:59:42 -0000 Received: (qmail 25245 invoked by uid 48); 20 Jun 2009 13:59:28 -0000 Date: Sat, 20 Jun 2009 13:59:00 -0000 Subject: [Bug c/40503] New: DEC_EVAL_METHOD not match operators X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tydeman at tybor dot com" 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: 2009-06/txt/msg01441.txt.bz2 It appears that decimal floating-point (DFP) constants and the operators "+" and "-" are done to type (as if DEC_EVAL_METHOD were 0), but that the operators "*" and "/" are done as if _Decimal128 (as if DEC_EVAL_METHOD were 2) -- this is in gcc 4.4.0. In gcc 4.3.2, everything was done as if to type (DEC_EVAL_METHOD were 0). This in on Intel Pentium 4 with Fedora Core Linux 11. -- Summary: DEC_EVAL_METHOD not match operators Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tydeman at tybor dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40503