From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6284 invoked by alias); 21 Jun 2005 07:14:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 6255 invoked by uid 48); 21 Jun 2005 07:13:58 -0000 Date: Tue, 21 Jun 2005 07:14:00 -0000 From: "Ralf_Recker at gmx dot de" To: gcc-bugs@gcc.gnu.org Message-ID: <20050621071353.22135.Ralf_Recker@gmx.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats X-Bugzilla-Reason: CC X-SW-Source: 2005-06/txt/msg02704.txt.bz2 List-Id: gcc-4.1-200506011 compiler ICE's using -ftree-vectorize AND -fdump-tree-all-details-stats in conjunction. Leave out one of both options and you got a successful compilation. Command: /opt/gcc-4.1-20050611/bin/gcc -O3 -march=pentium4 -msse3 -save-temps test.c -o test -ftree-vectorize -ftree-vectorizer-verbose=5 -fdump-tree-all-details-stats Error message: test.c: In function 'main': test.c:2: internal compiler error: in op_iter_init_maydef, at tree-flow-inline.h:1065 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Source Code (I wrote a stupid little program to reproduce the error): int main(void) { int a[1024]; int b[1024]; int c[1024]; int i, j = 0; for (i = 0; i < 1024; i++) { a[i] = i; b[i] = 1023 - i; } for (i = 0; i < 1024; i++) c[i] = a[i] + b[i]; for (i = 0; i < 1024; i++) j = j + c[i]; return j; } P.S.: Placed under GPL by Ralf Recker :-) Preprocessed source: # 1 "test.c" # 0 "" # 1 "" # 1 "test.c" int main(void) { int a[1024]; int b[1024]; int c[1024]; int i, j = 0; for (i = 0; i < 1024; i++) { a[i] = i; b[i] = 1023 - i; } for (i = 0; i < 1024; i++) c[i] = a[i] + b[i]; for (i = 0; i < 1024; i++) j = j + c[i]; return j; } -- Summary: The gcc-4.1-20050611 compiler ICE's using -ftree- vectorize in conjunction with -fdump-tree-all-details- stats Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: minor Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Ralf_Recker at gmx dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i586-pc-linux-gnu GCC host triplet: i586-pc-linux-gnu GCC target triplet: i586-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22135