Gfortran 4.3 projects

Tobias Burnus burnus@net-b.de
Wed Sep 20 10:44:00 GMT 2006


Hello,

Daniel Franke wrote:
> By any chance, is there also a list of "Junior Jobs" (as the KDE
> people coined it)? I.e. tasks that can be done in a couple of hours by
> newcomers to learn their way around which the core developers tend to
> avoid because it's merely a nuisance to them?!

I'm not aware of such a list, but going through the Fortran bugs in
bugzilla (is a comparably short list) should give some ideas; otherwise
some simpler Fortran 2003 might also be good starting points.
(Like my trivial new_line patch, which still needs to be reviewed.)
Fixing and enhancing the documentation is probably also a good idea.

Tobias


PS: I tried to modify the out-of-bounds run-time message (PR28494), but
I fail to extract the boundary values from a "tree". Does someone have
an idea how to do this?

trans-array.c contrains:
   tmp = gfc_conv_array_lbound (descriptor, n);
   fault = fold_build2 (LT_EXPR, boolean_type_node, index, tmp);
    asprintf (&msg, "%s for array '%s', lower bound of dimension %d
             exceeded",
             gfc_msg_fault, se->ss->expr->symtree->name, n+1);
and I would like to have
         asprintf (&msg, "%s. Subscript %d of array '%s' (value %d)"
                  " exceeds lower bound of %d"
                  gfc_msg_fault, n+1, se->ss->expr->symtree->name,
                  TREE_something(index), TREE_tree something(tmp));

But I fail to find the TREE_something() and whether "%d" works or
something else has to be used.

I only found "HOST_WIDE_INT_PRINT_DEC" and TREE_INT_CST(); the latter,
however, returns a  double_int rather than an int or long.



More information about the Fortran mailing list