Landing: eb25d3e4806a

Project / Subsystem

gcc / cobol

Date

2026-07-23

Author

James K. Lowden

Commit

eb25d3e4806a331ac51dfbc0b306d7deaea43b85

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
commit_hash
eb25d3e4806a331ac51dfbc0b306d7deaea43b85
source_type
github
headline
cobol: Handle -Wno options and -fPIC better in gcobc emulation
tldr
Improves gcobc emulation script to default to -fPIC and handle -Wno options correctly.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • cobol
  • gcobc
  • fPIC
discussion_id_link
bugzilla_pr
date
2026-07-23T00:00:00.000Z

The gcobc emulation script now defaults to using the -fPIC (Position Independent Code) flag unless an executable is being produced, enhancing position independence. It also gains proper handling for -Wno- options, allowing developers to selectively disable warnings more reliably.