From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8803 invoked by alias); 29 Dec 2011 18:29:08 -0000 Received: (qmail 8791 invoked by uid 22791); 29 Dec 2011 18:29:07 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SUBJ_OBFU_PUNCT_MANY X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Dec 2011 18:28:53 +0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/51704] New: [4.7 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620 with -O3 -fno-tree-copy-prop -fno-tree-fre Date: Thu, 29 Dec 2011 19:02: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: zsojka at seznam dot cz 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" 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: 2011-12/txt/msg02763.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51704 Bug #: 51704 Summary: [4.7 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620 with -O3 -fno-tree-copy-prop -fno-tree-fre Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: zsojka@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 26199 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26199 autoreduced testcase Compiler output: $ gcc -O3 -fno-tree-copy-prop -fno-tree-fre testsuite/gfortran.dg/inline_sum_1.f90 testsuite/gfortran.dg/inline_sum_1.f90: In function 'MAIN__': testsuite/gfortran.dg/inline_sum_1.f90:14:0: internal compiler error: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. (gdb) bt #0 internal_error (gmsgid=0x1526a70 "vector %s %s domain error, in %s at %s:%u") at /mnt/svn/gcc-trunk/gcc/diagnostic.c:839 #1 0x00000000012226c9 in vec_assert_fail (op=0x14e80a0 "index", struct_name=0x132b3ef "VEC(vec_void_p,base)", file=, line=620, function=0x132ef3a "vinfo_for_stmt") at /mnt/svn/gcc-trunk/gcc/vec.c:517 #2 0x0000000000bfdff7 in VEC_vec_void_p_base_index (ix_=, vec_=, file_=, line_=, function_=) at /mnt/svn/gcc-trunk/gcc/tree-vectorizer.h:603 #3 vinfo_for_stmt (stmt=) at /mnt/svn/gcc-trunk/gcc/tree-vectorizer.h:620 #4 vect_detect_hybrid_slp_stmts (node=0x1b217d0) at /mnt/svn/gcc-trunk/gcc/tree-vect-slp.c:1740 #5 0x0000000000bfe61e in vect_detect_hybrid_slp (loop_vinfo=) at /mnt/svn/gcc-trunk/gcc/tree-vect-slp.c:1770 #6 0x0000000000bf3b55 in vect_analyze_loop_2 (loop_vinfo=) at /mnt/svn/gcc-trunk/gcc/tree-vect-loop.c:1610 #7 vect_analyze_loop (loop=0x7ffff59d4550) at /mnt/svn/gcc-trunk/gcc/tree-vect-loop.c:1667 #8 0x0000000000c02ef7 in vectorize_loops () at /mnt/svn/gcc-trunk/gcc/tree-vectorizer.c:203 #9 0x0000000000960335 in execute_one_pass (pass=0x1842ba0) at /mnt/svn/gcc-trunk/gcc/passes.c:2080 #10 0x00000000009606d5 in execute_pass_list (pass=0x1842ba0) at /mnt/svn/gcc-trunk/gcc/passes.c:2135 #11 0x00000000009606e7 in execute_pass_list (pass=0x1842d80) at /mnt/svn/gcc-trunk/gcc/passes.c:2136 #12 0x00000000009606e7 in execute_pass_list (pass=0x1842000) at /mnt/svn/gcc-trunk/gcc/passes.c:2136 #13 0x0000000000ac16ae in tree_rest_of_compilation (fndecl=0x7ffff5bb5100) at /mnt/svn/gcc-trunk/gcc/tree-optimize.c:421 #14 0x000000000071715a in cgraph_expand_function (node=0x7ffff5a95c60) at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1818 #15 0x0000000000718efc in cgraph_expand_all_functions () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1885 #16 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2198 #17 0x000000000071966a in cgraph_finalize_compilation_unit () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1327 #18 0x000000000090aa8d in write_global_declarations () at /mnt/svn/gcc-trunk/gcc/langhooks.c:303 #19 0x0000000000a54dec in compile_file () at /mnt/svn/gcc-trunk/gcc/toplev.c:573 #20 do_compile () at /mnt/svn/gcc-trunk/gcc/toplev.c:1935 #21 toplev_main (argc=16, argv=0x7fffffffd928) at /mnt/svn/gcc-trunk/gcc/toplev.c:2011 #22 0x00007ffff61cc09d in __libc_start_main () from /lib64/libc.so.6 #23 0x00000000005833f1 in _start () Tested revisions: r182703 - crash 4.6 r180325 - OK