On Thu, Jan 1, 2026 at 6:58 AM Iain Sandoe <[email protected]> wrote:
>
> I guess this is close to 'obvious', it fired as a bootstrap fail on
> my devt branch for macOS26. Tested on aarch64-darwin25.
> OK for trunk?
> thanks
> Iain
>
> --- 8< ---
>
> std::max needs <algorithm>, so arrange for that.
>
> gcc/ChangeLog:
>
>         * config/aarch64/aarch64-sve-builtins-shapes.cc
>         (INCLUDE_ALGORITHM): Define.

Ok but ...

>
> Signed-off-by: Iain Sandoe <[email protected]>
> ---
>  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 683e9603583..b0900d5d497 100644
> --- a/gcc/config/aarch64/aarch64-sve-builtins-shapes.cc
> +++ b/gcc/config/aarch64/aarch64-sve-builtins-shapes.cc
> @@ -18,6 +18,7 @@
>     <http://www.gnu.org/licenses/>.  */
>
>  #include "config.h"
> +#define INCLUDE_ALGORITHM

Place the define before config.h like the other files.

Thanks,
Andrew Pinski

>  #include "system.h"
>  #include "coretypes.h"
>  #include "tm.h"
> --
> 2.39.5 (Apple Git-154)
>

Reply via email to