From f955cd4a58de7ef332ccbaca58561be68bee4f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= Date: Tue, 4 Feb 2020 15:46:13 +0000 Subject: pp_i_modulo(): remove workaround for ancient glibc bug Old glibc versions had a buggy modulo implementation for 64 bit integers on 32-bit architectures. This was fixed in glibc 2.3, released in 2002 (the version check in the code is overly cautious). Removing the alternate PP function support is left for the next commit, in case we need to resurrect it in future. --- pp_proto.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pp_proto.h') diff --git a/pp_proto.h b/pp_proto.h index 580ce937ec..25b8dd52fa 100644 --- a/pp_proto.h +++ b/pp_proto.h @@ -298,9 +298,4 @@ PERL_CALLCONV OP *Perl_pp_warn(pTHX); PERL_CALLCONV OP *Perl_pp_xor(pTHX); PERL_CALLCONV OP *Perl_unimplemented_op(pTHX); -/* alternative functions */ -#if defined(__GLIBC__) && IVSIZE == 8 && ( __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8)) -PERL_CALLCONV OP *Perl_pp_i_modulo_glibc_bugfix(pTHX); -#endif - /* ex: set ro: */ -- cgit v1.2.1