From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc2f.google.com (mail-oo1-xc2f.google.com [IPv6:2607:f8b0:4864:20::c2f]) by sourceware.org (Postfix) with ESMTPS id 4656C385841B for ; Sat, 22 Jul 2023 05:05:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4656C385841B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-5661e8f4c45so1820138eaf.1 for ; Fri, 21 Jul 2023 22:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690002338; x=1690607138; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GWOHvYI1hUCxc5rAbN0hjADZlbVTjmgCbf8gxLca7KY=; b=XJ1JWtQ7lRqyauLc8TRsiKV9IkVxE/7563uCG7c+nkSo5/4W02yOPNmYExLku6qObg OsVYzIk5fsdX0B4ICtXYEYAKtuXiMfWOWpzs/AhL63LFrQb2yjCyTANEf+F1m1ndOCbj 0EjK+gvtDWE6bgWituBf87nKlrXbmMYWbNFIkVxTm9KAMalIcaubS6pqHLGA46glZKIq L+X2zuXkVOeKXiaxkRo45g2X58MuH/cU8Tkiw5ggcHI5KQl7ZPCn+LHsAT46UaFJJoZ2 zcUyv+e96na+Rb7yUhYSbRYHy3KeIHDUFgm6NZjH9VScdt9Xt4t44ivUmXudnQYsjx/0 vvuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690002338; x=1690607138; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GWOHvYI1hUCxc5rAbN0hjADZlbVTjmgCbf8gxLca7KY=; b=DUtrYUwNVBvrgtizX/7ai+1519jWFOGNfV68LehmfJCsIzLsKBNoW0Mn0HlDC1Rfee CegHBX8i6rr2UFxkxmkrkRR3hMTiX+AVR+9a0Utpxmrj0W8UppB7Ej0eDoqGYYPiaWOi 9t0ICcNWI4mzqrwhBDmg8CmGtjh23lq5TBFRj2rOImBM9Ww0rNu3tCpZV6ezKaDwhThd u32bZu5aG765dJ0RuE4mIYMPWIRP8+pl59FuU7l+i9GRrZoOHEVds4Rd3Txzoisrmpmv bncDrFMi0RZPZJ+ytnpw5CXIL6Rt7Z44opZUh2M8ewCVeHz2n1Klog5FFSWv/vYEHEGU sgCQ== X-Gm-Message-State: ABy/qLYlb+M/OSKloiaF7tHMDezfNErDoaB3+gY39ndcnxw8Sh2BS56G oy+IJzYyOaAvR1N607BnNqQ= X-Google-Smtp-Source: APBJJlFJ6kLmfeesh5sP6KHMz62pcmcM8cm2g7jRqLBXDc4Zsj5vXnPumkLhfoHInF2FiiQvZxV7/w== X-Received: by 2002:a05:6358:5295:b0:132:d3ea:f225 with SMTP id g21-20020a056358529500b00132d3eaf225mr3376407rwa.24.1690002337887; Fri, 21 Jul 2023 22:05:37 -0700 (PDT) Received: from [172.31.1.103] ([172.56.168.196]) by smtp.gmail.com with ESMTPSA id z5-20020aa791c5000000b0065446092699sm3917568pfa.141.2023.07.21.22.05.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Jul 2023 22:05:37 -0700 (PDT) Message-ID: <47e4ff4c-a5d6-c04e-a98b-974e5796e14e@gmail.com> Date: Fri, 21 Jul 2023 23:05:07 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] testsuite/110763: Ensure zero return from test Content-Language: en-US To: Siddhesh Poyarekar , gcc-patches@gcc.gnu.org Cc: rguenther@suse.de References: <20230721151626.67206-1-siddhesh@gotplt.org> From: Jeff Law In-Reply-To: <20230721151626.67206-1-siddhesh@gotplt.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 7/21/23 09:16, Siddhesh Poyarekar wrote: > The test deliberately reads beyond bounds to exersize ubsan and the > return value may be anything, based on previous allocations. The OFF > test caters for it by ANDing the return with 0, do the same for the DYN > test. > > gcc/testsuite/ChangeLog: > > PR testsuite/110763 > * gcc.dg/ubsan/object-size-dyn.c (dyn): New parameter RET. > (main): Use it. OK jeff