From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7F09B3858D35; Sun, 19 Nov 2023 12:13:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F09B3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700396038; bh=40f7DzXu5ZW1tNRJyW7s3wad2PrfBUDK2wH3Wn+9DVM=; h=From:To:Subject:Date:From; b=MbohH51yOx3k4qaZfzdwWbFuwXzKCB/HB4tnOAYNJX+xpCB8dxDOvd/Ndh0FIgAb5 2SVe+Kb5N3YtWocd4+/afaRGGvWoUPI93TIQvzf55feIeulMiU89fjzWZZcDcjFa9H a3CBA2XP51ewcFN/AWu/SGg0pOmpPHGL/uKnhWdQ= From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112618] New: internal compiler error: in expand_MASK_CALL, at internal-fn.cc:4529 Date: Sun, 19 Nov 2023 12:13:57 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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=3D112618 Bug ID: 112618 Summary: internal compiler error: in expand_MASK_CALL, at internal-fn.cc:4529 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- jh@ryzen4:~/gcc/build4/stage1-gcc> cat b.c /* PR tree-optimization/106433 */ int m, *p; __attribute__ ((simd)) int bar (int x) { if (x) { if (m < 1) for (m =3D 0; m < 1; ++m) ++x; p =3D &x; for (;;) ++m; } return 0; } __attribute__ ((simd)) int foo (int x) { bar (x); return 0; } jh@ryzen4:~/gcc/build4/stage1-gcc> ./xgcc -B ./ -O2 b.c -fno-tree-vrp during RTL pass: expand b.c: In function =E2=80=98foo.simdclone.3=E2=80=99: b.c:23:2: internal compiler error: in expand_MASK_CALL, at internal-fn.cc:5= 013 23 | bar (x); | ^~~~~~~ 0x12db307 expand_MASK_CALL(internal_fn, gcall*) ../../gcc/internal-fn.cc:5013 0x12daa47 expand_internal_call(internal_fn, gcall*) ../../gcc/internal-fn.cc:4920 0x12daa72 expand_internal_call(gcall*) ../../gcc/internal-fn.cc:4928 0xf7637e expand_call_stmt ../../gcc/cfgexpand.cc:2737 0xf7a5a8 expand_gimple_stmt_1 ../../gcc/cfgexpand.cc:3880 0xf7ac2c expand_gimple_stmt ../../gcc/cfgexpand.cc:4044 0xf82d6f expand_gimple_basic_block ../../gcc/cfgexpand.cc:6100 0xf85322 execute ../../gcc/cfgexpand.cc:6835 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions.=