From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1DB2B3855592; Wed, 16 Aug 2023 19:28:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1DB2B3855592 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692214081; bh=Vt6Trrhq3vjW3hEvT9yfezB5pEWK5CNVCGyMTW53hlk=; h=From:To:Subject:Date:From; b=sRwvo/9iYSSyep+/BHLv6Ol/9y4DSmiLSUlljvxLtrjNgMiozrkkDBwxZzDfPqRNX AvdNmgZm/K3QtBBVDaXNSizBHmCAdmPWLCVHJS07Jyl/MPaXPszXHLoylg3fiiT8Kq S4JKOgDASCmCew5Gu4KO6i29RrlNHJx3dCrrKO1s= From: "krebbel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111039] New: Unable to coalesce ssa_names Date: Wed, 16 Aug 2023 19:28:00 +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: krebbel 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=3D111039 Bug ID: 111039 Summary: Unable to coalesce ssa_names Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- compiler_corruption_function(flags) { int nowait =3D flags & 1048576, isexpand =3D flags & 8388608; abcd(); _setjmp(flags); if (nowait && isexpand) flags &=3D 0; abcde(); } gcc -mbranch-cost=3D0 -O t.c verified with recent GCC: 02ecc9a2632 t.c: In function =E2=80=98compiler_corruption_function=E2=80=99: t.c:1:1: internal compiler error: SSA corruption 1 | compiler_corruption_function(flags) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x15a657c fail_abnormal_edge_coalesce /home/andreas/build/../gcc/gcc/tree-ssa-coalesce.cc:1003 0x15a657c coalesce_partitions /home/andreas/build/../gcc/gcc/tree-ssa-coalesce.cc:1425 0x15a657c coalesce_ssa_name(_var_map*) /home/andreas/build/../gcc/gcc/tree-ssa-coalesce.cc:1755 0x153d6cf remove_ssa_form /home/andreas/build/../gcc/gcc/tree-outof-ssa.cc:1065 0x153d6cf rewrite_out_of_ssa(ssaexpand*) /home/andreas/build/../gcc/gcc/tree-outof-ssa.cc:1323 0xf42073 execute /home/andreas/build/../gcc/gcc/cfgexpand.cc:6610 This very much looks like another instance of PR71020.=