This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33833] [4.3 Regression] ICE in build2_stat, at tree.c:3110 at -O3, tree-vectorizer
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Oct 2007 18:23:06 -0000
- Subject: [Bug tree-optimization/33833] [4.3 Regression] ICE in build2_stat, at tree.c:3110 at -O3, tree-vectorizer
- References: <bug-33833-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from tbm at cyrius dot com 2007-10-20 18:23 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
struct list_head
{
struct list_head *prev;
};
struct prio_array
{
struct list_head queue[100];
};
struct rq
{
struct prio_array *active, arrays[2];
} per_cpu__runqueues;
void sched_init (unsigned long __ptr)
{
int j, k;
struct prio_array *array;
struct rq *rq;
rq = (&(*( { (typeof (&per_cpu__runqueues)) (__ptr); } )));
for (j = 0; j < 2; j++)
{
array = rq->arrays + j;
for (k = 0; k < 100; k++)
(array->queue + k)->prev = array->queue;
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33833