From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31890 invoked by alias); 23 Jan 2015 10:56:57 -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 31857 invoked by uid 48); 23 Jan 2015 10:56:51 -0000 From: "coopht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/64744] New: ARM: gcc internal compiler error: in store_field, at expr.c:6659 Date: Fri, 23 Jan 2015 10:56: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-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: coopht at gmail 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 attachments.created 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: 2015-01/txt/msg02519.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64744 Bug ID: 64744 Summary: ARM: gcc internal compiler error: in store_field, at expr.c:6659 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: coopht at gmail dot com Created attachment 34544 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34544&action=edit Test to reproduce ICE on gcc's trunk ICE occured while compiling attach like this: ./cc1 -O0 test_segfault_array.c Reproduced on: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220028 Backtrace: test_segfault_array.c: In function 'foo': test_segfault_array.c:4:10: internal compiler error: in store_field, at expr.c:6659 char a [2] = {0}; ^ 0x92a415 store_field /mnt/staff/compiler/gcc-head/src/gcc/gcc/expr.c:6659 0x9236e5 expand_assignment(tree_node*, tree_node*, bool) /mnt/staff/compiler/gcc-head/src/gcc/gcc/expr.c:5000 0x7f0544 expand_gimple_stmt_1 /mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:3398 0x7f0958 expand_gimple_stmt /mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:3494 0x7f7afa expand_gimple_basic_block /mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:5407 0x7f9519 execute /mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:6016 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.