Re: Is it time to take the middle-end stringop/array warnings out of -Wall?
Project / Subsystem
gcc / gcc
Date
2026-05-20
Proposer
Richard Biener <richard.guenther@gmail.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- discussion_id
- EA5F2DB8-4712-46E7-8D65-5FEEB9613D3A@gmail.com
- source_type
- public_inbox
- title
- Re: Is it time to take the middle-end stringop/array warnings out of -Wall?
- headline
- Is it time to take the middle-end stringop/array warnings out of -Wall?
- tldr
- Richard Biener agrees it may be time to move middle-end stringop/array warnings out of -Wall.
- proposer
- Richard Biener <richard.guenther@gmail.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
- []
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • warnings
- • -Wall
- • middle-end
- • stringop
- • array
- bugzilla_url
- —
- date
- 2026-05-20T00:00:00.000Z
Re: Is it time to take the middle-end stringop/array warnings out of -Wall?
Martin Uecker finds middle-end stringop/array warnings useful in C, and observes that some new languages are stricter and fail hard for false positives. Richard Biener agrees that moving the warnings out of -Wall seems like a reasonable intermediate step. The discussion considers whether these warnings, which can have a high false positive rate, should remain in the default warning set.