Landing: d70dbee952cd

Project / Subsystem

gcc / cobol

Date

2026-06-04

Author

Xavier Del Campo Romero

Commit

d70dbee952cd6aa956190e2993e14dd3b712efd3

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
commit_hash
d70dbee952cd6aa956190e2993e14dd3b712efd3
source_type
github
headline
COBOL searches for copybooks in the compiler, not the driver.
tldr
COBOL frontend now handles copybook path searches directly, aligning with Modula-2 and supporting `-B` and `-idirafter`.
author
Xavier Del Campo Romero
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • cobol
  • frontend
  • build-system
discussion_id_link
bugzilla_pr
date
2026-06-04T00:00:00.000Z

The COBOL frontend, cobol1, now manages copybook path searches internally, rather than relying on the gcobol driver. This change mirrors the behavior of the Modula-2 frontend, allowing cobol1 to honor options like -B and -idirafter for specifying search paths. This provides more consistent and flexible control over how copybooks are located during compilation.