From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D76F83842436; Tue, 22 Sep 2020 09:34:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D76F83842436 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1600767275; bh=N+Ax6K7gEb9Vxn71KLUJW16NsNlg++CAiaoMftrfUpk=; h=From:To:Subject:Date:From; b=kq1VOrfifvJFO8OPnsAfwo7l5k4wiOQZDEzCa8bQI1ZWpiVLHK6gzJl7lzz7fcUw7 Vm1AmKd7EBwW3UV+z/o4v5dsA1VcM78Gvj9nmFyV2a1SDYTiQfFCdrt1nDAKlbOyRx +kgF3QsT9Q4V+kVe5wHjWGwFYOa0oYDdADSFLvH8= From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/97159] New: segfault in modref_may_conflict Date: Tue, 22 Sep 2020 09:34:35 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: Tue, 22 Sep 2020 09:34:35 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97159 Bug ID: 97159 Summary: segfault in modref_may_conflict Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- With a build of commit 48b0c1250a5c7d72be6b3fbbb1117d1cce43daee (Date: Mon = Sep 21 12:46:00 2020 +0200) for x86_64-linux with nvptx accelerator, we run int= o: ... FAIL: libgomp.fortran/examples-4/declare_target-1.f90 -O1 (internal comp= iler error) ... In more detail: ... during GIMPLE pass: dse^M /home/vries/oacc/trunk/source-gcc/libgomp/testsuite/libgomp.fortran/example= s-4/declare_target-1.f90: In function 'fib':^M /home/vries/oacc/trunk/source-gcc/libgomp/testsuite/libgomp.fortran/example= s-4/declare_target-1.f90:6: internal compiler error: Segmentation fault^M 0x1133447 crash_signal^M /home/vries/oacc/trunk/source-gcc/gcc/toplev.c:327^M 0x12b1a69 modref_may_conflict^M /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-alias.c:2433^M 0x12b1da0 ref_maybe_used_by_call_p_1^M /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-alias.c:2513^M 0x12b2af9 ref_maybe_used_by_call_p^M /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-alias.c:2832^M 0x12b2c2f ref_maybe_used_by_stmt_p(gimple*, ao_ref*, bool)^M /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-alias.c:2864^M 0x12e8b6f dse_classify_store(ao_ref*, gimple*, bool, simple_bitmap_def*, bo= ol*, tree_node*)^M /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-dse.c:831^M 0x12e9817 dse_dom_walker::dse_optimize_stmt(gimple_stmt_iterator*)^M /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-dse.c:1151^M 0x12e9947 dse_dom_walker::before_dom_children(basic_block_def*)^M /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-dse.c:1183^M 0x1bef976 dom_walker::walk(basic_block_def*)^M /home/vries/oacc/trunk/source-gcc/gcc/domwalk.c:309^M 0x12e9ac0 execute^M /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-dse.c:1237^M ...=