https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81503
--- Comment #19 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Author: wschmidt Date: Tue Sep 5 21:50:38 2017 New Revision: 251744 URL: https://gcc.gnu.org/viewcvs?rev=251744&root=gcc&view=rev Log: [gcc] 2017-09-05 Bill Schmidt <wschm...@linux.vnet.ibm.com> Backport from mainline 2017-08-29 Bill Schmidt <wschm...@linux.vnet.ibm.com> Jakub Jelinek <ja...@redhat.com> Richard Biener <rguent...@suse.de> PR tree-optimization/81503 * gimple-ssa-strength-reduction.c (replace_mult_candidate): Ensure folded constant fits in the target type; reorder tests for clarity. [gcc/testsuite] 2017-09-05 Bill Schmidt <wschm...@linux.vnet.ibm.com> Backport from mainline 2017-08-29 Bill Schmidt <wschm...@linux.vnet.ibm.com> Jakub Jelinek <ja...@redhat.com> Richard Biener <rguent...@suse.de> PR tree-optimization/81503 * gcc.c-torture/execute/pr81503.c: New file. Added: branches/gcc-6-branch/gcc/testsuite/gcc.c-torture/execute/pr81503.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/gimple-ssa-strength-reduction.c branches/gcc-6-branch/gcc/testsuite/ChangeLog