From owner-freebsd-perl@freebsd.org Mon Jul 25 09:20:21 2016 Return-Path: Delivered-To: freebsd-perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE029BA3116 for ; Mon, 25 Jul 2016 09:20:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D72581BE1 for ; Mon, 25 Jul 2016 09:20:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D2F9FBA3115; Mon, 25 Jul 2016 09:20:21 +0000 (UTC) Delivered-To: perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2A89BA3114 for ; Mon, 25 Jul 2016 09:20:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7D0D1BDF for ; Mon, 25 Jul 2016 09:20:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6P9KLOT073675 for ; Mon, 25 Jul 2016 09:20:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: perl@FreeBSD.org Subject: [Bug 210837] lang/perl5.22 (and related?): ext/re/re_exec.c has long long format matched up with long argument Date: Mon, 25 Jul 2016 09:20:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markmi@dsl-only.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: perl@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2016 09:20:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210837 --- Comment #11 from Mark Millard --- (In reply to Mathieu Arnold from comment #8) I still have more to do but I got a little time to see what the compile messages were like on armv6 (an ILP32 FreeBSD architecture) after applying = the patch to the 5.22 source. I did not see any warnings about odd mixes of 32-bit types and 64-bit types between formats and values/storage or other such. BUT: For armv6 there are format warnings for 32-bit types int vs. unsigned long (31-bit precision and sign bit vs. 32-bit precision and no sign bit). Vario= us files get the same messages. I list the message a little later below. If the types stay int and unsigned long on amd64 it would end up being 32-b= it (int) vs. 64-bit (unsigned long). So this could then be more than a signed = vs. not issue. But something might auto adjust so I need to try amd64 directly. That will not be tonight. ./const-xs.inc:1451:21: warning: format specifies type 'int' but the argume= nt has type 'line_t' (aka 'unsigned long') [-Wformat] COP_FILE(cop), CopLINE(cop)); ^~~~~~~~~~~~ ../../cop.h:529:21: note: expanded from macro 'CopLINE' #define CopLINE(c) ((c)->cop_line) ^~~~~~~~~~~~~~~ ./const-xs.inc:1456:50: warning: format specifies type 'int' but the argume= nt has type 'line_t' (aka 'unsigned long') [-Wformat] COP_FILE_F " line %d\n", sv, COP_FILE(cop), CopLINE(cop)); ~~=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~ %lu ../../cop.h:529:21: note: expanded from macro 'CopLINE' #define CopLINE(c) ((c)->cop_line) ^~~~~~~~~~~~~~~ Side note: There was the message: op.c:13436:35: warning: comparison of constant 2251799813685247 with expres= sion of type 'PADOFFSET' (aka 'unsigned long') is always false [-Wtautological-consta nt-out-of-range-compare] if (intro && base > ~~~~ ^ I do not know if 5.24 gets this or not. Nor if this is an okay "always fals= e" or not. --=20 You are receiving this mail because: You are the assignee for the bug.=