Landing: 83f3afe15d62
Project / Subsystem
gcc / x86
Date
2026-08-20
Author
H.J. Lu
Commit
83f3afe15d628481cf90e1c889f8a0c956152256
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- x86
- patch_id
- —
- commit_hash
- 83f3afe15d628481cf90e1c889f8a0c956152256
- source_type
- github
- headline
- Compile BF16 tests with specific flags to avoid type redefinition warnings
- tldr
- x86 BF16 test cases are compiled with flags to suppress warnings about type redefinitions caused by default AVX-related options.
- author
- H.J. Lu
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • x86
- • bfloat16
- • testsuite
- • compiler-flags
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-20T00:00:00.000Z
Several test cases related to BFloat16 (BF16) on x86 architectures were failing due to warnings about ‘__bfloat16’ being redefined. These warnings occurred because default compiler options enabled AVX-related features that conflicted with the test’s assumptions about BF16 types. The fix involves compiling these specific test cases with -mno-avx512bf16 and -mno-avxneconvert to prevent the conflict and allow the tests to pass cleanly.