[Bug cobol/119301] New: cobol FE uses get_current_dir_name unconditionally

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 15 09:46:59 GMT 2025


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

            Bug ID: 119301
           Summary: cobol FE uses get_current_dir_name unconditionally
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: cobol
          Assignee: iains at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org
  Target Milestone: ---

I think we can fix this by falling back to getcwd() which libiberty provides if
it's not available on $host.


More information about the Gcc-bugs mailing list