[Patch, Fortran] PR42517: Bogus runtime error with -fopenmp -fcheck=recursion

Dave Korn dave.korn.cygwin@googlemail.com
Wed Dec 30 00:42:00 GMT 2009


Tobias Burnus wrote:

> Thus, checking, whether within a single thread a
> function is called recursively or not, is kind of pointless.

  Am I missing some definition here?  AFAIK there's no other way a function
can "recurse" except within a single context of execution.  Two different
threads calling the same function at the same time isn't recursion, it's
re-entrance.

    cheers,
      DaveK




More information about the Gcc-patches mailing list