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 <ubiz...@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