This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51118] [4.7 Regression] ICE: tree check: expected tree that contains âtypedâ structure, have âblockâ in fold_checksum_tree, at fold-const.c:14160
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Feb 2012 11:19:12 +0000
- Subject: [Bug tree-optimization/51118] [4.7 Regression] ICE: tree check: expected tree that contains âtypedâ structure, have âblockâ in fold_checksum_tree, at fold-const.c:14160
- Auto-submitted: auto-generated
- References: <bug-51118-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51118
--- Comment #10 from uros at gcc dot gnu.org 2012-02-27 11:19:12 UTC ---
Author: uros
Date: Mon Feb 27 11:19:03 2012
New Revision: 184595
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184595
Log:
Revert:
2012-02-02 Uros Bizjak <ubizjak@gmail.com>
Backport from mainline:
2011-11-18 Uros Bizjak <ubizjak@gmail.com>
PR tree-optimization/51118
* fold-const.c (fold_checksum_tree): Check for TS_TYPED structure
before using TREE_TYPE accessor on expr.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/fold-const.c