From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17136 invoked by alias); 3 Jul 2005 17:05:47 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17128 invoked by uid 22791); 3 Jul 2005 17:05:45 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 03 Jul 2005 17:05:45 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1Dp7uZ-0003tY-PD; Sun, 03 Jul 2005 13:05:43 -0400 Date: Sun, 03 Jul 2005 17:05:00 -0000 From: Daniel Jacobowitz To: Wu Zhou Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] Add code to support evaluating Fortran exponentiation expression Message-ID: <20050703170543.GE13811@nevyn.them.org> Mail-Followup-To: Wu Zhou , gdb-patches@sources.redhat.com References: <20050617134139.GC23901@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00022.txt.bz2 On Mon, Jun 20, 2005 at 11:30:05AM +0800, Wu Zhou wrote: > On Fri, 17 Jun 2005, Daniel Jacobowitz wrote: > > > This will need a testcase, in addition to documentation. Doing those > > separately is fine. The only other problem is that f-exp.y needs a > > copyright year update: the last listed year is 2001, but I see it has > > been modified in 2002, 2003, and 2004. So please add all of those > > years (plus 2005). > > Daniel, > > The re-worked patch (copyright year updated) is included as follows. OK > to commit? Thanks. > > 2005-06-20 Wu Zhou > > * f-exp.y (yyparse): Add code to support exponentiation expression. > (yylex): Add code to scan exponentiation operator. > * eval.c (evaluate_subexp_standard): Add support for BINOP_EXP. > * valarith.c (value_binop): Reset errno to 0 before calling pow > to do exponentiation operation. Yes, this version is OK. Thank you. -- Daniel Jacobowitz CodeSourcery, LLC