This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r171093 - in /branches/gcc-4_6-branch/gcc: Chan...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 17 Mar 2011 13:22:28 -0000
- Subject: r171093 - in /branches/gcc-4_6-branch/gcc: Chan...
Author: rguenth
Date: Thu Mar 17 13:22:26 2011
New Revision: 171093
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171093
Log:
2011-03-17 Richard Guenther <rguenther@suse.de>
PR middle-end/48165
* tree-object-size.c (compute_object_offset): Properly return
the offset operand of MEM_REFs as sizetype.
* g++.dg/torture/pr48165.C: New testcase.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/torture/pr48165.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