This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/28839] ICE in tree-vectorizer.c with -O2 -ftree-vectorize -funswitch-loops
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2006 05:16:01 -0000
- Subject: [Bug tree-optimization/28839] ICE in tree-vectorizer.c with -O2 -ftree-vectorize -funswitch-loops
- References: <bug-28839-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-25 05:16 -------
Testcase:
static int ready[10];
void test_once (int t,int t1)
{
int i, repeat;
for (i = 0; i < 10; i++)
{
ready[i] = 0;
if (t1)
if (b())
abort ();
}
if (t)
abort ();
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28839