From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8DBFF385840C; Wed, 21 Sep 2022 17:35:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DBFF385840C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663781720; bh=9sGEuHNGRvoicAxG+11lZGq1KbyvARi6Jk3YRT9YvNw=; h=From:To:Subject:Date:From; b=qj/WT0o8wbaZpHqfuYPgAiyUCr3kwmpyquHiqDHNxUN/14PX+eba+HB78zF3+J6jw QtnP3t3dYYY3dkugOhF1NvT4lP131BbqNot7MoCY35vNi7SHgodpJG9MpEgtpnaVJ/ 8MnpqqCF9CmxBEO/hiDyKh3gqmwfBmkRwRcOdAJY= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107001] New: ICE in expand_gimple_stmt_1, at cfgexpand.cc:4017 Date: Wed, 21 Sep 2022 17:35:20 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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=3D107001 Bug ID: 107001 Summary: ICE in expand_gimple_stmt_1, at cfgexpand.cc:4017 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started with r9, at -O0 : $ cat z1.c void bar (int *q); void foo (int *p, int *q) { #pragma omp taskgroup task_reduction (*: p[0]) { #pragma omp taskgroup task_reduction (*: q[0]) bar (q); } } $ gcc-13-20220918 -c z1.c -O0 -fopenmp -fexceptions during RTL pass: expand z1.c: In function 'foo': z1.c:2:6: internal compiler error: in expand_gimple_stmt_1, at cfgexpand.cc:4017 2 | void foo (int *p, int *q) | ^~~ 0x9587db expand_gimple_stmt_1 ../../gcc/cfgexpand.cc:4017 0x9587db expand_gimple_stmt ../../gcc/cfgexpand.cc:4044 0x95febf expand_gimple_basic_block ../../gcc/cfgexpand.cc:6096 0x962516 execute ../../gcc/cfgexpand.cc:6822=