This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26821] [4.1/4.2 Regression] ice in varasm.c with certain flags
- 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: 23 Mar 2006 06:51:19 -0000
- Subject: [Bug tree-optimization/26821] [4.1/4.2 Regression] ice in varasm.c with certain flags
- References: <bug-26821-10743@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-23 06:51 -------
And here is the C example:
void f(double *__restrict__ qa, double *__restrict__ qb, double *__restrict__
qc,
double *__restrict__ rtrms)
{
int i;
static double qam[6000];
static double qbm[6000];
static double qcm[6000];
for(i=0;i<6000;i++)
{
double a = rtrms[i];
qam[i] = qa[i]/a;
qbm[i] = qb[i]/a;
qcm[i] = qc[i]/a;
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26821