------- Comment #7 from burnus at gcc dot gnu dot org  2009-04-28 19:25 -------
(In reply to comment #6)
> may be interested to RTFM and specially:
>
> -fno-automatic
> -fmax-stack-var-size=n

Well, -fopenmp implies -frecursive and thus the use of the stack. If a function
can never be called in simultaneously, one can compile that file with
-fno-recursive.

Thus increasing the stack size is the simplest solution, for other solutions
one needs to study the program and fine-tune the settings on a per-file basis.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39945

Reply via email to