Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c++: Avoid using __array_rank as a variable name [PR115061]
This patch fixes a compilation error when building GCC using Clang. Since __array_rank is used as a built-in trait name, use rank instead. PR c++/115061 gcc/cp/ChangeLog: * semantics.cc (finish_trait_expr): Use rank instead of __array_rank. Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org> (cherry picked from commit 30ff6c5)
- Loading branch information