]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Define INCLUDE_ALGORITHM for std::max in sve-builtins-shape.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 2 Jan 2026 17:48:06 +0000 (17:48 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 2 Jan 2026 17:48:06 +0000 (17:48 +0000)
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>
gcc/config/aarch64/aarch64-sve-builtins-shapes.cc

index 75fc075dbff683fccff7ce257a810c440fa9d2fd..a40373c78deacead67f7af243cd8209144e4773c 100644 (file)
@@ -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"