------- Comment #5 from jakub at gcc dot gnu dot org 2009-05-20 21:11 ------- Subject: Bug 40204
Author: jakub Date: Wed May 20 21:11:10 2009 New Revision: 147750 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147750 Log: PR middle-end/40204 * fold-const.c (fold_binary) <case BIT_AND_EXPR>: Avoid infinite recursion if build_int_cst_type returns the same INTEGER_CST as arg1. * gcc.c-torture/compile/pr40204.c: New test. Added: branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr40204.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/fold-const.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40204