This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/30930] [4.3/4.4 Regression] vector can cause to create an extra variable, DECL_GIMPLE_REG_P not recomputed



------- Comment #11 from pinskia at gcc dot gnu dot org  2008-09-18 01:00 -------
Here is a testcase which shows a missed optimization in general (on both the
tree level and the RTL one) for x86 with SSE2:
#define vector __attribute((vector_size(16) ))
vector float a;

float f(float b)
{
  vector float c = {0, 0, 0, 0};
  vector float d = {0, 0, 0, 0};
  d += c;
  return ((float*)&c)[2];
}


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]