aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2007-09-22 12:31:22 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2007-09-22 12:31:22 +0000
commite1210bd06b7a46f5878e822ee93c06e073aaff33 (patch)
treef6187d6773da6efc389ce6a06c6c209e3e9f36d7 /gcc/tree-inline.c
parent57d471cf806635944ac638dc733a1104ff8b8ead (diff)
downloadgcc-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.c2
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