[RFC] Add code to support evaluating Fortran exponentiation expression
Daniel Jacobowitz
drow@false.org
Sun Jul 3 17:05:00 GMT 2005
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 <woodzltc@cn.ibm.com>
>
> * 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
More information about the Gdb-patches
mailing list