I get a tree check error with -ftree-vectorize. It works with 4.0 but fails with 4.1 and 4.2.
(sid)345:[EMAIL PROTECTED]: ~] x86_64-unknown-linux-gnu-gcc -ftree-vectorize -Os -c oo2c-allocate.c oo2c-allocate.c: In function 'Allocate__WriteStats': oo2c-allocate.c:4: internal compiler error: tree check: expected cond_expr, have label_expr in simplify_using_initial_conditions, at tree-ssa-loop-niter.c:926 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. zsh: exit 1 x86_64-unknown-linux-gnu-gcc -ftree-vectorize -Os -c oo2c-allocate.c (sid)346:[EMAIL PROTECTED]: ~] x86_64-unknown-linux-gnu-gcc -ftree-vectorize -O1 -c oo2c-allocate.c oo2c-allocate.c: In function 'Allocate__WriteStats': oo2c-allocate.c:4: internal compiler error: tree check: expected cond_expr, have modify_expr in simplify_using_initial_conditions, at tree-ssa-loop-niter.c:926 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. zsh: exit 1 x86_64-unknown-linux-gnu-gcc -ftree-vectorize -O1 -c oo2c-allocate.c (sid)347:[EMAIL PROTECTED]: ~] x86_64-unknown-linux-gnu-gcc -ftree-vectorize -O2 -c oo2c-allocate.c oo2c-allocate.c: In function 'Allocate__WriteStats': oo2c-allocate.c:4: internal compiler error: tree check: expected cond_expr, have label_expr in simplify_using_initial_conditions, at tree-ssa-loop-niter.c:926 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. zsh: exit 1 x86_64-unknown-linux-gnu-gcc -ftree-vectorize -O2 -c oo2c-allocate.c (sid)348:[EMAIL PROTECTED]: ~] x86_64-unknown-linux-gnu-gcc -ftree-vectorize -O3 -c oo2c-allocate.c (sid)349:[EMAIL PROTECTED]: ~] -- Summary: [4.1/4.2 regression] ICE in tree check: expected cond_expr, have label_expr in simplify_using_initial_conditions, at tree-ssa-loop- niter.c Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28888