diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2007-09-22 12:31:22 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2007-09-22 12:31:22 +0000 |
commit | e1210bd06b7a46f5878e822ee93c06e073aaff33 (patch) | |
tree | f6187d6773da6efc389ce6a06c6c209e3e9f36d7 /gcc/tree-inline.c | |
parent | 57d471cf806635944ac638dc733a1104ff8b8ead (diff) | |
download | gcc-e1210bd06b7a46f5878e822ee93c06e073aaff33.zip gcc-e1210bd06b7a46f5878e822ee93c06e073aaff33.tar.gz gcc-e1210bd06b7a46f5878e822ee93c06e073aaff33.tar.bz2 |
tree-inline.c (remap_type_1): Correctly chain variants.
* tree-inline.c (remap_type_1): Correctly chain variants.
From-SVN: r128668
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index d50b2c7..61a7f4e 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -322,7 +322,7 @@ remap_type_1 (tree type, copy_body_data *id) { t = remap_type (t, id); TYPE_MAIN_VARIANT (new) = t; - TYPE_NEXT_VARIANT (new) = TYPE_MAIN_VARIANT (t); + TYPE_NEXT_VARIANT (new) = TYPE_NEXT_VARIANT (t); TYPE_NEXT_VARIANT (t) = new; } else |