------- Comment #1 from burnus at gcc dot gnu dot org 2007-11-10 19:23 ------- As follow up, currently -frecursive is implemented as:
/* Implied -frecursive; implemented as -fmax-stack-var-size=-1. */ if (gfc_option.flag_max_stack_var_size == -2 && gfc_option.flag_openmp) gfc_option.flag_max_stack_var_size = -1; I'm thus not sure how to handle this easily (i.e. what limit to use for the main PROGRAM?). Maybe one should leave the status quo, or not? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34053