https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77757

--- Comment #1 from André Draszik <ggo at andred dot net> ---
Created attachment 39853
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39853&action=edit
pre-processed output (debian sid mipsel)

For easier reproducibility, I have tested the same on a standard debian (sid)
mipsel system, with the same result:

gcc -mel -mabi=32 -march=mips32r2 -mips16 -minterlink-compressed -mtune=24kec
-mdsp -DHAVE_CONFIG_H -I. -I../../haveged-1.9.1/src -I.. -Wall -I.. -O2 -pipe
-g -feliminate-unused-debug-types -fstack-protector-strong -D_FORTIFY_SOURCE=2
-Wformat -Wformat-security -Werror=format-security -c
../../haveged-1.9.1/src/havegecollect.c  -fPIC -DPIC -o
.libs/libhavege_la-havegecollect.o -save-temps -v
gcc: warning: -pipe ignored because -save-temps specified
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
Target: mipsel-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.2.0-6'
--with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-6 --program-prefix=mipsel-linux-gnu- --enable-shared
--enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm
--disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-mipsel/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-mipsel
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-mipsel
--with-arch-directory=mips --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-multiarch --enable-multilib --with-arch-32=mips32r2 --with-fp-32=xx
--enable-targets=all --with-arch-64=mips64r2 --enable-checking=release
--build=mipsel-linux-gnu --host=mipsel-linux-gnu --target=mipsel-linux-gnu
Thread model: posix
gcc version 6.2.0 20161010 (Debian 6.2.0-6) 
COLLECT_GCC_OPTIONS='-mel' '-mabi=32' '-march=mips32r2' '-mips16'
'-minterlink-compressed' '-mtune=24kec' '-mdsp' '-D' 'HAVE_CONFIG_H' '-I' '.'
'-I' '../../haveged-1.9.1/src' '-I' '..' '-Wall' '-I' '..' '-O2' '-pipe' '-g'
'-feliminate-unused-debug-types' '-fstack-protector-strong' '-D'
'_FORTIFY_SOURCE=2' '-Wformat=1' '-Wformat-security' '-Werror=format-security'
'-c' '-fPIC' '-D' 'PIC' '-o' '.libs/libhavege_la-havegecollect.o' '-save-temps'
'-v' '-mfpxx' '-mllsc' '-mips32r2' '-EL'
 /usr/lib/gcc/mipsel-linux-gnu/6/cc1 -E -quiet -v -I . -I
../../haveged-1.9.1/src -I .. -I .. -imultiarch mipsel-linux-gnu -D
HAVE_CONFIG_H -D _FORTIFY_SOURCE=2 -D PIC
../../haveged-1.9.1/src/havegecollect.c -mel -mel -mabi=32 -march=mips32r2
-mips16 -minterlink-compressed -mtune=24kec -mdsp -mfpxx -mllsc -mips32r2 -Wall
-Wformat=1 -Wformat-security -Werror=format-security
-feliminate-unused-debug-types -fstack-protector-strong -fPIC -g
-fworking-directory -O2 -fpch-preprocess -o havegecollect.i
ignoring nonexistent directory "/usr/local/include/mipsel-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/mipsel-linux-gnu/6/../../../../mipsel-linux-gnu/include"
ignoring duplicate directory ".."
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../haveged-1.9.1/src
 ..
 /usr/lib/gcc/mipsel-linux-gnu/6/include
 /usr/local/include
 /usr/lib/gcc/mipsel-linux-gnu/6/include-fixed
 /usr/include/mipsel-linux-gnu
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-mel' '-mabi=32' '-march=mips32r2' '-mips16'
'-minterlink-compressed' '-mtune=24kec' '-mdsp' '-D' 'HAVE_CONFIG_H' '-I' '.'
'-I' '../../haveged-1.9.1/src' '-I' '..' '-Wall' '-I' '..' '-O2' '-pipe' '-g'
'-feliminate-unused-debug-types' '-fstack-protector-strong' '-D'
'_FORTIFY_SOURCE=2' '-Wformat=1' '-Wformat-security' '-Werror=format-security'
'-c' '-fPIC' '-D' 'PIC' '-o' '.libs/libhavege_la-havegecollect.o' '-save-temps'
'-v' '-mfpxx' '-mllsc' '-mips32r2' '-EL'
 /usr/lib/gcc/mipsel-linux-gnu/6/cc1 -fpreprocessed havegecollect.i -mel -quiet
