[Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize

2005-01-01 Thread belyshev at depni dot sinp dot msu dot ru


-- 
   What|Removed |Added

Attachment #7795 is|0   |1
   obsolete||


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


[Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize

2005-01-01 Thread belyshev at depni dot sinp dot msu dot ru


-- 
   What|Removed |Added

Attachment #7796 is|0   |1
   obsolete||


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


[Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize

2005-01-01 Thread belyshev at depni dot sinp dot msu dot ru


-- 
   What|Removed |Added

Attachment #7797 is|0   |1
   obsolete||


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


[Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize

2005-01-01 Thread belyshev at depni dot sinp dot msu dot ru

--- Additional Comments From belyshev at depni dot sinp dot msu dot ru  
2005-01-01 21:06 ---
// reduced testcase, use -O1 -ftree-vectorize

void abort (void);

int main ()
{
  int s[4], t[4], i;

  s[0] = s[1] = s[2] = s[3] = 1;
  
  for (i = 0; i  4; i++)
t[i] = s[i];
  
  if (!t [0])
abort ();
  
  return 0;
}


-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2005-01-01 21:06:56
   date||


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


[Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize

2005-01-01 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-01 
21:15 ---
Does this testcase works:
void abort (void);

int main1 (void)
{
  int s[4], t[4], i;

  s[0] = s[1] = s[2] = s[3] = 1;

  for (i = 0; i  4; i++)
t[i] = s[i];

  if (!t [0])
abort ();

  return 0;
}
int main(void)
{return main();}

If not then I think this is a dup of bug 16660.

-- 


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


[Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize

2005-01-01 Thread belyshev at depni dot sinp dot msu dot ru

--- Additional Comments From belyshev at depni dot sinp dot msu dot ru  
2005-01-01 22:40 ---
GCC generates movdqa instruction which is not in sse set.

-- 
   What|Removed |Added

 GCC target triplet|i686-*-*|i686-*-* -msse


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


[Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize

2004-12-21 Thread belyshev at lubercy dot com

--- Additional Comments From belyshev at lubercy dot com  2004-12-21 14:10 
---
Created an attachment (id=7795)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7795action=view)
patch to regclass.c (1840 bytes)


-- 


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


[Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize

2004-12-21 Thread belyshev at lubercy dot com

--- Additional Comments From belyshev at lubercy dot com  2004-12-21 14:11 
---
Created an attachment (id=7796)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7796action=view)
failing function (5644 bytes)


-- 


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


[Bug tree-optimization/19107] regclass.c miscompiled by -ftree-vectorize

2004-12-21 Thread belyshev at lubercy dot com

--- Additional Comments From belyshev at lubercy dot com  2004-12-21 14:12 
---
Created an attachment (id=7797)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7797action=view)
testcase (349 bytes)


-- 


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