Landing: 3c917d8d0483

Project / Subsystem

gcc / gcc/doc

Date

2026-05-01

Author

Nathan Myers

Commit

3c917d8d0483d857336ce8e22d7a455a213966f1

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/doc
patch_id
commit_hash
3c917d8d0483d857336ce8e22d7a455a213966f1
source_type
github
headline
Correct Example Code Comment in GCC Documentation
tldr
Fixed a typo in a comment within the example code for the -Wunused-variable flag in the GCC documentation.
author
Nathan Myers
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • documentation
discussion_id_link
bugzilla_pr
date
2026-05-01T00:00:00.000Z

This commit corrects a minor error in the GCC documentation. It changes the comment text in the example code for the -Wunused-variable flag from “pre/postincrement used” to “pre/postincrement result used”. This ensures the documentation accurately reflects the behavior of the code and avoids potential confusion for users.