This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/51761] [4.7 Regression] ICE in verify_gimple_stmt, at tree-cfg.c:4241


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]