Landing: 6f62875a05f6

Project / Subsystem

gcc / gcc

Date

2026-08-18

Author

Léo Hardt

Commit

6f62875a05f6275c171dbbe5ef824eff0d2dcd97

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
6f62875a05f6275c171dbbe5ef824eff0d2dcd97
source_type
github
headline
clean(final.cc): Remove unused static variables.
tldr
Removes four unused static variables from final.cc that were related to older debugging information formats.
author
Léo Hardt
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cleanup
  • • debugging
  • • dead code
discussion_id_link
—
bugzilla_pr
—
date
2026-08-18T00:00:00.000Z

This commit cleans up the final.cc source file by removing four static variables: override_filename, override_linenum, override_columnnum, and override_discriminator. These variables, added for DBX debugging info, are no longer used as their last relevant functionality was removed in 2022 with the deprecation of -gstabs and -gxcoff support. Their removal simplifies the code and removes dead state.