[gcc r16-6467] aarch64: Define INCLUDE_ALGORITHM for std::max in sve-builtins-shape.
Iain D Sandoe
iains@gcc.gnu.org
Fri Jan 2 19:35:33 GMT 2026
https://gcc.gnu.org/g:5e968b9fe53b5f7ffde8521f1c65ebb64b4d9c43
commit r16-6467-g5e968b9fe53b5f7ffde8521f1c65ebb64b4d9c43
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Fri Jan 2 17:48:06 2026 +0000
aarch64: Define INCLUDE_ALGORITHM for std::max in sve-builtins-shape.
std::max needs <algorithm>, so arrange for that.
gcc/ChangeLog:
* config/aarch64/aarch64-sve-builtins-shapes.cc
(INCLUDE_ALGORITHM): Define.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diff:
---
gcc/config/aarch64/aarch64-sve-builtins-shapes.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/config/aarch64/aarch64-sve-builtins-shapes.cc b/gcc/config/aarch64/aarch64-sve-builtins-shapes.cc
index 75fc075dbff6..a40373c78dea 100644
--- a/gcc/config/aarch64/aarch64-sve-builtins-shapes.cc
+++ b/gcc/config/aarch64/aarch64-sve-builtins-shapes.cc
@@ -17,6 +17,7 @@
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
+#define INCLUDE_ALGORITHM
#include "config.h"
#include "system.h"
#include "coretypes.h"
More information about the Gcc-cvs
mailing list