public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/59037] New: ICE when accessing invalid element (nelts + 1) of vector
@ 2013-11-07 12:29 matthew.leach at arm dot com
  2013-11-07 12:31 ` [Bug middle-end/59037] " matthew.leach at arm dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: matthew.leach at arm dot com @ 2013-11-07 12:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59037
           Summary: ICE when accessing invalid element (nelts + 1) of
                    vector
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: matthew.leach at arm dot com

Created attachment 31179
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31179&action=edit
Reduced test case for ICE

Output of ./gcc -v -save-temps -O3 ~/test.c

Using built-in specs.
COLLECT_GCC=./gcc
COLLECT_LTO_WRAPPER=/work/gcc-trunk/gcc/install-native/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --enable-languages=c
--prefix=/work/gcc-trunk/gcc/install-native
Thread model: posix
gcc version 4.9.0 20131107 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O3' '-mtune=generic' '-march=x86-64'

/work/gcc-trunk/gcc/install-native/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/cc1
-E -quiet -v -imultilib . -imultiarch x86_64-linux-gnu /home/matlea01/test.c
-mtune=generic -march=x86-64 -O3 -fpch-preprocess -o test.i
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/work/gcc-trunk/gcc/install-native/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:

/work/gcc-trunk/gcc/install-native/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/include
 /usr/local/include
 /work/gcc-trunk/gcc/install-native/include

/work/gcc-trunk/gcc/install-native/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O3' '-mtune=generic' '-march=x86-64'

/work/gcc-trunk/gcc/install-native/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/cc1
-fpreprocessed test.i -quiet -dumpbase test.c -mtune=generic -march=x86-64
-auxbase test -O3 -version -o test.s
GNU C (GCC) version 4.9.0 20131107 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.9.0 20131107 (experimental), GMP version
4.3.2, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.9.0 20131107 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.9.0 20131107 (experimental), GMP version
4.3.2, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: fa4fbb3b9b1dd7adc3db446e035da983
/home/matlea01/test.c: In function ‘main’:
/home/matlea01/test.c:9:1: internal compiler error: Segmentation fault
 }
 ^
0x9c944f crash_signal
        ../../gcc/toplev.c:334
0xab9259 tree_check
        ../../gcc/tree.h:2691
0xab9259 simplify_bitfield_ref
        ../../gcc/tree-ssa-forwprop.c:3049
0xabc104 ssa_forward_propagate_and_combine
        ../../gcc/tree-ssa-forwprop.c:3496
0xabc104 execute
        ../../gcc/tree-ssa-forwprop.c:3590
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.
>From gcc-bugs-return-433834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 07 12:30:54 2013
Return-Path: <gcc-bugs-return-433834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24657 invoked by alias); 7 Nov 2013 12:30:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 24544 invoked by uid 48); 7 Nov 2013 12:30:50 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59038] [4.9 Regression] r204398 causes 186.crafty init.c to be miscompiled
Date: Thu, 07 Nov 2013 12:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-59038-4-lQTURi02la@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59038-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59038-4@http.gcc.gnu.org/bugzilla/>
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: 2013-11/txt/msg00611.txt.bz2
Content-length: 545

http://gcc.gnu.org/bugzilla/show_bug.cgi?idY038

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-11-07
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Target Milestone|---                         |4.9.0
     Ever confirmed|0                           |1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-12-02  8:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-07 12:29 [Bug middle-end/59037] New: ICE when accessing invalid element (nelts + 1) of vector matthew.leach at arm dot com
2013-11-07 12:31 ` [Bug middle-end/59037] " matthew.leach at arm dot com
2013-11-07 12:32 ` jgreenhalgh at gcc dot gnu.org
2013-11-07 14:55 ` [Bug middle-end/59037] [4.8/4.9 Regression] " rguenth at gcc dot gnu.org
2013-11-07 20:08 ` glisse at gcc dot gnu.org
2013-11-10  7:35 ` vries at gcc dot gnu.org
2013-11-10  8:34 ` glisse at gcc dot gnu.org
2013-11-24 18:50 ` vries at gcc dot gnu.org
2013-11-27 10:00 ` vries at gcc dot gnu.org
2013-12-02  8:37 ` vries at gcc dot gnu.org
2013-12-02  8:46 ` vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).