OSDN Git Service

2008-04-29 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Apr 2008 13:52:53 +0000 (13:52 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Apr 2008 13:52:53 +0000 (13:52 +0000)
commitc79abec20ebecb541e1f6c89ee95d6b6c1948d9f
tree5652cba588dcd682df8033c5a5aaac5927d6ce38
parent41f7cdffd624610b40bf7e2792fce492bff3dd9e
2008-04-29  Richard Guenther  <rguenther@suse.de>

PR middle-end/36077
* fold-const.c (extract_muldiv_1): In combining division constants
make sure to never overflow.

* gcc.c-torture/execute/pr36077.c: New testcase.

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