https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64460
--- Comment #6 from Joel Sherrill <joel at gcc dot gnu.org> --- (In reply to ktkachov from comment #5) > (In reply to Joel Sherrill from comment #4) > > (In reply to ktkachov from comment #3) > > > I have a fix in the works. The bug is down to the "shift" attribute value > > > in > > > one of the patterns, although only xscale_sched_adjust_cost uses that > > > attribute. > > > > Awesome! I was about to start another attempt at a git bisect but it sounds > > like you don't need it. Let me know if it is worth running. > > Thanks, but no need. I think I've got the root cause and I got a fix that > fixes the testcase, I just need to put it through testing. > > A testsuite-appropriate reduced testcase would be nice I guess, although > I'll kick off a reducer soon. FWIW the head now builds for arm-rtems again but the bug is still present with 15b6c83e88101ec7e2efedc114a7940cfbffa479. FWIW there are a few warnings building the ARM: ../../../../../../gcc/libgcc/config/arm/fp16.c:97:1: warning: no previous prototype for '__gnu_h2f_internal' [-Wmissing-prototypes] ../../../../../../gcc/libgcc/config/arm/fp16.c:122:1: warning: no previous prototype for '__gnu_f2h_ieee' [-Wmissing-prototypes] ../../../../../../gcc/libgcc/config/arm/fp16.c:128:1: warning: no previous prototype for '__gnu_h2f_ieee' [-Wmissing-prototypes] ../../../../../../gcc/libgcc/config/arm/fp16.c:134:1: warning: no previous prototype for '__gnu_f2h_alternative' [-Wmissing-prototypes] ../../../../../../gcc/libgcc/config/arm/fp16.c:140:1: warning: no previous prototype for '__gnu_h2f_alternative' [-Wmissing-prototypes] ../../../../../../gcc/libgcc/unwind-arm-common.inc:245:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ../../../../../../gcc/libgcc/emutls.c:159:13: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] ../../../../../../gcc/libgcc/emutls.c:159:13: warning: incompatible implicit declaration of built-in function 'calloc' ../../../../../../gcc/libgcc/emutls.c:171:13: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] ../../../../../../gcc/libgcc/emutls.c:171:13: warning: incompatible implicit declaration of built-in function 'realloc'