Commit 925ca2c8ee for perl
commit 925ca2c8ee82719f6e8c8d943eb0dab51b77ad99
Author: Tigranuhy Grigoryan <tigranuhy.grigoryan@gmail.com>
Date: Wed Sep 30 16:34:29 2026 +0400
sv.c: Fix undeclared _dv in VMS/Itanium
Commit 65e48665 renamed the local variable _dv to dv_ but left the use
inside Perl+isnan() unchanged. The macro is guarded by
__VMS && __ia64 && __IEEE_FLOAT, so this only breaks OpenVMS Itanium.
diff --git a/sv.c b/sv.c
index e5b208fe70..b8ae412b72 100644
--- a/sv.c
+++ b/sv.c
@@ -13102,7 +13102,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *const sv, const char *const pat, const STRLEN patlen,
# define VCATPVFN_NV_TO_FV(nv,fv) \
STMT_START { \
double dv_ = nv; \
- fv = Perl_isnan(_dv) ? LDBL_QNAN : dv_; \
+ fv = Perl_isnan(dv_) ? LDBL_QNAN : dv_; \
} STMT_END
# else
# define VCATPVFN_NV_TO_FV(nv,fv) (fv)=(nv)