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



             Bug #: 55381

           Summary: [4.8 Regression]: build fails on cris-elf building

                    libgfortran with host-gcc-4.4, ICE compiling

                    matmul_i1.c

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Keywords: build, ice-on-valid-code

          Severity: normal

          Priority: P3

         Component: middle-end

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

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

                CC: dnovi...@gcc.gnu.org

              Host: x86_64-unknown-linux-gnu

            Target: cris-axis-elf





Created attachment 28724

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

cc1 -fpreprocessed matmul_i1.i -melf -g -O2  -std=gnu99 -version

-fcx-fortran-rules -ffunction-sections -fdata-sections -ftree-vectorize

-funroll-loops -o matmul_i1.s



Revision r193595 caused the build for cris-elf to fail as follows, with

host-gcc gcc-4.4.3-4.fc12.x86_64 as well as gcc-4.4.4-10.fc12.x86_64:



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

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

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

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

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

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

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

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

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

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

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

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

-I/tmp/hpautotest-gcc0/gcc/libgfortran

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

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

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

-I/tmp/hpautotest-gcc0/gcc/libgfortran/../libgcc -I../libgcc -std=gnu99 -Wall

-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra

-Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections

-ftree-vectorize -funroll-loops -g -O2 -MT matmul_i1.lo -MD -MP -MF

.deps/matmul_i1.Tpo -c

/tmp/hpautotest-gcc0/gcc/libgfortran/generated/matmul_i1.c -o matmul_i1.o

/tmp/hpautotest-gcc0/gcc/libgfortran/generated/matmul_i1.c: In function

'matmul_i1':

/tmp/hpautotest-gcc0/gcc/libgfortran/generated/matmul_i1.c:79:1: internal

compiler error: Illegal instruction

 matmul_i1 (gfc_array_i1 * const restrict retarray, 

 ^

0x85fbc5 crash_signal

        /tmp/hpautotest-gcc0/gcc/gcc/toplev.c:334

0xb37574 analyze_overlapping_iterations

        /tmp/hpautotest-gcc0/gcc/gcc/tree-data-ref.c:2958

0xb381d1 subscript_dependence_tester_1

        /tmp/hpautotest-gcc0/gcc/gcc/tree-data-ref.c:3510

0xb383aa subscript_dependence_tester

        /tmp/hpautotest-gcc0/gcc/gcc/tree-data-ref.c:3561

0xb398b6 compute_affine_dependence(data_dependence_relation*, loop*)

        /tmp/hpautotest-gcc0/gcc/gcc/tree-data-ref.c:4190

0xb3a38f compute_all_dependences(vec<data_reference*, va_heap, vl_ptr>,

vec<data_dependence_relation*, va_heap, vl_ptr>*, vec<loop*, va_heap, vl_ptr>,

bool)

        /tmp/hpautotest-gcc0/gcc/gcc/tree-data-ref.c:4259

0xb3a908 compute_data_dependences_for_loop(loop*, bool, vec<loop*, va_heap,

vl_ptr>*, vec<data_reference*, va_heap, vl_ptr>*,

vec<data_dependence_relation*, va_heap, vl_ptr>*)

        /tmp/hpautotest-gcc0/gcc/gcc/tree-data-ref.c:4545

0xb5de2c vect_analyze_data_refs(_loop_vec_info*, _bb_vec_info*, int*)

        /tmp/hpautotest-gcc0/gcc/gcc/tree-vect-data-refs.c:2975

0x9fcf40 vect_analyze_loop_2

        /tmp/hpautotest-gcc0/gcc/gcc/tree-vect-loop.c:1598

0x9fcf40 vect_analyze_loop(loop*)

        /tmp/hpautotest-gcc0/gcc/gcc/tree-vect-loop.c:1774

0xa1425b vectorize_loops()

        /tmp/hpautotest-gcc0/gcc/gcc/tree-vectorizer.c:114

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.

make[3]: *** [matmul_i1.lo] Error 1

make[3]: Leaving directory

`/tmp/hpautotest-gcc0/cris-elf/gccobj/cris-elf/libgfortran'



Committer of r193595 CC:ed.

Preprocessed matmul_i1.c attached.

Reply via email to