public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731
@ 2013-02-15 19:42 antoine.balestrat at gmail dot com
  2013-02-15 19:52 ` [Bug tree-optimization/56350] [4.7/4.8 Regression] " mpolacek at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: antoine.balestrat at gmail dot com @ 2013-02-15 19:42 UTC (permalink / raw)
  To: gcc-bugs


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

             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 = 0; b < 2; b++)
            a /= 8;
}

$ xgcc -O1 -ftree-vectorize -w vect.c
vect.c: In function ‘f’:
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 <http://gcc.gnu.org/bugs.html> for instructions.


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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-15 19:42 [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 antoine.balestrat at gmail dot com
2013-02-15 19:52 ` [Bug tree-optimization/56350] [4.7/4.8 Regression] " mpolacek at gcc dot gnu.org
2013-02-17 13:32 ` jakub at gcc dot gnu.org
2013-02-18 10:41 ` jakub at gcc dot gnu.org
2013-02-18 13:04 ` rguenth at gcc dot gnu.org
2013-02-18 14:19 ` jakub at gcc dot gnu.org
2013-02-19  9:15 ` jakub at gcc dot gnu.org
2013-02-19  9:20 ` [Bug tree-optimization/56350] [4.7 " jakub at gcc dot gnu.org
2013-02-19 17:31 ` jakub at gcc dot gnu.org
2013-02-19 17:46 ` jakub 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).