https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226
--- Comment #17 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- The .s files on my cross versus the AWS instance or not even remotely the same: --- j.s 2021-11-17 14:13:19.979883609 -0500 +++ j.s.bad 2021-11-17 14:13:12.083828127 -0500 @@ -5,79 +5,78 @@ .global _main; .type _main, STT_FUNC; _main: - P2.H = _b; - [--sp] = ( r7:7, p5:3 ); + [--sp] = ( p5:3 ); + P2.H = _b; + [--SP] = FP; P2.L = _b; - R2 = [P2]; - P1.H = _a; - cc =R2==0; - P1.L = _a; + R0 = [P2]; + P0.H = _a; + cc =R0==0; + P0.L = _a; if !cc jump .L2; - P4.H = _f; - P3.H = _e; - P5.H = _d; - P4.L = _f; etc etc. Except for the --with-newlib, the GCC configure lines look similar: Configured with: /home/aldyh/src/gcc/configure --target=bfin-elf --enable-languages=c --with-newlib --prefix=/home/aldyh/bld/bfin/install/ Configured with: /home/jenkins/gcc/configure --prefix=/home/jenkins/installed --target=bfin-elf Is there some sort of default -mcpu flag that is different? Anywhoo...I'll continue working on this tomorrow since copying the AWS .s file and compiling it on my cross also exhibits the broken behavior... so there's clearly something there.