This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] New testcase to evaluate Fortran substring expression


On Wed, Jun 22, 2005 at 10:53:35AM +0800, Wu Zhou wrote:
> Eli/Daniel and all,
> 
> Here is my new testcase to evaluate Fortran substring expression.  The 
> intention is to test whehter current GDB could correctly handle substring 
> expression evaluation of Fortran.  I tested it against g77-3.2.3 and 
> gfortran-4.0.0.  The last four tests failed for both configuration. 
> 
> I am also thinking of fixing these errors.  It is easy to fix str(exp:exp) 
> and str(:), but I am not sure how to fix str(:exp) and str(exp:) yet. Any 
> hints/tips on this?  TIA.

Let's hold this thought, OK?  I would rather add the tests when you
have a patch to fix them.  Alternatively PRs could be filed and the new
tests KFAILd, but I don't think that adds much value.

What's the problem with parsing (:exp)?  An exp can't be empty, and a
colon can't appear at the start of an exp.  I don't think (exp:) will
be any harder but my yacc is rusty.


-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]