diff options
author | Kugan Vivekanandarajah <kuganv@linaro.org> | 2016-05-21 07:09:16 +0000 |
---|---|---|
committer | Kugan Vivekanandarajah <kugan@gcc.gnu.org> | 2016-05-21 07:09:16 +0000 |
commit | 88aea79f3cd5933088c99f0ebe3e34285c2b201d (patch) | |
tree | b514b97ee781ef14c240695fa1205379e07d3a0e /gcc/testsuite/gcc.dg/tree-ssa | |
parent | d4f4b355bcddb625a3e4abec7befaf67309c9dbd (diff) | |
download | gcc-88aea79f3cd5933088c99f0ebe3e34285c2b201d.zip gcc-88aea79f3cd5933088c99f0ebe3e34285c2b201d.tar.gz gcc-88aea79f3cd5933088c99f0ebe3e34285c2b201d.tar.bz2 |
re PR tree-optimization/71179 (ice fold_convert_loc, at fold-const.c:2360)
gcc/testsuite/ChangeLog:
2016-05-21 Kugan Vivekanandarajah <kuganv@linaro.org>
PR middle-end/71179
* gcc.dg/tree-ssa/pr71179.c: New test.
gcc/ChangeLog:
2016-05-21 Kugan Vivekanandarajah <kuganv@linaro.org>
PR middle-end/71179
* tree-ssa-reassoc.c (transform_add_to_multiply): Disallow float
VECTOR type.
From-SVN: r236554
Diffstat (limited to 'gcc/testsuite/gcc.dg/tree-ssa')
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/pr71179.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr71179.c b/gcc/testsuite/gcc.dg/tree-ssa/pr71179.c new file mode 100644 index 0000000..885c643 --- /dev/null +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr71179.c @@ -0,0 +1,10 @@ + +/* { dg-do compile } */ +/* { dg-options "-O3 -ffast-math" } */ + +typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__)); + +__m128 foo (__m128 a) +{ + return a + a; +} |