This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30858] ice for legal code with -O2 -ftree-vectorize
- From: "dorit at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Feb 2007 12:45:10 -0000
- Subject: [Bug c/30858] ice for legal code with -O2 -ftree-vectorize
- References: <bug-30858-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from dorit at il dot ibm dot com 2007-02-19 12:45 -------
Reduced testcase:
int foo (int ko)
{
int j,i;
for (j = 0; j < ko; j++)
i += (i > 10) ? -5 : 7;
return i;
}
Looking into it...
--
dorit at il dot ibm dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ice for legal code with -O2 |ice for legal code with -O2
|-ftree-vectorize |-ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30858