https://gcc.gnu.org/g:7ba5d70266107de7226e0a163305a17d8bd22331
commit r15-8996-g7ba5d70266107de7226e0a163305a17d8bd22331 Author: Iain Sandoe <i...@sandoe.co.uk> Date: Thu Mar 20 17:08:57 2025 +0000 cobol: Do not include <cmath> (no longer needed) Several of enumerators in parse.y conflict with ones declared in at least some versions of <cmath> .. e.g. "OVERFLOW". The header is no longer needed since the FE is not trying to do host arithmetic. gcc/cobol/ChangeLog: * cobol-system.h: Remove <cmath>. Signed-off-by: Iain Sandoe <i...@sandoe.co.uk> Diff: --- gcc/cobol/cobol-system.h | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/cobol/cobol-system.h b/gcc/cobol/cobol-system.h index 81529bd3a67a..ff9583530e25 100644 --- a/gcc/cobol/cobol-system.h +++ b/gcc/cobol/cobol-system.h @@ -53,7 +53,6 @@ #include <deque> #include <numeric> #include <limits> -#include <cmath> #include <unordered_map> #include <unordered_set>