From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 40ED33844030; Thu, 30 Jul 2020 06:00:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 40ED33844030 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596088819; bh=6LZiDrHYZW6midc54QtfDym6brte+WNRhxbSAYs+3xA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HbSH/pVW2h88lSll5iXk+WHwsaHOX6uqsOsCrYrtxo9s+xojnFnRnoyHfu4ChUqiP z0+K2cSTXMdSLnStzFBZM8EEczYdCZ5HP1SV+m0jfd2iUS02og/V0k25z71HhH99Yd j6Heb46LC7UhkhJMgzlLq1KZqVItN5kvhqW+048A= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/96370] ice with -ffast-math Date: Thu, 30 Jul 2020 06:00:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED 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: component bug_status version cf_reconfirmed_on keywords everconfirmed 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, 30 Jul 2020 06:00:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96370 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |tree-optimization Status|UNCONFIRMED |ASSIGNED Version|unknown |11.0 Last reconfirmed| |2020-07-30 Keywords| |ice-on-valid-code Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. #1 0x0000000000e1d0d9 in gimple_build_assign_1 (lhs=3D , subcode=3DNEGATE_EXPR,=20 op1=3D, op2=3D,=20 op3=3D) at ../../src/test/gcc/gimple.c:455 455 gcc_assert (num_ops > 2); #3 0x00000000016294ee in rewrite_expr_tree ( stmt=3D, opindex=3D1, ops=3D..., changed= =3Dtrue,=20 next_changed=3Dfalse) at ../../src/test/gcc/tree-ssa-reassoc.c:4963 4963 =3D gimple_build_assign (lhs, gimple_assign_rhs_code (stmt), (gdb) l 4958 { 4959 gimple *insert_point 4960 =3D find_insert_point (stmt, oe1->op, oe2->op); 4961 lhs =3D make_ssa_name (TREE_TYPE (lhs)); 4962 stmt 4963 =3D gimple_build_assign (lhs, gimple_assign_rhs_code (stmt), 4964 oe1->op, oe2->op); so the rhs code is a negate while we expect sth else. I will have a look.=