To report a bug in the D System v0.7, please download the D System Bug Report Form, edit it with your favorite editor, and email it to dsystem-info@cs.rice.edu.
Submitted by Nat McIntosh (mcintosh@cs.rice.edu)
The current revision of the parser/unparser crashes when you feed it a
simple program containing a statement function definition and use. The
following is an example:
program mumble
integer q, r
doublit(x) = x + x
read *, q
r = doublit(q)
print *, r
end
I'm not sure when this bug was introduced, so I can't tell you which
versions of the D system it applies to. This looks like a good program
to add to our regression test suite, I would say. I looked at it a bit
in the debugger, and it appears that the routine that's crashing is
"ftt_Listing" (the AST is being built correctly, in other words, but
then the FortTextTree build fails).
[index]
Array-092695 Limitations in the array section analysis code.
See An Array Section Analysis Package for the D System, written by Nat McIntosh (mcintosh@cs.rice.edu).
Constant-021696 Limitations in the constant propagation code.
See An Interprocedural Constant Propogation Package for the D System, written by Nat McIntosh (mcintosh@cs.rice.edu).
URL ftp://softlib.rice.edu/pub/DSystem/Release-0.7/bugIndex-0.7.html