From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22205 invoked by alias); 15 Feb 2013 19:42:25 -0000 Received: (qmail 18414 invoked by uid 48); 15 Feb 2013 19:41:58 -0000 From: "antoine.balestrat at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 Date: Fri, 15 Feb 2013 19:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: antoine.balestrat 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-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 X-SW-Source: 2013-02/txt/msg01658.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56350 Bug #: 56350 Summary: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: antoine.balestrat@gmail.com Using GCC 4.8.0 as of 20130215 : $ cat vect.c int a, b, c; void f(void) { for(; c; c++) for(b =3D 0; b < 2; b++) a /=3D 8; } $ xgcc -O1 -ftree-vectorize -w vect.c vect.c: In function =E2=80=98f=E2=80=99: vect.c:3:6: internal compiler error: in vectorizable_reduction, at tree-vect-loop.c:4731 void f(void) ^ 0xa8e953 vectorizable_reduction(gimple_statement_d*, gimple_stmt_iterator*, gimple_statement_d**, _slp_tree*) ../../srcdir/gcc/tree-vect-loop.c:4727 0xa81ff0 vect_analyze_stmt(gimple_statement_d*, bool*, _slp_tree*) ../../srcdir/gcc/tree-vect-stmts.c:5691 0xa80f75 vect_analyze_stmt(gimple_statement_d*, bool*, _slp_tree*) ../../srcdir/gcc/tree-vect-stmts.c:5613 0x4cffb9 vect_analyze_loop_operations ../../srcdir/gcc/tree-vect-loop.c:1443 0xa8c064 vect_analyze_loop_2 ../../srcdir/gcc/tree-vect-loop.c:1720 0xa8c064 vect_analyze_loop(loop*) ../../srcdir/gcc/tree-vect-loop.c:1773 0xa9e06c vectorize_loops() ../../srcdir/gcc/tree-vectorizer.c:113 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.