From owner-svn-src-all@freebsd.org Wed Sep 25 13:36:17 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 62EAE1275D8; Wed, 25 Sep 2019 13:36:17 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46dfGR5qcVz3Pqs; Wed, 25 Sep 2019 13:36:15 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f49.google.com with SMTP id a1so13878496ioc.6; Wed, 25 Sep 2019 06:36:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=42ndp1cuAOEK0Atia4pci3McWYQM70GRV2TlnPZKxtQ=; b=VD6wQwyq78cwmUB+NvKi0DsWgyE5uSt+7D0bxf7OHFV1roWyW1svbYqF2lEtIDgjaw H1CGtXyemSWvmlDdcVVtbncZLxalV/449gSI/uH2wJcU44e62Zj6WX1BsPz2sD6dH38X BtDrNs9Prcn1wPFWqL/Ej5N09pbIfaF7WyCwx9Y6pW+z3HJHN81VMSNQBSxnTBpcSZNN ZLA4CjusYIVgMsuqIYlPB/MuBFrJR+bGE+nzBTSuNWnvrUfEqYvpke6NocH1dKurXJWc oyOrplIAgCBsqbq98DzGqAqHORin4bjnBbRLRU4RudlBwFuMRbzn4Xe/KKOK1gTOGdyq HZog== X-Gm-Message-State: APjAAAVN6fBXY1Ko6pwr3Uc6Cc6AR9dp9qUVWI4hAjSR+3Y02Qy22/7h LcYziz8Sf8aP3ZOw/38D/5uZsOVKp99GkAZvBMaNCg== X-Google-Smtp-Source: APXvYqyuoF4jo0n6DX8LekRm5gCbJniUrPvE7jUjQlpsoVnTGwjMKJsOzM1Jw3HY9WJcLJKDCWtis5i7w/ov5FmwsiI= X-Received: by 2002:a92:995a:: with SMTP id p87mr635248ili.115.1569418574569; Wed, 25 Sep 2019 06:36:14 -0700 (PDT) MIME-Version: 1.0 References: <201909242036.x8OKahnv021758@repo.freebsd.org> <20190925070207.Y3271@besplex.bde.org> In-Reply-To: <20190925070207.Y3271@besplex.bde.org> From: Ed Maste Date: Wed, 25 Sep 2019 09:36:02 -0400 Message-ID: Subject: Re: svn commit: r352661 - head/sys/netinet/tcp_stacks To: Bruce Evans Cc: src-committers , svn-src-all , svn-src-head Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 46dfGR5qcVz3Pqs X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.49 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-4.46 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[49.166.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.46)[ip: (-6.77), ipnet: 209.85.128.0/17(-3.30), asn: 15169(-2.18), country: US(-0.05)]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; FREEMAIL_TO(0.00)[optusnet.com.au]; RWL_MAILSPIKE_POSSIBLE(0.00)[49.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2019 13:36:17 -0000 On Tue, 24 Sep 2019 at 17:39, Bruce Evans wrote: > > On i386, these types have different sizes, so > gcc detects the type mismatch. clang is too broken to report this type > mismatch. Interesting, it seems Clang doesn't even warn in the case of casting a uint64_t to a 32-bit pointer. Looks like there are some useful warnings that ought to be implemented.