From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22184 invoked by alias); 11 Apr 2013 08:57:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21992 invoked by uid 48); 11 Apr 2013 08:57:35 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/56916] New: ICE when building libgfortran for arm-none-eabi Date: Thu, 11 Apr 2013 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-04/txt/msg00959.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56916 Bug #: 56916 Summary: ICE when building libgfortran for arm-none-eabi Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned@gcc.gnu.org ReportedBy: ktkachov@gcc.gnu.org CC: rguenther@suse.de Target: arm-none-eabi With r197671 gcc ICEs while building libgfortran $SOURCE/gcc/libgfortran/generated/matmul_i8.c: In function 'matmul_i8': $SOURCE/gcc/libgfortran/generated/matmul_i8.c:374:1: internal compiler error: Segmentation fault } ^ 0x8f1a85 crash_signal 0x8a1c88 rtx_cost(rtx_def*, rtx_code, int, bool) $SOURCE/gcc/gcc/rtlanal.c:3805 0xd4220d set_src_cost $SOURCE/gcc/gcc/rtl.h:1368 0xd4220d doloop_optimize $SOURCE/gcc/gcc/loop-doloop.c:662 0xd4220d doloop_optimize_loops() $SOURCE/gcc/gcc/loop-doloop.c:764 0x7e3b37 rtl_doloop $SOURCE/gcc/gcc/loop-init.c:543 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Weirdly, when I execute the ICEing command on itself it ICEs, but when I add -save-temps it doesn't and the resulting .i file compiles without error $SOURCE/build/obj/gcc2/./gcc/xgcc -B$SOURCE/build/obj/gcc2/./gcc/ -B$SOURCE/build/install/arm-none-eabi/bin/ -B$SOURCE/build/install/arm-none-eabi/lib/ -isystem $SOURCE/build/install/arm-none-eabi/include -isystem $SOURCE/build/install/arm-none-eabi/sys-include -DHAVE_CONFIG_H -I. -I$SOURCE/gcc/libgfortran -iquote$SOURCE/gcc/libgfortran/io -I$SOURCE/gcc/libgfortran/../gcc -I$SOURCE/gcc/libgfortran/../gcc/config -I../.././gcc -I$SOURCE/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 -O2 -g -MT matmul_i8.lo -MD -MP -MF .deps/matmul_i8.Tpo -c $SOURCE/gcc/libgfortran/generated/matmul_i8.c -o matmul_i8.o Cross compiler configuration: --with-fpu=neon-vfpv4 --with-float=hard --with-arch=armv7-a --with-language=c,c++,fortran