Landing: b3e78a177149

Project / Subsystem

gcc / gcc/testsuite

Date

2026-08-01

Author

Andrea Pinski

Commit

b3e78a17714908dbcd4b968a6c567ce75d424487

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/testsuite
patch_id
—
commit_hash
b3e78a17714908dbcd4b968a6c567ce75d424487
source_type
github
headline
testsuite: Add phiopt factoring test for restrict keyword
tldr
New testcase verifies phiopt pass handles factoring of loads with 'restrict' pointers correctly.
author
Andrea Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testsuite
  • • gcc
  • • optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-08-01T00:00:00.000Z

A new test case has been added to the GCC testsuite to specifically verify the phiopt optimization pass’s handling of load factoring when restrict pointers are involved. This ensures that the optimizations related to the restrict keyword are correctly applied in conjunction with load factoring.