Landing: 160159b272f9

Project / Subsystem

gcc / gccrs

Date

2026-05-28

Author

Marc Poulhiès

Commit

160159b272f9880dfdb5e4e8fad4bbe475567809

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
commit_hash
160159b272f9880dfdb5e4e8fad4bbe475567809
source_type
github
headline
Gccrs: Work around -Wrestrict false positive.
tldr
This commit addresses a false positive `-Wrestrict` warning in Gccrs by disabling the check within the affected code section.
author
Marc Poulhiès
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gccrs
  • rust
  • warning
  • -Wrestrict
discussion_id_link
bugzilla_pr
date
2026-05-28T00:00:00.000Z

A recent change in Gccrs triggered a false positive -Wrestrict warning during compilation. This commit addresses the issue by disabling the -Wrestrict check in the specific code section where the warning occurs. This workaround prevents the erroneous warning and ensures a clean build process.