Landing: a42cd9bb068a

Project / Subsystem

gcc / gcc

Date

2026-09-02

Author

Richard Biener

Commit

a42cd9bb068ac5f752c1361fa178a6f0727fdb66

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
a42cd9bb068ac5f752c1361fa178a6f0727fdb66
source_type
github
headline
Fixup recent testcase change for vectorization pattern matching.
tldr
Adjusts a testcase to correctly handle target constraints and expected failures for vectorization patterns.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testing
  • • vectorization
  • • regression
discussion_id_link
—
bugzilla_pr
—
date
2026-09-02T00:00:00.000Z

This commit addresses an issue with a recent change to the testcase gcc.dg/vect/bb-slp-pattern-2.c. The attempt to replace a target constraint with an expected failure (xfail) only for specific conditions did not work as intended. The fix combines both the target constraint and the xfail marker to ensure the testcase behaves correctly, ensuring that it both guards against unsupported targets and correctly identifies cases that should fail, preventing regressions in vectorization pattern matching.