From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CF2CD3857C5A; Thu, 20 Aug 2020 01:19:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF2CD3857C5A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597886393; bh=h4AzVoTgsZcxXCzbhCNJhEBk6awen5SaVxeSRSEz2s4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=js832+e8OVqCjOUPNpx/YJpBLIhi+SuHkud3sj0surfzJZCSdUUNoS1uJZBZfZZB1 EoDlMycmvX6uhh+f7RT2nNQV7RPCJNSlnzpxllm25q+rKI/15iarfycp5YPUgPkRgB wzbist8x90E3hlM+yhUxwGV9328ff7D6w9YytkqM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/96713] [11 Regression] ICE: in fold_relational_const, at fold-const.c:14921 with -fanalyzer Date: Thu, 20 Aug 2020 01:19:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: 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: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2020 01:19:53 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96713 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:2f5951bd95e334d611f4be7bbe1a136c580f9c20 commit r11-2776-g2f5951bd95e334d611f4be7bbe1a136c580f9c20 Author: David Malcolm Date: Wed Aug 19 17:36:53 2020 -0400 analyzer: fix ICE on vector comparisons [PR96713] gcc/analyzer/ChangeLog: PR analyzer/96713 * region-model.cc (region_model::get_gassign_result): For comparisons, only use eval_condition when the lhs has boolean type, and use get_or_create_constant_svalue on the boolean constants directly rather than via get_rvalue. gcc/testsuite/ChangeLog: PR analyzer/96713 * gcc.dg/analyzer/pr96713.c: New test.=