aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-decl.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2013-04-12 10:18:59 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2013-04-12 10:18:59 +0200
commit06f9b387e517d6f54b6c9b35d4f972bc1542855c (patch)
treea5b70e4d1a91908233d26fcca4ff9a8cf10fcd82 /gcc/fortran/trans-decl.c
parent953094d2f8d7963f52c26d177c62db7220efb1b3 (diff)
downloadgcc-06f9b387e517d6f54b6c9b35d4f972bc1542855c.zip
gcc-06f9b387e517d6f54b6c9b35d4f972bc1542855c.tar.gz
gcc-06f9b387e517d6f54b6c9b35d4f972bc1542855c.tar.bz2
re PR tree-optimization/56918 (incorrect auto-vectorization of array initialization)
PR tree-optimization/56918 PR tree-optimization/56920 * fold-const.c (int_const_binop_1): Use op1.mul_with_sign (op2, ...) instead of op1 - op2. Pass 2 * TYPE_PRECISION (type) as second argument to rshift method. For 2 * HOST_BITS_PER_WIDE_INT precision use wide_mul_with_sign method. * gcc.dg/vect/pr56918.c: New test. * gcc.dg/vect/pr56920.c: New test. From-SVN: r197846
Diffstat (limited to 'gcc/fortran/trans-decl.c')
0 files changed, 0 insertions, 0 deletions