]> gcc.gnu.org Git - gcc.git/commitdiff
tree-inline.c (remap_type_1): Correctly chain variants.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 22 Sep 2007 12:31:22 +0000 (12:31 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 22 Sep 2007 12:31:22 +0000 (12:31 +0000)
* tree-inline.c (remap_type_1): Correctly chain variants.

From-SVN: r128668

gcc/ChangeLog
gcc/tree-inline.c

index 6f3cc5f8e1297c67fbc900141e45a2c717f6968c..a96789122a252e221aa584a9e1bd87ffd1a4e1f8 100644 (file)
@@ -1,3 +1,7 @@
+2007-09-22  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-inline.c (remap_type_1): Correctly chain variants.
+
 2007-09-22  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/33146
index d50b2c754efd37b07facda7e0e1bf5d74a65b659..61a7f4e960a29796419c7446f23a25e828cec11b 100644 (file)
@@ -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
This page took 0.100953 seconds and 5 git commands to generate.