2016-03-22 Richard Biener <rguenther@suse.de>
commitaa30728a34368d2a922e041d3a3dff5caed84073
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Mar 2016 13:23:00 +0000 (22 13:23 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Mar 2016 13:23:00 +0000 (22 13:23 +0000)
tree4622382e583a127b4ebc7b3e6034749c6bb154d0
parent69199d61c64b58ed63a5aa441d0f45695ba53669
2016-03-22  Richard Biener  <rguenther@suse.de>

PR middle-end/70333
* fold-const.c (extract_muldiv_1): Properly perform multiplication
in the wide type.

* gcc.dg/torture/pr70333.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234401 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr70333.c [new file with mode: 0644]