https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77463
Bug ID: 77463 Summary: internal compiler error: in output_move_qimode, at config/m68k/m68k.c:3160 Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: matthias.r...@hu-berlin.de Target Milestone: --- Created attachment 39542 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39542&action=edit File to reproduce the bug When using the -Os switch, I get the following error: In file included from libc/inet/inet_ntoa.c:8:0: libc/inet/addr.c: In function 'inet_ntoa_r': libc/inet/addr.c:135:1: internal compiler error: in output_move_qimode, at config/m68k/m68k.c:3160 The error disappears without the mentioned switch. Command line and output: /home/matze/atari/gcc-4.6.3-nolibc/m68k-linux/bin/gcc -v -c inet_ntoa.i -Os -m68000 Using built-in specs. COLLECT_GCC=/home/matze/atari/gcc-4.6.3-nolibc/m68k-linux/bin/gcc COLLECT_LTO_WRAPPER=/home/matze/atari/gcc-4.6.3-nolibc/m68k-linux/bin/../libexec/gcc/m68k-linux/4.6.3/lto-wrapper Target: m68k-linux Configured with: /home/tony/buildall/src/gcc/configure --target=m68k-linux --host=x86_64-linux-gnu --build=x86_64-linux-gnu --enable-targets=all --prefix=/opt/cross/gcc-4.6.3-nolibc/m68k-linux/ --enable-languages=c --with-newlib --without-headers --enable-sjlj-exceptions --with-system-libunwind --disable-nls --disable-threads --disable-shared --disable-libmudflap --disable-libssp --disable-libgomp --disable-decimal-float --enable-checking=release --with-mpfr=/home/tony/buildall/src/sys-x86_64 --with-gmp=/home/tony/buildall/src/sys-x86_64 --disable-bootstrap --disable-libquadmath Thread model: single gcc version 4.6.3 (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-Os' '-m68000' /home/matze/atari/gcc-4.6.3-nolibc/m68k-linux/bin/../libexec/gcc/m68k-linux/4.6.3/cc1 -fpreprocessed inet_ntoa.i -quiet -dumpbase inet_ntoa.i -m68000 -auxbase inet_ntoa -Os -version -o /tmp/ccBJ8k10.s GNU C (GCC) version 4.6.3 (m68k-linux) compiled by GNU C version 4.3.2, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C (GCC) version 4.6.3 (m68k-linux) compiled by GNU C version 4.3.2, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 16d5cdc94766d56994b51e72043cc603 In file included from libc/inet/inet_ntoa.c:8:0: libc/inet/addr.c: In function 'inet_ntoa_r': libc/inet/addr.c:135:1: internal compiler error: in output_move_qimode, at config/m68k/m68k.c:3160 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.