http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48263



           Summary: [4.7 Regression]: build fails for cris-elf in

                    libgfortran

           Product: gcc

           Version: 4.7.0

            Status: UNCONFIRMED

          Keywords: build, ice-on-valid-code

          Severity: normal

          Priority: P3

         Component: regression

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: h...@gcc.gnu.org

                CC: rsand...@gcc.gnu.org

              Host: x86_64-unknown-linux-gnu

            Target: cris-axis-elf





Created attachment 23764

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23764

Preprocessed code, repeat ICE with "cc1 -fpreprocessed iany_i8.i -O2 

-std=gnu99"



A patch in the revision range (last_known_working:first_known_failing)

171339:171341 caused the build for cris-elf to fail as follows:



...

libtool: compile:  /tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/xgcc

-B/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/ -nostdinc

-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/ -isystem

/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/targ-include -isystem

/tmp/hpautotest-gcc1/gcc/newlib/libc/include

-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/cris

-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/libnosys

-L/tmp/hpautotest-gcc1/gcc/libgloss/cris

-B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/bin/

-B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/lib/ -isystem

/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/include -isystem

/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/sys-include -DHAVE_CONFIG_H -I.

-I/tmp/hpautotest-gcc1/gcc/libgfortran

-iquote/tmp/hpautotest-gcc1/gcc/libgfortran/io

-I/tmp/hpautotest-gcc1/gcc/libgfortran/../gcc

-I/tmp/hpautotest-gcc1/gcc/libgfortran/../gcc/config -I../.././gcc

-D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes

-Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules

-ffunction-sections -fdata-sections -g -O2 -MT iany_i8.lo -MD -MP -MF

.deps/iany_i8.Tpo -c /tmp/hpautotest-gcc1/gcc/libgfortran/generated/iany_i8.c

-o iany_i8.o

/tmp/hpautotest-gcc1/gcc/libgfortran/generated/iany_i8.c: In function

'iany_i8':

/tmp/hpautotest-gcc1/gcc/libgfortran/generated/iany_i8.c:188:1: error:

unrecognizable insn:

(insn 390 389 391 40 (set (subreg:SI (reg:DI 393) 0)

        (ior:SI (mem:SI (reg/v/f:SI 134 [ src ]) [2 *src_82+0 S4 A8])

            (subreg:SI (reg/v:DI 92 [ result ]) 0)))

/tmp/hpautotest-gcc1/gcc/libgfortran/generated/iany_i8.c:153 -1

     (nil))

/tmp/hpautotest-gcc1/gcc/libgfortran/generated/iany_i8.c:188:1: internal

compiler error: in extract_insn, at recog.c:2109



Preprocessed code is attached.



Author of one or more suspect patches in revision range CC:ed.

Reply via email to