On Tue, 26 Nov 2019, Bernd Schmidt wrote: > On 11/26/19 1:36 AM, Joseph Myers wrote: > > I'm seeing a libgcc build failure for coldfire in my build-many-glibcs.py > > bot (m68k-linux-gnu configured --with-arch=cf --disable-multilib). That's > > building _mulsc3.o; I get assembler errors: > > I overlooked a difference in the 68881 vs coldfire patterns when I > combined them. They use different suffixes for register compares (I only > spotted the different constraints). > > The following seems to fix the assembler failures. I cannot properly > test Coldfire however due to lack of hardware.
Thanks for fixing this (this is not a review of the patch). The soft-float ColdFire build (--with-arch=cf --with-cpu=54455 --disable-multilib) successfully built libgcc and glibc, but ran into an ICE building the glibc tests. Again, I've not bisected but this commit seems likely to be responsible. Compile the attached preprocessed source with -O2. during RTL pass: jump2 test-strncmp.c: In function 'test_main': test-strncmp.c:477:1: internal compiler error: in patch_jump_insn, at cfgrtl.c:1291 0x767a92 patch_jump_insn /scratch/jmyers/glibc/many10/src/gcc/gcc/cfgrtl.c:1290 0x767b9f redirect_branch_edge /scratch/jmyers/glibc/many10/src/gcc/gcc/cfgrtl.c:1317 0x76a722 rtl_redirect_edge_and_branch /scratch/jmyers/glibc/many10/src/gcc/gcc/cfgrtl.c:1450 0x752e09 redirect_edge_and_branch(edge_def*, basic_block_def*) /scratch/jmyers/glibc/many10/src/gcc/gcc/cfghooks.c:373 0x122555c try_forward_edges /scratch/jmyers/glibc/many10/src/gcc/gcc/cfgcleanup.c:562 0x122555c try_optimize_cfg /scratch/jmyers/glibc/many10/src/gcc/gcc/cfgcleanup.c:2960 0x1226a8d cleanup_cfg(int) /scratch/jmyers/glibc/many10/src/gcc/gcc/cfgcleanup.c:3174 0x1226cb8 execute /scratch/jmyers/glibc/many10/src/gcc/gcc/cfgcleanup.c:3354 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. -- Joseph S. Myers jos...@codesourcery.com
test-strncmp.i.gz
Description: application/gzip