From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7035E3858026; Thu, 14 Oct 2021 17:11:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7035E3858026 From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/102752] New: [12 Regression] Recent change to ldist causing ICE on msp430-elf, rl78-elf, and xstormy16-elf Date: Thu, 14 Oct 2021 17:11:42 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law 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 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, 14 Oct 2021 17:11:42 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102752 Bug ID: 102752 Summary: [12 Regression] Recent change to ldist causing ICE on msp430-elf, rl78-elf, and xstormy16-elf Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: law at gcc dot gnu.org Target Milestone: --- After this change: msp430-elf, rl78-elf and xstormy16-elf are all getting an ICE on gcc.c-torture/execute/ >>From the msp430-elf gcc.log file: /home/jlaw/jenkins/workspace/msp430-elf/gcc/gcc/testsuite/gcc.c-torture/exe= cute/20100827-1.c: In function 'foo':^M /home/jlaw/jenkins/workspace/msp430-elf/gcc/gcc/testsuite/gcc.c-torture/exe= cute/20100827-1.c:3:1: internal compiler error: tree check: expected class 'type', have 'exception= al' (ssa_name) in transform_reduction_loop, at tree-loop-distribution.c:3684^M 0x1532ceb tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*)^M ../../..//gcc/gcc/tree.c:8739^M 0x861c29 tree_class_check(tree_node*, tree_code_class, char const*, int, ch= ar const*)^M ../../..//gcc/gcc/tree.h:3556^M 0x12006d9 loop_distribution::transform_reduction_loop(loop*)^M ../../..//gcc/gcc/tree-loop-distribution.c:3684^M 0x1200d92 loop_distribution::execute(function*)^M ../../..//gcc/gcc/tree-loop-distribution.c:3776^M 0x12012bd execute^M ../../..//gcc/gcc/tree-loop-distribution.c:3901^M Please submit a full bug report,^M You should be able to reproduce this with just a cross compiler. No assemb= ler or target libraries should be needed.=