https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100199

            Bug ID: 100199
           Summary: gfortran.dg/pr68078.f90 FAILs spuriously with ulimit
                    in place
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

When an ulimit on virtual memory is in place the testcase FAILs with

set_vm_limit: Operation not permitted

because it tries to increase the hard limit (and eventually the soft limit).
gfortran.dg/set_vm_limit.c does

struct rlimit rl = { vm_limit, RLIM_INFINITY };
r = setrlimit (RLIMIT_AS, &rl);

I'm testing a patch to first to a getrlimit and keep the hard limit
unchanged.

Reply via email to