From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3CDE63858D32; Tue, 4 Jul 2023 23:00:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3CDE63858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688511642; bh=vMEYisnm0kB66HWdZ6bZm/sF490Mvv/RsZcMZXn8tMY=; h=From:To:Subject:Date:From; b=NgSfiChfGn1gUymGctPpmkFC/cEaXLMpWIbdrzv5LzuzIvlTjtXFCZrdlrOwTLJOd L9EThZFH5mBY+Z0T0wpsGAvs+gjKQ4ImGW9aUcTy+/HJhgKgVZS2LcFrOkH6E/qX/B 7mwPx1kIfzM7Jf96Prb6Xd9pZIbuI+uVVMSdVXTg= From: "kristerw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110554] New: more invalid wide Boolean values Date: Tue, 04 Jul 2023 23:00:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kristerw at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110554 Bug ID: 110554 Summary: more invalid wide Boolean values Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: kristerw at gcc dot gnu.org Target Milestone: --- The fix for PR 110487 improved the situation, but my tool still finds some cases where GCC generates invalid values. One such case can be seen in gcc.c-torture/compile/pr104499.c: typedef int __attribute__((__vector_size__ (8 * sizeof (int)))) V; V v; void foo (void) { v =3D ((1 | v) !=3D 1); } Here veclower2 is introducing code _8; _10; ... gimple_assign gimple_assign More examples of this failure can be seen in gcc.c-torture/compile/pr108237= .c and gcc.c-torture/compile/pr54713-1.c=