[Bug target/52407] [4.6 Regression] sse2 simd uint32_t and int64_t and stack variable initialization

2012-02-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52407

Richard Guenther  changed:

   What|Removed |Added

  Known to work||4.7.0
   Target Milestone|4.7.0   |4.6.4
Summary|[4.7 Regression] sse2 simd  |[4.6 Regression] sse2 simd
   |uint32_t and int64_t and|uint32_t and int64_t and
   |stack variable  |stack variable
   |initialization  |initialization

--- Comment #7 from Richard Guenther  2012-02-28 
15:29:53 UTC ---
Fixed on trunk.  I'll backport it for 4.6.4 as it is latent on the branches.


[Bug target/52407] [4.6 Regression] sse2 simd uint32_t and int64_t and stack variable initialization

2012-02-28 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52407

Martin Jambor  changed:

   What|Removed |Added

 CC||jamborm at gcc dot gnu.org

--- Comment #8 from Martin Jambor  2012-02-28 
18:09:48 UTC ---
*** Bug 52419 has been marked as a duplicate of this bug. ***


[Bug target/52407] [4.6 Regression] sse2 simd uint32_t and int64_t and stack variable initialization

2012-02-29 Thread pcpa at mandriva dot com.br
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52407

Paulo César Pereira de Andrade  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #9 from Paulo César Pereira de Andrade  2012-02-29 17:54:34 UTC ---
(In reply to comment #7)
> Fixed on trunk.  I'll backport it for 4.6.4 as it is latent on the branches.

Thanks. I reported the problem because I thought it could
hit somewhere else and I have some code that way, that was
working since gcc 4.4, but the proper syntax to initialize
the local variable should be, in the sample test case:
vl_t w = {x,x};
what should make it easier for the compiler to understand
what is being done.


[Bug target/52407] [4.6 Regression] sse2 simd uint32_t and int64_t and stack variable initialization

2012-03-01 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52407

Richard Guenther  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #10 from Richard Guenther  2012-03-01 
09:53:46 UTC ---
Re-open so I don't forget about the backporting.


[Bug target/52407] [4.6 Regression] sse2 simd uint32_t and int64_t and stack variable initialization

2012-05-22 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52407

Richard Guenther  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #12 from Richard Guenther  2012-05-22 
09:20:41 UTC ---
Fixed.


[Bug target/52407] [4.6 Regression] sse2 simd uint32_t and int64_t and stack variable initialization

2012-05-22 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52407

--- Comment #11 from Richard Guenther  2012-05-22 
09:20:24 UTC ---
Author: rguenth
Date: Tue May 22 09:20:15 2012
New Revision: 187763

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187763
Log:
2012-05-22  Richard Guenther  

Backport from mainline
2012-02-28  Richard Guenther  

PR target/52407
* config/i386/i386.c (ix86_expand_vector_set): Fix element
ordering for the VEC_CONCAT for two element vectors for
V2SFmode, V2SImode and V2DImode.

* gcc.dg/torture/pr52407.c: New testcase.

Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/torture/pr52407.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/i386/i386.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog