--- Comment #6 from jakub at gcc dot gnu dot org 2007-10-27 17:58 ---
Fixed.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Status|NEW
--- Comment #5 from irar at gcc dot gnu dot org 2007-10-25 16:42 ---
Subject: Bug 33833
Author: irar
Date: Thu Oct 25 16:41:45 2007
New Revision: 129628
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129628
Log:
PR tree-optimization/33833
* tree-vect-analyze.c
--- Comment #4 from dorit at gcc dot gnu dot org 2007-10-21 06:39 ---
I was able to reproduce this on i386-linux.
Looks like it's related to PLUS_EXPR vs. POINTER_PLUS_EXPR. The folowing patch
fixes this testcase:
Index: tree-vect-analyze.c
--- Comment #1 from tbm at cyrius dot com 2007-10-20 18:22 ---
(gdb) run -O3 ~/linux-sched.c
Starting program: /home/tbm/tmp/gcc/gcc-4.3-20071020-r129504/gcc/cc1 -O3
~/linux-sched.c
sched_init
Analyzing compilation unit
Performing interprocedural optimizations
visibility
--- Comment #2 from tbm at cyrius dot com 2007-10-20 18:22 ---
Created an attachment (id=14375)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14375action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33833
--- Comment #3 from tbm at cyrius dot com 2007-10-20 18:23 ---
/* Testcase by Martin Michlmayr [EMAIL PROTECTED] */
struct list_head
{
struct list_head *prev;
};
struct prio_array
{
struct list_head queue[100];
};
struct rq
{
struct prio_array *active, arrays[2];
}
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33833