From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id BEFF53858C39 for ; Fri, 2 Sep 2022 14:36:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BEFF53858C39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662129404; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=djKi4iFmTCnRo4WhyQ5L8pwoww47aTM/XAdSD263El0=; b=Pl+emRHoSaHuBUDwDCl7wCAJTutkJJl21Q+lQcVOK014QSWF5+9UeKER5YL2IdHJNPBcik msnVRmwNhCCBcnry4Diw40EyRe6s8KPpLB28rEDpYs4tyTnioO4nMOkb9n+kNA2MlOCyk5 PMiX0OA1EjKNnP9s7l2mhPsem5ekpxY= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-147-0Yf-PuuoN-WM1UOwBewtlQ-1; Fri, 02 Sep 2022 10:36:43 -0400 X-MC-Unique: 0Yf-PuuoN-WM1UOwBewtlQ-1 Received: by mail-qk1-f197.google.com with SMTP id h20-20020a05620a245400b006bb0c6074baso2062154qkn.6 for ; Fri, 02 Sep 2022 07:36:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date; bh=djKi4iFmTCnRo4WhyQ5L8pwoww47aTM/XAdSD263El0=; b=dRKv+hZ0qoQtopGW7twoHTP8UKYxA6nRlFcjYIihkqdm7ZITmZM5kTwL0dUg5ISdA6 B2VfK5pt0tXkKV86YzL6tjeu3695TQqLsXDFLg2CZIJc/i8IOV7TVJKNA8XsDf+tjNDR IqNv9Y7FOk8VT/MNR+0TxD3U7KsWN02nPlPp0DXc6DrsICl9KsU89LtsgmQR2qptavOW 5mK43nDNeeEXLRWUGcZBuxfnJZn4xip1DNol20nphVfe5WYWnxjUPmx40WkUrszBwI9S AQOi03XLxI1Xb4d4ewhfitb4KqRT2vdAUUECnYT0NsEDM40uwfkGU7/fh2aVdq8MPxnX c53w== X-Gm-Message-State: ACgBeo140YGca+YdqarBrM4mXo3424JLacWyGfPE30OnNq1X7gQLSuQY FkdMlu75kyDYXo1FKcUogjev11HIf1//NDF7XZd9lT5xSNqiS4Jx2wr4cunQ7mUq36V3w0vZY9g Ui9NBSI/P1/6LGiupHw== X-Received: by 2002:a05:620a:12c3:b0:6bb:f708:585e with SMTP id e3-20020a05620a12c300b006bbf708585emr24266464qkl.490.1662129402174; Fri, 02 Sep 2022 07:36:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR7In+0fNjNj84rRtHGSaXdOXFpwvz1iY529Dh1UZ7+KTUBwCFD6FETlPfyz809k9NC5kap+sg== X-Received: by 2002:a05:620a:12c3:b0:6bb:f708:585e with SMTP id e3-20020a05620a12c300b006bbf708585emr24266440qkl.490.1662129401790; Fri, 02 Sep 2022 07:36:41 -0700 (PDT) Received: from t14s.localdomain (c-73-69-212-193.hsd1.nh.comcast.net. [73.69.212.193]) by smtp.gmail.com with ESMTPSA id f7-20020a05620a15a700b006bb2f555ba4sm1399871qkk.41.2022.09.02.07.36.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 07:36:41 -0700 (PDT) Message-ID: <7de01e86ef5081550cd58c37455cfe0794a457c7.camel@redhat.com> Subject: Re: [PATCH 1/2] analyzer: return a concrete offset for cast_regions From: David Malcolm To: Tim Lange , gcc-patches@gcc.gnu.org Date: Fri, 02 Sep 2022 10:36:40 -0400 In-Reply-To: <20220902140834.11636-1-mail@tim-lange.me> References: <20220902140834.11636-1-mail@tim-lange.me> User-Agent: Evolution 3.44.4 (3.44.4-1.fc36) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Fri, 2022-09-02 at 16:08 +0200, Tim Lange wrote: > This patch fixes a bug where maybe_fold_sub_svalue did not fold the > access of a single char from a string to a char when the offset was > zero > because get_relative_concrete_offset did return false for > cast_regions. >=20 > Regrtested on Linux x86_64. Thanks; this patch is OK for trunk. Dave