From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lug-owl.de (lug-owl.de [IPv6:2a03:4000:10:469::]) by sourceware.org (Postfix) with ESMTPS id 088A1384DD00 for ; Mon, 13 May 2024 18:27:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 088A1384DD00 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=lug-owl.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=lug-owl.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 088A1384DD00 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a03:4000:10:469:: ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715624860; cv=none; b=hPvSyYNHaaGUp8oPxc40w1fWT0y1tSH6LeYEfrZNbufVTr+3us9OVh1BjWLn8/Tgj2tQQLp0ejTELPiaW3q0aZYoi1h8XQkX6cGGkwDZ6mGJywO/Vg/8VtWQ3eQJiXSxpm9JCbZ6uDoIDIQeNwFGZjRnEpqcfAmDQmGzIQ1pcOs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715624860; c=relaxed/simple; bh=80zJ99EymphMHnSZ+YNelD8zU+i2fa3wAGryc8IiCXI=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=Qw3cTDzeN2SmotLaqqIpipfJGzCERssDFO9omWansalGXB6hqC0zFS0McEW4OGfd90AgLX0LQ+WnGGKX842oyQ9S+ZC8vdjgnWencXgzXaUGWf1PtGdukFl17vjUg1oTk/U+RqY8X/LYmr+IStmERiMsMiRT/YkeOZZpPwKbpPM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by lug-owl.de (Postfix, from userid 1001) id 157AD42110; Mon, 13 May 2024 20:27:38 +0200 (CEST) Date: Mon, 13 May 2024 20:27:38 +0200 From: Jan-Benedict Glaw To: Andrew MacLeod , Xianmiao Qu , Yunhai Shang Cc: gcc-patches , "hernandez, aldy" Subject: Re: [COMMITTED 2/5] Fix ranger when called from SCEV. Message-ID: <20240513182738.GH23817@lug-owl.de> References: <20240513181942.GG23817@lug-owl.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r4QXMf6/kyF/FvJJ" Content-Disposition: inline In-Reply-To: <20240513181942.GG23817@lug-owl.de> X-Operating-System: Linux chamaeleon 6.4.0-0.deb12.2-amd64 X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net X-Echelon-Enable: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll X-TKUeV: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll X-message-flag: Please send plain text messages only. Do not send HTML emails. Thank you. User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP,URIBL_BLACK,WEIRD_PORT autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --r4QXMf6/kyF/FvJJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 2024-05-13 20:19:42 +0200, Jan-Benedict Glaw wr= ote: > On Tue, 2024-04-30 17:24:15 -0400, Andrew MacLeod w= rote: > > Bootstrapped on x86_64-pc-linux-gnu with no regressions.=C2=A0 pushed. >=20 > Starting with this patch (upstream as > e8ae56a7dc46e39a48017bb5159e4dc672ec7fad, can still be reproduced with > 0c585c8d0dd85601a8d116ada99126a48c8ce9fd as of May 13th), my CI builds fa= il for > csky-elf in all-target-libgcc by falling into a loop infinite loop: >=20 > ../gcc/configure '--with-pkgversion=3Dbasepoints/gcc-15-432-g0c585c8d0dd,= built at 1715608899' \ > --prefix=3D/tmp/gcc-csky-elf --enable-werror-always --enable-languages= =3Dall \ > --disable-gcov --disable-shared --disable-threads --target=3Dcsky-elf --= without-headers > make V=3D1 all-gcc > make V=3D1 install-strip-gcc > make V=3D1 all-target-libgcc Just to add: /var/lib/laminar/run/gcc-csky-elf/65/toolchain-build/./gcc/cc1 -quiet \ -I . -I . -I ../../.././gcc -I ../../../../gcc/libgcc \ -I ../../../../gcc/libgcc/. -I ../../../../gcc/libgcc/../gcc \ -I ../../../../gcc/libgcc/../include -imultilib ck801 \ -iprefix /var/lib/laminar/run/gcc-csky-elf/65/toolchain-build/gcc/../lib/g= cc/csky-elf/15.0.0/ \ -isystem /var/lib/laminar/run/gcc-csky-elf/65/toolchain-build/./gcc/includ= e \ -isystem /var/lib/laminar/run/gcc-csky-elf/65/toolchain-build/./gcc/includ= e-fixed \ -MD unwind-dw2-fde.d -MF unwind-dw2-fde.dep -MP -MT unwind-dw2-fde.o \ -D IN_GCC -D CROSS_DIRECTORY_STRUCTURE -D IN_LIBGCC2 -D inhibit_libc \ -D HAVE_CC_TLS -D USE_EMUTLS -D HIDE_EXPORTS \ -isystem /tmp/gcc-csky-elf/csky-elf/include \ -isystem /tmp/gcc-csky-elf/csky-elf/sys-include \ -isystem ./include ../../../../gcc/libgcc/unwind-dw2-fde.c -quiet \ -dumpbase unwind-dw2-fde.c -dumpbase-ext .c -mcpu=3Dck801 -g -g -g -O2 -O2= -O2 \ -Wextra -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototyp= es \ -Wmissing-prototypes -Wold-style-definition -fbuilding-libgcc -fno-stack-p= rotector \ -fexceptions -fvisibility=3Dhidden -o /tmp/cc3SHedS.s > (gdb) bt > #0 0x000000000098f1df in bitmap_list_find_element (head=3D0x38f2e18, ind= x=3D5001) at ../../gcc/gcc/bitmap.cc:375 > #1 bitmap_set_bit (head=3D0x38f2e18, bit=3D640244) at ../../gcc/gcc/bitm= ap.cc:962 > #2 0x0000000000d39cd1 in process_bb_lives (bb=3D, curr_po= int=3D@0x7ffe062c1b2c: 3039473, dead_insn_p=3D) at ../../gcc= /gcc/lra-lives.cc:889 > #3 lra_create_live_ranges_1 (all_p=3Dall_p@entry=3Dtrue, dead_insn_p=3D<= optimized out>) at ../../gcc/gcc/lra-lives.cc:1416 > #4 0x0000000000d3b810 in lra_create_live_ranges (all_p=3Dall_p@entry=3Dt= rue, dead_insn_p=3D) at ../../gcc/gcc/lra-lives.cc:1486 > #5 0x0000000000d1a8bd in lra (f=3D, verbose=3D) at ../../gcc/gcc/lra.cc:2482 > #6 0x0000000000cd0e18 in do_reload () at ../../gcc/gcc/ira.cc:5973 > #7 (anonymous namespace)::pass_reload::execute (this=3D) = at ../../gcc/gcc/ira.cc:6161 > #8 0x0000000000de6368 in execute_one_pass (pass=3Dpass@entry=3D0x367c490= ) at ../../gcc/gcc/passes.cc:2647 > #9 0x0000000000de6c00 in execute_pass_list_1 (pass=3D0x367c490) at ../..= /gcc/gcc/passes.cc:2756 > #10 0x0000000000de6c12 in execute_pass_list_1 (pass=3D0x367b2f0) at ../..= /gcc/gcc/passes.cc:2757 > #11 0x0000000000de6c39 in execute_pass_list (fn=3D0x7f24a1c06240, pass=3D= ) at ../../gcc/gcc/passes.cc:2767 > #12 0x0000000000a188c6 in cgraph_node::expand (this=3D0x7f24a1bfaaa0) at = =2E./../gcc/gcc/context.h:48 > #13 cgraph_node::expand (this=3D0x7f24a1bfaaa0) at ../../gcc/gcc/cgraphun= it.cc:1798 > #14 0x0000000000a1a69b in expand_all_functions () at ../../gcc/gcc/cgraph= unit.cc:2028 > #15 symbol_table::compile (this=3D0x7f24a205b000) at ../../gcc/gcc/cgraph= unit.cc:2404 > #16 0x0000000000a1ccb8 in symbol_table::compile (this=3D0x7f24a205b000) a= t ../../gcc/gcc/cgraphunit.cc:2315 > #17 symbol_table::finalize_compilation_unit (this=3D0x7f24a205b000) at ..= /../gcc/gcc/cgraphunit.cc:2589 > #18 0x0000000000f0932d in compile_file () at ../../gcc/gcc/toplev.cc:476 > #19 0x0000000000839648 in do_compile () at ../../gcc/gcc/toplev.cc:2158 > #20 toplev::main (this=3Dthis@entry=3D0x7ffe062c1f2e, argc=3D, argc@entry=3D78, argv=3D, argv@entry=3D0x7ffe062c2058) = at ../../gcc/gcc/toplev.cc:2314 > #21 0x000000000083ad9e in main (argc=3D78, argv=3D0x7ffe062c2058) at ../.= =2E/gcc/gcc/main.cc:39 >=20 > (Loop is based in process_bb_lives(), looping in the > FOR_BB_INSNS_REVERSE_SAFE (bb, curr_insn, next) block starting at > about line 696.) MfG, JBG --=20 --r4QXMf6/kyF/FvJJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQlDTvPcScNjKREqWEdvV51g5nhuwUCZkJbmQAKCRAdvV51g5nh uwx4AJ92/MTtKJ4Jt4OCQ3KlBgQV+2b37gCghq+xsq/oSK4YZNuiBLGBRLDqWqU= =ZT7G -----END PGP SIGNATURE----- --r4QXMf6/kyF/FvJJ--