]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
one more tweak
authorJason Merrill <jason@gcc.gnu.org>
Wed, 23 Jan 2008 21:26:47 +0000 (16:26 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 23 Jan 2008 21:26:47 +0000 (16:26 -0500)
From-SVN: r131766

gcc/cp/pt.c

index 3c301f2adaa334f97c0abd1862d1a440c6bd6786..98adaec89a46a010b1e8f32c817e16734a64a1db 100644 (file)
@@ -6331,7 +6331,7 @@ tsubst_aggr_type (tree t,
              /* If context is a nested class inside a class template,
                 it may still need to be instantiated (c++/33959).  */
              if (TYPE_P (context))
-               complete_type (context);
+               context = complete_type (context);
            }
 
          /* Then, figure out what arguments are appropriate for the