------- Comment #1 from jakub at gcc dot gnu dot org 2009-07-28 12:20 ------- I certainly can't reproduce any kind of segfault with this. And, it is unclear to me whether this restriction (why it is there at all, doesn't make much sense) is meant just for statement functions referenced within the omp region, or any. Say is: integer :: a, st_func st_func () = a !$omp parallel private (a) a = 1 !$omp end parallel end also supposed to be invalid?
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40876