Landing: 5c416e28f3c3

Project / Subsystem

gcc / gcc/testsuite

Date

2026-08-26

Author

Georg-Johann Lay

Commit

5c416e28f3c306f3b13ba3139ad6d3802c03d92b

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/testsuite
patch_id
—
commit_hash
5c416e28f3c306f3b13ba3139ad6d3802c03d92b
source_type
github
headline
PR116353 test requires int32plus.
tldr
Modifies a test case to require a 32-bit integer type to prevent shift count overflow warnings.
author
Georg-Johann Lay
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testsuite
  • • integer overflow
  • • shifts
discussion_id_link
—
bugzilla_pr
—
date
2026-08-26T00:00:00.000Z

The test case pr116353.c generated warnings for left shift counts exceeding the width of the type, specifically -Wshift-count-overflow. To resolve this without altering the test’s integrity, this commit requires int32plus, ensuring the test runs on platforms with at least 32-bit integers, thus preventing the shift overflow warnings. This addresses PR testsuite/116353.