[Bug middle-end/45876] [4.6 Regression] ICE: verify_gimple failed

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 4 15:49:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45876

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-04 15:49:18 UTC ---
Author: jakub
Date: Mon Oct  4 15:49:13 2010
New Revision: 164943

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164943
Log:
    PR middle-end/45876
    * fold-const.c (fold_binary_loc) <case BIT_AND_EXPR>: Use
    arg0's type or its unsigned counterpart as utype.  Convert
    arg1 to utype unconditionally.

    * gcc.c-torture/compile/pr45876.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr45876.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list