This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] Can not compile correctly on ia64 with -O1 option.
- From: Feng Wang <wf_cs at yahoo dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 11 Feb 2004 22:05:20 +0800 (CST)
- Subject: [tree-ssa] Can not compile correctly on ia64 with -O1 option.
Hi,
The attached C file can not be compiled correctly on ia64-linux with -O1
option. On i686, it is OK. It seems to run into a dead cycle. I am not back-end
hacker and can not find more about this bug. Sorry for little information.
Reported in bugzilla with ID 14109.
Feng Wang
_________________________________________________________
Do You Yahoo!?
完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com
void
fft (double fxr[], int m)
{
int l;
int le;
double u1 = 1.0;
double w1;
l = 1;
while (1)
{
if (l > m)
break;
{
int count_12;
int vaI_11;
le = 1;
vaI_11 = 2;
count_12 = l;
while (1)
{
if ((count_12 & 1) == 1)
{
le = le * vaI_11;
}
count_12 = count_12 / 2;
if (count_12 == 0)
break;
vaI_11 = vaI_11 * vaI_11;
}
}
u1 = 1.0;
w1 = cos (3.1415926 / 0.5);
{
int count_14;
count_14 = le;
while (1)
{
if (count_14 <= 0)
break;
{
int count_16;
count_16 = le;
while (1)
{
if (count_16 <= 0)
break;
fxr[count_16] = fxr[count_16] + u1;
count_16 = count_16 - 1;
}
}
u1 = u1 * w1;
count_14 = count_14 - 1;
}
}
l = l + 1;
}
}