r243406 - in /branches/gcc-6-branch/gcc: Change...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Dec 7 22:54:00 GMT 2016
Author: jakub
Date: Wed Dec 7 22:54:14 2016
New Revision: 243406
URL: https://gcc.gnu.org/viewcvs?rev=243406&root=gcc&view=rev
Log:
Backported from mainline
2016-11-22 Jakub Jelinek <jakub@redhat.com>
PR middle-end/78416
* expmed.c (expand_divmod): Use wide_int for computation of
op1_is_pow2. Don't set it if op1 is 0. Formatting fixes.
Use size <= HOST_BITS_PER_WIDE_INT instead of
HOST_BITS_PER_WIDE_INT >= size.
* gcc.dg/torture/pr78416.c: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr78416.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/expmed.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list