diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-05-04 14:11:32 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2010-05-04 07:11:32 -0700 |
commit | 0d3f65273b2de423cb9895d70cd646d19f650322 (patch) | |
tree | 3e091f11d44ad93547c34bc79ad95979db2d3f56 /gcc/testsuite | |
parent | 27c2cfa6992fb85f5705f918424b16cf1089a4b8 (diff) | |
download | gcc-0d3f65273b2de423cb9895d70cd646d19f650322.zip gcc-0d3f65273b2de423cb9895d70cd646d19f650322.tar.gz gcc-0d3f65273b2de423cb9895d70cd646d19f650322.tar.bz2 |
Add a testcase for PR debug/43508.
2010-05-04 H.J. Lu <hongjiu.lu@intel.com>
PR debug/43508
* gcc.target/i386/pr43508.c: New.
From-SVN: r159027
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr43508.c | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 60ec841..29eaf71 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-05-04 H.J. Lu <hongjiu.lu@intel.com> + + PR debug/43508 + * gcc.target/i386/pr43508.c: New. + 2010-05-04 Richard Guenther <rguenther@suse.de> PR tree-optimization/43879 diff --git a/gcc/testsuite/gcc.target/i386/pr43508.c b/gcc/testsuite/gcc.target/i386/pr43508.c new file mode 100644 index 0000000..c43982b --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr43508.c @@ -0,0 +1,13 @@ +/* { dg-do compile } */ +/* { dg-options "-g -O -msse3" } */ + +typedef float v4sf __attribute__ ((__vector_size__ (16))); +typedef int v4si __attribute__ ((__vector_size__ (16))); + +v4sf bar(int); + +v4sf foo(v4si vi) +{ + int x = __builtin_ia32_vec_ext_v4si (vi, 0); + return bar(x); +} |