From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 77E803858C56; Sun, 10 Apr 2022 19:51:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 77E803858C56 From: "roland.illig at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/105209] New: internal compiler error: in store_data_bypass_p_1 Date: Sun, 10 Apr 2022 19:51:42 +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: 10.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: roland.illig at gmx dot 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 cf_gcctarget 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: Sun, 10 Apr 2022 19:51:42 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105209 Bug ID: 105209 Summary: internal compiler error: in store_data_bypass_p_1 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- Target: alpha $ cat <<'EOF' > tree.c typedef struct tnode_t { struct tnode_t *tn_left, *tn_right; int v_quad; } tnode_t; int constant_addr(const tnode_t *, long *); int constant_addr(const tnode_t *tn, long *offsp) { long offs1 =3D 0, offs2 =3D 0; if (tn->v_quad > 0) { offs1 =3D tn->v_quad; return 0; } else if (tn->v_quad > -1) { offs2 =3D tn->tn_right->v_quad; if (!constant_addr(tn->tn_left, &offs1)) return 0; } else { return 0; } *offsp =3D offs1 + offs2; return 1; } EOF $ /home/rillig/builds/alpha-tools/bin/alpha--netbsd-gcc -O2 -ftrapv -c tree= .c during RTL pass: sched1 /home/rillig/proj/src/usr.bin/xlint/lint1/tree.c: In function 'constant_add= r': /home/rillig/proj/src/usr.bin/xlint/lint1/tree.c:23:1: internal compiler er= ror: in store_data_bypass_p_1, at recog.c:3714 23 | } | ^ $ gcc --version alpha--netbsd-gcc (NetBSD nb1 20210411) 10.3.0=