diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2013-04-12 09:40:37 +0200 |
---|---|---|
committer | Marc Glisse <glisse@gcc.gnu.org> | 2013-04-12 07:40:37 +0000 |
commit | bb50698284eaaf849182f78779af4b3fde7503e1 (patch) | |
tree | 669b184e12601164765d48b4066f3af5f63680db /gcc/fortran/trans.h | |
parent | f3065bdb6e2161e61ebabe5f4efb6eaef0ae910d (diff) | |
download | gcc-bb50698284eaaf849182f78779af4b3fde7503e1.zip gcc-bb50698284eaaf849182f78779af4b3fde7503e1.tar.gz gcc-bb50698284eaaf849182f78779af4b3fde7503e1.tar.bz2 |
fold-const.c (const_binop): Handle vector shifts by a scalar.
2013-04-12 Marc Glisse <marc.glisse@inria.fr>
gcc/
* fold-const.c (const_binop): Handle vector shifts by a scalar.
(fold_binary_loc): Call const_binop also for mixed vector-scalar
operations.
gcc/testsuite/
* gcc.dg/fold-cstvecshift.c: New testcase.
From-SVN: r197843
Diffstat (limited to 'gcc/fortran/trans.h')
0 files changed, 0 insertions, 0 deletions