-dumpbase havegecollect.c -mel -mabi=32 -march=mips32r2 -mips16
-minterlink-compressed -mtune=24kec -mdsp -mfpxx -mllsc -mips32r2
-auxbase-strip .libs/libhavege_la-havegecollect.o -g -O2 -Wall -Wformat=1
-Wformat-security -Werror=format-security -version
-feliminate-unused-debug-types -fstack-protector-strong -fPIC -o
havegecollect.s
GNU C11 (Debian 6.2.0-6) version 6.2.0 20161010 (mipsel-linux-gnu)
        compiled by GNU C version 6.2.0 20161010, GMP version 6.1.1, MPFR
version 3.1.5, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C11 (Debian 6.2.0-6) version 6.2.0 20161010 (mipsel-linux-gnu)
        compiled by GNU C version 6.2.0 20161010, GMP version 6.1.1, MPFR
version 3.1.5, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 4c466752e1c9afde86f8b59646187e2d
COLLECT_GCC_OPTIONS='-mel' '-mabi=32' '-march=mips32r2' '-mips16'
'-minterlink-compressed' '-mtune=24kec' '-mdsp' '-D' 'HAVE_CONFIG_H' '-I' '.'
'-I' '../../haveged-1.9.1/src' '-I' '..' '-Wall' '-I' '..' '-O2' '-pipe' '-g'
'-feliminate-unused-debug-types' '-fstack-protector-strong' '-D'
'_FORTIFY_SOURCE=2' '-Wformat=1' '-Wformat-security' '-Werror=format-security'
'-c' '-fPIC' '-D' 'PIC' '-o' '.libs/libhavege_la-havegecollect.o' '-save-temps'
'-v' '-mfpxx' '-mllsc' '-mips32r2' '-EL'
 as -v -I . -I ../../haveged-1.9.1/src -I .. -I .. -EL -mips32r2 -mips16 -mdsp
-O2 -g -no-mdebug -mabi=32 -march=mips32r2 -mfpxx -mtune=24kec -KPIC -o
.libs/libhavege_la-havegecollect.o havegecollect.s
GNU assembler version 2.27 (mipsel-linux-gnu) using BFD version (GNU Binutils
for Debian) 2.27
havegecollect.s: Assembler messages:
havegecollect.s:39237: Error: operand value out of range for instruction
havegecollect.s:40752: Error: operand value out of range for instruction
havegecollect.s:40798: Error: operand value out of range for instruction
havegecollect.s:40844: Error: operand value out of range for instruction
havegecollect.s:40882: Error: operand value out of range for instruction
havegecollect.s:40920: Error: operand value out of range for instruction
havegecollect.s:40958: Error: operand value out of range for instruction
havegecollect.s:40996: Error: operand value out of range for instruction
havegecollect.s:41176: Error: operand value out of range for instruction
havegecollect.s:41752: Error: operand value out of range for instruction
havegecollect.s:41790: Error: operand value out of range for instruction
havegecollect.s:41828: Error: operand value out of range for instruction
havegecollect.s:41866: Error: operand value out of range for instruction
havegecollect.s:41904: Error: operand value out of range for instruction
havegecollect.s:41942: Error: operand value out of range for instruction
havegecollect.s:41980: Error: operand value out of range for instruction
havegecollect.s:42056: Error: operand value out of range for instruction
havegecollect.s:42094: Error: operand value out of range for instruction
havegecollect.s:42132: Error: operand value out of range for instruction
havegecollect.s:42170: Error: operand value out of range for instruction
havegecollect.s:42208: Error: operand value out of range for instruction
havegecollect.s:42246: Error: operand value out of range for instruction

Reply via email to