------- Comment #6 from rguenth at gcc dot gnu dot org 2009-04-22 15:42 ------- Subject: Bug 39824
Author: rguenth Date: Wed Apr 22 15:41:48 2009 New Revision: 146592 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146592 Log: 2009-04-22 Richard Guenther <rguent...@suse.de> PR tree-optimization/39824 * tree-ssa-ccp.c (fold_const_aggregate_ref): For INDIRECT_REFs make sure the types are compatible. * gcc.c-torture/compile/pr39824.c: New testcase. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr39824.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-ccp.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39824