From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12015 invoked by alias); 24 Apr 2014 06:33:09 -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 11988 invoked by uid 48); 24 Apr 2014 06:33:06 -0000 From: "tony.wang at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60949] New: Thumb2 LRA ICE for case pr34856.c Date: Thu, 24 Apr 2014 06:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: tony.wang at arm dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg01808.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60949 Bug ID: 60949 Summary: Thumb2 LRA ICE for case pr34856.c Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: tony.wang at arm dot com I'm running regression test for the latest GCC trunk, and run into below ICE. And if I disable the LRA feature with option mno-lra, the test case will pass: ./install-native/bin/arm-none-eabi-gcc -fno-diagnostics-show-caret -O3 -fomit-frame-pointer -funroll-loops -w -c -mthumb -mcpu=cortex-m3 -o pr34856.o ./src/gcc/gcc/testsuite/gcc.c-torture/compile/pr34856.c ./src/gcc/gcc/testsuite/gcc.c-torture/compile/pr34856.c: In function 'f1': ./src/gcc/gcc/testsuite/gcc.c-torture/compile/pr34856.c:17:1: internal compiler error: in split_reg, at lra-constraints.c:4801 0x854bfc split_reg /work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/lra-constraints.c:4801 0x8558a5 split_if_necessary /work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/lra-constraints.c:4904 0x85df76 inherit_in_ebb /work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/lra-constraints.c:5391 0x85df76 lra_inheritance() /work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/lra-constraints.c:5552 0x84d74a lra(_IO_FILE*) /work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/lra.c:2368 0x80fb36 do_reload /work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/ira.c:5457 0x80fb36 execute /work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/ira.c:5618 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.