Landing: ee5514629e64

Project / Subsystem

gcc / aarch64

Date

2026-07-01

Author

Jakub Jelinek

Commit

ee5514629e647bc918be312e066b87cfa22f8177

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
aarch64
patch_id
commit_hash
ee5514629e647bc918be312e066b87cfa22f8177
source_type
github
headline
aarch64: Ensure NEON builtins are C++14 compatible
tldr
Modifies nested namespace usage in AArch64 NEON builtins to be compatible with C++14 standards.
author
Jakub Jelinek
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • aarch64
  • build
  • c++
  • compiler
discussion_id_link
bugzilla_pr
date
2026-07-01T00:00:00.000Z

This commit addresses recent changes in the AArch64 NEON builtins that introduced nested namespace definitions requiring C++17 or later. Since GCC is expected to be buildable with C++14 compilers (like GCC 5.4), these changes caused pedantic warnings. The fix modifies the nested namespace declarations in relevant header files (aarch64-neon-builtins-base.h, aarch64-neon-builtins-shapes.h) and the source file (aarch64-neon-builtins-shapes.cc) to use the C++14 compatible syntax namespace aarch64_acle { namespace functions { ... } } instead of the C++17 namespace aarch64_acle::functions { ... }.