Landing: cb5a2055984a

Project / Subsystem

gcc / testsuite

Date

2026-09-17

Author

Dominic P

Commit

cb5a2055984ab58ace86a3789415240784ceb110

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
testsuite
patch_id
—
commit_hash
cb5a2055984ab58ace86a3789415240784ceb110
source_type
github
headline
Testsuite minmax-swar tests derive shift from sizeof.
tldr
Makes test suite minmax-swar tests correctly sized for different integer types.
author
Dominic P
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testsuite
  • • optimization
  • • SIMD
discussion_id_link
—
bugzilla_pr
—
date
2026-09-17T00:00:00.000Z

Two test cases in the minmax-swar suite previously had a hardcoded shift count of 31, assuming a 32-bit integer. This commit modifies them to dynamically derive the shift count from sizeof(int), making them robust across different integer sizes and ensuring proper testing for various platforms.