aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-11-28 20:15:51 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2016-11-28 20:15:51 +0100
commitd057004733e8e4893cab758d51121b6750a9b438 (patch)
treee5ee8b087a141ae20a31c9baa3a55ea3434bb42b /gcc/function.c
parent82979abd860fb54c2d0ab0a1001d86ec69f71ae2 (diff)
downloadgcc-d057004733e8e4893cab758d51121b6750a9b438.zip
gcc-d057004733e8e4893cab758d51121b6750a9b438.tar.gz
gcc-d057004733e8e4893cab758d51121b6750a9b438.tar.bz2
re PR rtl-optimization/78546 (wrong code at -O2 and above)
PR rtl-optimization/78546 * simplify-rtx.c (neg_const_int): When negating most negative number in mode wider than HOST_BITS_PER_WIDE_INT, use simplify_const_unary_operation to produce CONST_DOUBLE or CONST_WIDE_INT. (simplify_plus_minus): Hanlde the case where neg_const_int doesn't return a CONST_INT. * gcc.dg/torture/pr78546-1.c: New test. * gcc.dg/torture/pr78546-2.c: New test. From-SVN: r242929
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions