Use HOST_WIDE_INT for a param calculation (PR rtl-optimization/79574).
commit46418b43bc7c5945717ea1d32d991fa53a60b785
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Feb 2017 14:46:14 +0000 (17 14:46 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Feb 2017 14:46:14 +0000 (17 14:46 +0000)
tree7954301496dfe1429e4202e6c3eb06ba39578afd
parent44841cf784b191f491faeb0a22a6cd565237f3f5
Use HOST_WIDE_INT for a param calculation (PR rtl-optimization/79574).

2017-02-17  Martin Liska  <mliska@suse.cz>

PR rtl-optimization/79574
* gcc.dg/pr79574.c: New test.
2017-02-17  Martin Liska  <mliska@suse.cz>

PR rtl-optimization/79574
* gcse.c (want_to_gcse_p): Prevent integer overflow.

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