This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242690 - in /trunk/gcc: ChangeLog expmed.c tes...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 22 Nov 2016 10:14:22 -0000
- Subject: r242690 - in /trunk/gcc: ChangeLog expmed.c tes...
Author: jakub
Date: Tue Nov 22 10:14:21 2016
New Revision: 242690
URL: https://gcc.gnu.org/viewcvs?rev=242690&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/gcc.dg/torture/pr78416.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expmed.c
trunk/gcc/testsuite/ChangeLog