From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3C1713851C17; Fri, 12 Jun 2020 05:45:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C1713851C17 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591940748; bh=XvWze3/AdVThxQqbMUgTcdpp6DRLqFBI06qUHIjBZu8=; h=From:To:Subject:Date:From; b=a1cpGxcYHxM/vsmXnXNan634jzWr/0mabmw1+xJejJbuB+EnUviE6IaJ1qTt9SZl7 KA5c3I05Q0wWZICZlUyKuu4mb95MqefQfu6jPU4YfkhFpaBwok0YbK7iUCYjaFWT57 4WHzkuHBMTXEb+DER/LDSYC3RJkbeSY6PnfPFSvw= From: "vsevolod.livinskij at frtk dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/95649] New: ICE during GIMPLE pass: cunroll Date: Fri, 12 Jun 2020 05:45:48 +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: vsevolod.livinskij at frtk dot ru 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: Fri, 12 Jun 2020 05:45:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95649 Bug ID: 95649 Summary: ICE during GIMPLE pass: cunroll Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: vsevolod.livinskij at frtk dot ru Target Milestone: --- Error: >$ g++ -O2 -c func.cpp during GIMPLE pass: cunroll func.cpp: In function =E2=80=98void test()=E2=80=99: func.cpp:4:6: internal compiler error: Segmentation fault 4 | void test() { | ^~~~ 0x1102483 crash_signal gcc/toplev.c:328 0x1b58f3b loop_containing_stmt gcc/tree-ssa-loop.h:76 0x1b58f3b chrec_contains_symbols_defined_in_loop gcc/tree-chrec.c:1009 0x1b59248 chrec_contains_symbols_defined_in_loop gcc/tree-chrec.c:1026 0x1b59248 chrec_contains_symbols_defined_in_loop gcc/tree-chrec.c:1026 0x1b59248 chrec_contains_symbols_defined_in_loop gcc/tree-chrec.c:1026 0x1b593cb chrec_contains_symbols_defined_in_loop(tree_node const*, unsigned int) gcc/tree-chrec.c:1039 0x11dfff3 compute_overall_effect_of_inner_loop(loop*, tree_node*) gcc/tree-scalar-evolution.c:473 0x11dfff3 compute_overall_effect_of_inner_loop(loop*, tree_node*) gcc/tree-scalar-evolution.c:447 0x11de08c analyze_scalar_evolution_1 gcc/tree-scalar-evolution.c:1960 0x11deb9d analyze_scalar_evolution(loop*, tree_node*) gcc/tree-scalar-evolution.c:2038 0x11df04f instantiate_scev_name gcc/tree-scalar-evolution.c:2335 0x11df04f instantiate_scev_r gcc/tree-scalar-evolution.c:2636 0x11df1ca instantiate_scev_binary gcc/tree-scalar-evolution.c:2466 0x11df1ca instantiate_scev_r gcc/tree-scalar-evolution.c:2649 0x11ded9e instantiate_scev_poly gcc/tree-scalar-evolution.c:2409 0x11ded9e instantiate_scev_r gcc/tree-scalar-evolution.c:2641 0x11dfde5 instantiate_scev(edge_def*, loop*, tree_node*) gcc/tree-scalar-evolution.c:2718 0x127743a instantiate_parameters gcc/tree-scalar-evolution.h:63 0x127743a idx_infer_loop_bounds gcc/tree-ssa-loop-niter.c:3612 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Reproducer: extern unsigned short var_5; extern int var_8, var_9; extern short arr_7[]; void test() { for (; 0 < (char)var_5;) for (int a(var_9 ? var_5 : 0); a < 3002972621U + 1291994699; a +=3D 19499 - 19497) for (long b(var_8); b; b +=3D 4) arr_7[a * b] =3D 0; } GCC version: 11.0.0 (87af4f40453a9c84363bde5d9a58466de7fbee2e)=