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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-05 
15:10:36 UTC ---
Author: jakub
Date: Thu Jan  5 15:10:26 2012
New Revision: 182914

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182914
Log:
    PR middle-end/51761
    * gimple.h (struct gimplify_ctx): Add in_cleanup_point_expr
    field.
    * gimplify.c (gimplify_cleanup_point_expr): Save and set
    in_cleanup_point_expr before gimplify_stmt call and restore it
    afterwards.
    (gimplify_target_expr): Don't add {CLOBBER} cleanup if
    in_cleanup_point_expr is false.

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

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr51761.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple.h
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to