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: Fri, 03 Feb 2012 07:29:41 +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 #9 from uros at gcc dot gnu.org 2012-02-03 07:29:41 UTC ---
Author: uros
Date: Fri Feb 3 07:29:31 2012
New Revision: 183864
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183864
Log:
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