From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 892D4384B0C1; Tue, 21 Apr 2020 10:05:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 892D4384B0C1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587463504; bh=EAmE7PmnDlHJWRVM1YLPMAe8R8CqcqQpMMhoVloDmcg=; h=From:To:Subject:Date:From; b=lAQZhf/1QEt6rlLpRG3tJzDzx1bY1c9S++UvIYkaTDoQylW8xRTSYlY5ejsd47K/Z sTcgK/mOm0dpf2FZiO20EJvCasMqjY8seLCaHNg4wjWiFN0dN5NarB1JxFhi6aY8Qi 7eXH1E0hMWPdPYhG8d0/XDIkdbcWAuIbZ3hrme9I= From: "haoxintu at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/94686] New: internal compiler error: in gimplify_expr Date: Tue, 21 Apr 2020 10:05:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: haoxintu at gmail dot com 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 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: Tue, 21 Apr 2020 10:05:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94686 Bug ID: 94686 Summary: internal compiler error: in gimplify_expr Product: gcc Version: 6.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: haoxintu at gmail dot com Target Milestone: --- Hi, the test.c (reduced by C-Reduce) #include int a =3D 0,b =3D 0; int main(){ int c =3D (int)(long)(b * 0 >=3D a & b * 0 >=3D a); return 0; } $gcc-6 test.c then got the ICE error test.c: In function =E2=80=98main=E2=80=99: test.c:6:33: internal compiler error: in gimplify_expr, at gimplify.c:11192 int c =3D (int)(long)(b * 0 >=3D a & b * 0 >=3D a); ~~~~~~~~~~~~^~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. My GCC version is=20 $gcc-6 --version gcc-6 (Ubuntu 6.5.0-2ubuntu1~18.04) 6.5.0 20181026 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=