[Bug cobol/126609] New: gcobc options passed badly (at least --include)

simonsobisch at gnu dot org via Gcc-bugs <[email protected]> Mon, 03 Aug 2026 10:56:10 +0000
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D126609

            Bug ID: 126609
           Summary: gcobc options passed badly (at least --include)
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: cobol
          Assignee: unassigned at gcc dot gnu.org
          Reporter: simonsobisch at gnu dot org
  Target Milestone: ---

"gcobc --include file.name prog.cob" does not work -> -include is passed to
cobol1, followed by -o file.so (which is related to #119337)

"gcobc -include file.name prog.cob" passes "-includefile.name"

Note: --include=3Dfile.name works, as well as -include file.name


This may or may not be a general issue in the wrapper script gcobc.=