https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93108
Bug ID: 93108 Summary: mmix generates invalid assembly on newlib (-fstack-protector-strong -ffunction-sections): internal error: fixup not contained within frag Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at inbox dot ru Target Milestone: --- Created attachment 47572 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47572&action=edit bug.c Attached example is a self-contained preprocessed version of newlib-3.1.0/newlib/libc/stdio/vfprintf.c The crash looks like that: $ ./xgcc -B. -fstack-protector-strong -ffunction-sections -c bug.c -o bug.o bug.c: Assembler messages: bug.c:3419: Error: internal error: fixup not contained within frag $ ./xgcc -B. -v Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: mmix Configured with: ../gcc/configure --target=mmix --prefix=/home/slyfox/dev/git/gcc-mmix/../gcc-mmix-installed --with-sysroot=/usr/mmix --disable-bootstrap --enable-languages=c --disable-nls --with-native-system-header-dir=/include CFLAGS=-O0 CXXFLAGS=-O0 Thread model: single Supported LTO compression algorithms: zlib zstd gcc version 10.0.0 20191230 (experimental) (GCC)