aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-01-30 19:04:13 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2016-01-30 19:04:13 +0100
commitdb7a2818002ba7e0c1863d15aca3212911161267 (patch)
tree3a978b34d4a749f949ab5c378dd10d65e6b9c5b1 /gcc/combine.c
parente520d5f02a0cfa5d07a48a14f2b67af63884e9ed (diff)
downloadgcc-db7a2818002ba7e0c1863d15aca3212911161267.zip
gcc-db7a2818002ba7e0c1863d15aca3212911161267.tar.gz
gcc-db7a2818002ba7e0c1863d15aca3212911161267.tar.bz2
re PR middle-end/69546 (wrong code with -O and simple int128 arithmetics)
PR tree-optimization/69546 * wide-int.cc (wi::divmod_internal): For unsigned division where both operands fit into uhwi, if o1 is 1 and o0 has msb set, if divident_prec is larger than bits per hwi, clear another quotient word and return 2 instead of 1. Similarly for remainder with msb in HWI set, if dividend_prec is larger than bits per hwi. * gcc.dg/torture/pr69546.c: New test. From-SVN: r233012
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions