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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Sep 30 20:16:14 2013
New Revision: 203043

URL: http://gcc.gnu.org/viewcvs?rev=203043&root=gcc&view=rev
Log:
    PR middle-end/58564
    * fold-const.c (fold_ternary_loc): For A < 0 : <sign bit of A> : 0
    optimization, punt if sign_bit_p looked through any zero extension.

    * gcc.c-torture/execute/pr58564.c: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/execute/pr58564.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/fold-const.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog

Reply via email to