2005-04-18 James A. Morrison <phython@gcc.gnu.org>
authorphython <phython@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Apr 2005 02:36:04 +0000 (02:36 +0000)
committerphython <phython@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Apr 2005 02:36:04 +0000 (02:36 +0000)
commit6ddaa100f3fb6e330bce20314c548a789fcbc62a
treec37f608d891d766338618242c956dd8f7c24ea1a
parent57f341e362d87e092154fbfc463e7bca8c656bd3
2005-04-18  James A. Morrison  <phython@gcc.gnu.org>

        PR tree-optimization/21085
        * fold-const (fold_binary): Don't change X % -C to X % C if C has
        overflowed.

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