Bounds check & cross-language

Dennis Wassel dennis.wassel@googlemail.com
Wed Sep 1 08:34:00 GMT 2010


> For instance, one could have a global variable, which contains (linked list
> with) the actual argument's bounds/type data and the proc-pointer address:
> Then, the checked routine can check me == current_procptr and use then the
> data - otherwise, it ignores it. If it does a call itself, it simply pushes
> is own arguments to the linked list - and pops it after the call.
>
> (Though, the fun starts with deep nesting (e.g., recursion) and with
> threads.)

Errrm ...
I hate to sound ungrateful, but this is deep in gfortran/gcc internals
territory, right?
For the time being (and my time being pretty limited) I would prefer a
non compiler-hacking approach, but I guess that is too much to ask for
:-(  [meaning: of gfortran and The Way Things Work, not of you guys]

I'll keep on trying to find some (user-land) workaround, and will
report here, if I find a good one!

Cheers,
Dennis



More information about the Fortran mailing list