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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Sep 11 12:17:47 2013
New Revision: 202495

URL: http://gcc.gnu.org/viewcvs?rev=202495&root=gcc&view=rev
Log:
    PR tree-optimization/58385
    * fold-const.c (build_range_check): If both low and high are NULL,
    use omit_one_operand_loc to preserve exp side-effects.

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

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/execute/pr58385.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