aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-01-29 15:47:19 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-01-29 15:47:19 +0000
commit4f5c64b8ace84098b6222b495294765fb3fc38c2 (patch)
tree7b6cda1d150280c50f4c6d2bbb388db41dc4fa4d /gcc/c-decl.c
parent7b3e2d465d6f267d34a18b46c1ab6650c67785d9 (diff)
downloadgcc-4f5c64b8ace84098b6222b495294765fb3fc38c2.zip
gcc-4f5c64b8ace84098b6222b495294765fb3fc38c2.tar.gz
gcc-4f5c64b8ace84098b6222b495294765fb3fc38c2.tar.bz2
re PR tree-optimization/35006 (Segfault in remove_unused_locals with nested functions)
2008-01-29 Richard Guenther <rguenther@suse.de> 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. From-SVN: r131939
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions