http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50700
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-12 13:22:18 UTC --- Author: rguenth Date: Wed Oct 12 13:22:12 2011 New Revision: 179851 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179851 Log: 2011-10-12 Richard Guenther <rguent...@suse.de> PR tree-optimization/50700 * tree-object-size.c (addr_object_size): Simplify and treat MEM_REF bases consistently. * gcc.dg/builtin-object-size-12.c: New testcase. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/builtin-object-size-12.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-object-size.c