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/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold



------- Comment #30 from spop at gcc dot gnu dot org  2007-06-21 21:25 -------
Subject: Bug 20623

Author: spop
Date: Thu Jun 21 21:25:27 2007
New Revision: 125929

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125929
Log:
        PR middle-end/20623
        * tree.h (debug_fold_checksum): Declared.
        * fold-const.c (build_fold_addr_expr_with_type_1): New.
        (build_fold_addr_expr_with_type, build_fold_addr_expr): Use 
        build_fold_addr_expr_with_type_1.
        (fold_addr_expr, debug_fold_checksum): New.
        (fold_checksum_tree): Don't fold TREE_CHAIN of an SSA_NAME.
        (fold_unary, fold_comparison, split_address_to_core_and_offset):
        Use fold_addr_expr.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/tree.h


-- 


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


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