This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [PATCH, fortran] Add -frecursive and fix local array handling with -fopenmp


On 8/17/07, Tobias Burnus <burnus@net-b.de> wrote:
> Asher Langton wrote:
> > On 8/16/07, Tobias Burnus <burnus@net-b.de> wrote:
> >
> >> gfortran (currently):
> >> -fno-automatic: As Intel's -save: use static memory
> >> -fmax-stack-var-size=<n> stack vs. static memory; incl. n=-1 to put all
> >> on the stack
> >>
> > As of now, fmax-stack-var-size=<n> doesn't accept n=-1 on the command
> > line, although setting n=-1 works internally.
> Good point! I should have tested this. I think the following would be an
> alternative:
>
> - If @var{n}=-1 the stack is always used.
> + Use @code{-frecursive} to put all variables on the stack.
>
>
> (depends on the OpenMP/-frecursive patch). Or is it be better to keep
> these words and to remove
>    RejectNegative
> from lang.opt ?

I'm in favor of removing RejectNegative, and then leaving your
documentation as it is.  In that case, I could omit the -frecursive
flag from my patch.

-Asher


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