re PR middle-end/21085 (Virtual memory exhausted with g++)
authorJames A. Morrison <phython@gcc.gnu.org>
Tue, 19 Apr 2005 02:36:04 +0000 (02:36 +0000)
committerJames A. Morrison <phython@gcc.gnu.org>
Tue, 19 Apr 2005 02:36:04 +0000 (02:36 +0000)
commita3885f54770e771ad67808dbaa63704cc42315a6
treec37f608d891d766338618242c956dd8f7c24ea1a
parentf4d7734c5741448450096985f544ea820ebc680e
re PR middle-end/21085 (Virtual memory exhausted with g++)

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.

From-SVN: r98365
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr21085.c [new file with mode: 0644]