public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: Andrew MacLeod <amacleod@redhat.com>,
	Xianmiao Qu <cooper.qu@linux.alibaba.com>,
	Yunhai Shang <yunhai@linux.alibaba.com>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>,
	"hernandez, aldy" <aldyh@redhat.com>
Subject: Re: [COMMITTED 2/5] Fix ranger when called from SCEV.
Date: Mon, 13 May 2024 20:19:42 +0200	[thread overview]
Message-ID: <20240513181942.GG23817@lug-owl.de> (raw)
In-Reply-To: <ebeff711-46e7-4422-8794-e9e7b6cfcec6@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 3198 bytes --]

On Tue, 2024-04-30 17:24:15 -0400, Andrew MacLeod <amacleod@redhat.com> wrote:
> Bootstrapped on x86_64-pc-linux-gnu with no regressions.  pushed.

Starting with this patch (upstream as
e8ae56a7dc46e39a48017bb5159e4dc672ec7fad, can still be reproduced with
0c585c8d0dd85601a8d116ada99126a48c8ce9fd as of May 13th), my CI builds fail for
csky-elf in all-target-libgcc by falling into a loop infinite loop:

../gcc/configure '--with-pkgversion=basepoints/gcc-15-432-g0c585c8d0dd, built at 1715608899'	\
	--prefix=/tmp/gcc-csky-elf --enable-werror-always --enable-languages=all		\
	--disable-gcov --disable-shared --disable-threads --target=csky-elf --without-headers
make V=1 all-gcc
make V=1 install-strip-gcc
make V=1 all-target-libgcc

(gdb) bt
#0  0x000000000098f1df in bitmap_list_find_element (head=0x38f2e18, indx=5001) at ../../gcc/gcc/bitmap.cc:375
#1  bitmap_set_bit (head=0x38f2e18, bit=640244) at ../../gcc/gcc/bitmap.cc:962
#2  0x0000000000d39cd1 in process_bb_lives (bb=<optimized out>, curr_point=@0x7ffe062c1b2c: 3039473, dead_insn_p=<optimized out>) at ../../gcc/gcc/lra-lives.cc:889
#3  lra_create_live_ranges_1 (all_p=all_p@entry=true, dead_insn_p=<optimized out>) at ../../gcc/gcc/lra-lives.cc:1416
#4  0x0000000000d3b810 in lra_create_live_ranges (all_p=all_p@entry=true, dead_insn_p=<optimized out>) at ../../gcc/gcc/lra-lives.cc:1486
#5  0x0000000000d1a8bd in lra (f=<optimized out>, verbose=<optimized out>) at ../../gcc/gcc/lra.cc:2482
#6  0x0000000000cd0e18 in do_reload () at ../../gcc/gcc/ira.cc:5973
#7  (anonymous namespace)::pass_reload::execute (this=<optimized out>) at ../../gcc/gcc/ira.cc:6161
#8  0x0000000000de6368 in execute_one_pass (pass=pass@entry=0x367c490) at ../../gcc/gcc/passes.cc:2647
#9  0x0000000000de6c00 in execute_pass_list_1 (pass=0x367c490) at ../../gcc/gcc/passes.cc:2756
#10 0x0000000000de6c12 in execute_pass_list_1 (pass=0x367b2f0) at ../../gcc/gcc/passes.cc:2757
#11 0x0000000000de6c39 in execute_pass_list (fn=0x7f24a1c06240, pass=<optimized out>) at ../../gcc/gcc/passes.cc:2767
#12 0x0000000000a188c6 in cgraph_node::expand (this=0x7f24a1bfaaa0) at ../../gcc/gcc/context.h:48
#13 cgraph_node::expand (this=0x7f24a1bfaaa0) at ../../gcc/gcc/cgraphunit.cc:1798
#14 0x0000000000a1a69b in expand_all_functions () at ../../gcc/gcc/cgraphunit.cc:2028
#15 symbol_table::compile (this=0x7f24a205b000) at ../../gcc/gcc/cgraphunit.cc:2404
#16 0x0000000000a1ccb8 in symbol_table::compile (this=0x7f24a205b000) at ../../gcc/gcc/cgraphunit.cc:2315
#17 symbol_table::finalize_compilation_unit (this=0x7f24a205b000) 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=this@entry=0x7ffe062c1f2e, argc=<optimized out>, argc@entry=78, argv=<optimized out>, argv@entry=0x7ffe062c2058) at ../../gcc/gcc/toplev.cc:2314
#21 0x000000000083ad9e in main (argc=78, argv=0x7ffe062c2058) at ../../gcc/gcc/main.cc:39

(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

-- 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2024-05-13 18:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-30 21:24 Andrew MacLeod
2024-05-13 18:19 ` Jan-Benedict Glaw [this message]
2024-05-13 18:27   ` Jan-Benedict Glaw
2024-05-14 12:47     ` Richard Biener

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240513181942.GG23817@lug-owl.de \
    --to=jbglaw@lug-owl.de \
    --cc=aldyh@redhat.com \
    --cc=amacleod@redhat.com \
    --cc=cooper.qu@linux.alibaba.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=yunhai@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).