Landing: b895096273bb

Project / Subsystem

gcc / gcc/testsuite

Date

2026-08-18

Author

H.J. Lu

Commit

b895096273bbab5291afc84ea4079967a753d2b4

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/testsuite
patch_id
—
commit_hash
b895096273bbab5291afc84ea4079967a753d2b4
source_type
github
headline
vect-pragma-target-1.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-1.C with the -march=x86-64 flag. This prevents AVX512 features from being unintentionally enabled on AVX512 machines when GCC is configured with —with-arch=native —with-cpu=native, ensuring the test’s intended behavior.