From 6a031255cf1842447a143849e720349eb00533d2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 2 Jun 2022 18:42:01 +0930 Subject: [PATCH] Re: ubsan: signed integer overflow in atof_generic Oops. * atof-generic.c: Include limits.h. --- gas/atof-generic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gas/atof-generic.c b/gas/atof-generic.c index 91583194868..1aee4fa8029 100644 --- a/gas/atof-generic.c +++ b/gas/atof-generic.c @@ -20,6 +20,7 @@ #include "as.h" #include "safe-ctype.h" +#include #ifdef TRACE static void flonum_print (const FLONUM_TYPE *); -- 2.30.2