Landing: 56b3be71da67

Project / Subsystem

gcc / gcc/testsuite

Date

2026-08-18

Author

H.J. Lu

Commit

56b3be71da679072f184304403b0c6910d725b7f

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/testsuite
patch_id
—
commit_hash
56b3be71da679072f184304403b0c6910d725b7f
source_type
github
headline
vect-pragma-target-2.C: Compile with -march=x86-64
tldr
Ensures vectorization tests with pragmas use a specific march for consistent behavior.
author
H.J. Lu
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gcc
  • • testsuite
  • • i386
  • • vectorization
  • • x86-64
discussion_id_link
—
bugzilla_pr
—
date
2026-08-18T00:00:00.000Z

This commit modifies the test suite to compile vect-pragma-target-2.C with the -march=x86-64 flag. This prevents features from newer x86-64 microarchitectures (like x86-64-v4) from being unintentionally enabled when GCC is configured with —with-arch=native —with-cpu=native, ensuring the test’s intended behavior.