http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50700
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-12 13:19:38 UTC --- Author: rguenth Date: Wed Oct 12 13:19:34 2011 New Revision: 179850 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179850 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: trunk/gcc/testsuite/gcc.dg/builtin-object-size-12.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-object-size.c