Landing: 3ff04507dbd0

Project / Subsystem

gcc / gcc

Date

2026-05-29

Author

Andrew Pinski

Commit

3ff04507dbd0e567888b1df55381e46bf6d51440

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
3ff04507dbd0e567888b1df55381e46bf6d51440
source_type
github
headline
Fix -Wstringop-overflow warning in pr125453-1.c at -O2 on some targets.
tldr
The test case pr125453-1.c now suppresses the `-Wstringop-overflow` warning to avoid masking a more critical ICE issue.
author
Andrew Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • test suite
  • warning
  • ICE
discussion_id_link
bugzilla_pr
date
2026-05-29T00:00:00.000Z

The test case pr125453-1.c produced a -Wstringop-overflow warning at -O2 on some targets, which obscured the intended ICE (Internal Compiler Error) being tested. The fix adds the -w option to suppress all warnings, allowing the test to focus on the ICE. This change doesn’t affect compiled code, but makes the test suite more reliable.