------- Comment #6 from rguenth at gcc dot gnu dot org 2008-01-29 15:48 ------- Subject: Bug 35006
Author: rguenth Date: Tue Jan 29 15:47:19 2008 New Revision: 131939 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131939 Log: 2008-01-29 Richard Guenther <[EMAIL PROTECTED]> PR middle-end/35006 * tree-inline.h (struct copy_body_data): Add remapping_type_depth field. * tree-inline.c (remap_type): Increment remapping_type_depth around remapping types. (copy_body_r): Only add referenced variables if they are referenced from code, not types. * gcc.c-torture/compile/pr35006.c: New testcase. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr35006.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-inline.c trunk/gcc/tree-inline.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35006