From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EFF3D3959E71; Wed, 2 Dec 2020 09:42:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EFF3D3959E71 From: "stefansf at linux dot ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/98094] New: ICE in decompose, at wide-int.h:984 Date: Wed, 02 Dec 2020 09:42:49 +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: stefansf at linux dot ibm.com 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: Wed, 02 Dec 2020 09:42:50 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98094 Bug ID: 98094 Summary: ICE in decompose, at wide-int.h:984 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: stefansf at linux dot ibm.com Target Milestone: --- Compiling SPEC benchmark 502.gcc_r on S/390 results in the following ICE: $ /devel/gcc-2/dst/bin/gcc -c -o tree.o -DSPEC -DNDEBUG -I. -I./include -I./spec_qsort -DSPEC_502 -DSPEC_AUTO_SUPPRESS_OPENMP -DIN_GCC -DHAVE_CONFI= G_H -march=3Darch13 -O3 -std=3Dgnu89 -DSPEC_LP64 tree.c=20 during GIMPLE pass: iftoswitch tree.c: In function 'tree_floor_log2': tree.c:10732: internal compiler error: in decompose, at wide-int.h:984 0x119ce51 wi::int_traits > >::decompose(long*, unsigned int, generic_wide_int > const&) /devel/gcc-2/src/gcc/wide-int.h:984 0x1a44837 wi::int_traits > >::decompose(long*, unsigned int, generic_wide_int > const&) /devel/gcc-2/src/gcc/tree.h:3445 0x1a44837 wide_int_ref_storage::wide_int_ref_storage > >(generic_wide_int > const&, un= sig ned int) /devel/gcc-2/src/gcc/wide-int.h:1034 0x1a44837 generic_wide_int >::generic_wide_int > >(generic_wide_int=20 > const&, unsigned int) /devel/gcc-2/src/gcc/wide-int.h:790 0x1a44837 wi::binary_traits >, generic_wide_int >, wi::int_traits > >::precision_type, wi::int_traits > >::precision_type>::result_type wi::sub >, generic_wide_int > >(generic_wide_int > const&, generic_wide_int > const&) /devel/gcc-2/src/gcc/wide-int.h:2513 0x1a44837 wi::binary_traits >, generic_wide_int >, wi::int_traits > >::precision_type, wi::int_traits > >::precision_type>::operator_result operator- >, generic_wide_int > >(generic_wide_int > const&, generic_wide_int > co nst&) /devel/gcc-2/src/gcc/wide-int.h:3297 0x1a44837 tree_switch_conversion::cluster::get_range(tree_node*, tree_node*) /devel/gcc-2/src/gcc/tree-switch-conversion.h:87 0x1a3771d tree_switch_conversion::jump_table_cluster::can_be_handled(vec const&, unsigned int, unsigned int) /devel/gcc-2/src/gcc/tree-switch-conversion.c:1265 0x1a3d8d5 tree_switch_conversion::jump_table_cluster::can_be_handled(vec const&, unsigned int, unsigned int) /devel/gcc-2/src/gcc/tree-switch-conversion.c:1258 0x1a3d8d5 tree_switch_conversion::jump_table_cluster::find_jump_tables(vec&) /devel/gcc-2/src/gcc/tree-switch-conversion.c:1201 0x1a3d8d5 tree_switch_conversion::jump_table_cluster::find_jump_tables(vec&) /devel/gcc-2/src/gcc/tree-switch-conversion.c:1175 0x22876d9 if_chain::is_beneficial() /devel/gcc-2/src/gcc/gimple-if-to-switch.cc:244 0x2289237 execute /devel/gcc-2/src/gcc/gimple-if-to-switch.cc:530 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Bisect stops at 03eb09292ef228d1d12b5168cdd748583b1f992a=