https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120019
Bug ID: 120019 Summary: [16 regression] PR 111657 change broke Solaris/x86 bootstrap Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: ubizjak at gmail dot com Target Milestone: --- Target: i386-pc-solaris2.11 Between 20250428 and 20250429, Solaris/x86 bootstrap with the native as got broken compiling libgcc: /var/gcc/regression/master/11.4-gcc/build/./gcc/xgcc -B/var/gcc/regression/master/11.4-gcc/build/./gcc/ -B/vol/gcc/i386-pc-solaris2.11/bin/ -B/vol/gcc/i386-pc-solaris2.11/lib/amd64/ -isystem /vol/gcc/i386-pc-solaris2.11/include -isystem /vol/gcc/i386-pc-solaris2.11/sys-include -fno-checking -g -O2 -m64 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-error=narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fpic -I. -I. -I../../.././gcc -I/vol/gcc/src/hg/master/local/libgcc -I/vol/gcc/src/hg/master/local/libgcc/. -I/vol/gcc/src/hg/master/local/libgcc/../gcc -I/vol/gcc/src/hg/master/local/libgcc/../include -DHAVE_CC_TLS -o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c /vol/gcc/src/hg/master/local/libgcc/unwind-dw2.c -fvisibility=hidden -DHIDE_EXPORTS Assembler: unwind-dw2.c "/var/tmp//ccaYKMya.s", line 210 : Invalid instruction argument Near line: " rep movsq (%rsi), (%rdi)" "/var/tmp//ccaYKMya.s", line 11414 : Invalid instruction argument Near line: " rep movsl (%rsi), (%rdi)" and similarly for the 32-bit libgcc. While as can deal with the previous syntax (rep movsl), it apparently doesn't grok the new form. Bootstrap is fine when using gas, though.