------- Comment #10 from pinskia at gcc dot gnu dot org  2008-09-17 22:50 
-------
Here is a testcase where we were missing an optimization at the tree level
because of DECL_GIMPLE_REG_P:
#define vector __attribute__(( vector_size(16) ))

float f(vector float a, int b, vector float c)
{
  vector float dd = c*a;
  a = (vector float){0,0,0,0};
  c = (vector float){0,0,0,0};
  {
   float d = ((float*)&a)[0];
   float d1 = ((float*)&c)[0];
   return d*d1;
  }
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30930

Reply via email to