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

            Bug ID: 62254
           Summary: gcc-4.9 miscompiles linux kernel zlib for armv3
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kugan at gcc dot gnu.org

Created attachment 33392
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33392&action=edit
testcase

rm-none-linux-gnueabi-gcc -O -march=armv3 inffast.i 
inffast.i: In function ‘inflate_fast’:
inffast.i:385:1: internal compiler error: Segmentation fault
 }
 ^
0x9b878f crash_signal
    /home/kugan/work/sources/gcc-fsf/trunk/gcc/toplev.c:337
0xc90cf6 arm_reload_in_hi(rtx_def**)
    /home/kugan/work/sources/gcc-fsf/trunk/gcc/config/arm/arm.c:15279
0xd025cc gen_reload_inhi(rtx_def*, rtx_def*, rtx_def*)
    /home/kugan/work/sources/gcc-fsf/trunk/gcc/config/arm/arm.md:6346
0x89ca2b insn_gen_fn::operator()(rtx_def*, rtx_def*, rtx_def*) const
    /home/kugan/work/sources/gcc-fsf/trunk/gcc/recog.h:309
0x89ca2b check_and_process_move
    /home/kugan/work/sources/gcc-fsf/trunk/gcc/lra-constraints.c:1163
0x89ca2b curr_insn_transform
    /home/kugan/work/sources/gcc-fsf/trunk/gcc/lra-constraints.c:3270
0x89d5ac lra_constraints(bool)
    /home/kugan/work/sources/gcc-fsf/trunk/gcc/lra-constraints.c:4200
0x88a59f lra(_IO_FILE*)
    /home/kugan/work/sources/gcc-fsf/trunk/gcc/lra.c:2189
0x848da6 do_reload
    /home/kugan/work/sources/gcc-fsf/trunk/gcc/ira.c:5306
0x848da6 execute
    /home/kugan/work/sources/gcc-fsf/trunk/gcc/ira.c:5465
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.



arm-none-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=/home/kugan/work/builds/gcc-fsf-trunk/tools/bin/arm-none-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/home/kugan/work/builds/gcc-fsf-trunk/tools/libexec/gcc/arm-none-linux-gnueabi/5.0.0/lto-wrapper
Target: arm-none-linux-gnueabi
Configured with: /home/kugan/work/sources/gcc-fsf/trunk/configure
--target=arm-none-linux-gnueabi
--prefix=/home/kugan/work/builds/gcc-fsf-trunk/tools
--with-sysroot=/home/kugan/work/builds/gcc-fsf-trunk/sysroot-arm-none-linux-gnueabi
--disable-libssp --disable-libgomp --disable-libmudflap --disable-libatomic
--disable-libquadmath --without-libquadmath --enable-languages=c
--with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=softfp --with-thumb
Thread model: posix
gcc version 5.0.0 20140820 (experimental) (GCC)

Reply via email to