]> gcc.gnu.org Git - gcc.git/commitdiff
* typeck2.c (digest_init): Do handle values of vector type.
authorJason Merrill <jason@redhat.com>
Wed, 13 Feb 2002 17:32:24 +0000 (12:32 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 13 Feb 2002 17:32:24 +0000 (12:32 -0500)
From-SVN: r49736

gcc/cp/ChangeLog
gcc/cp/typeck2.c

index 3ee3f76749a3ad79f9451c3152ffae42ae88cb3b..82f6458ca44c63275971ebb1c8deec47a55a0874 100644 (file)
@@ -1,5 +1,7 @@
 2002-02-13  Jason Merrill  <jason@redhat.com>
 
+       * typeck2.c (digest_init): Do handle values of vector type.
+
        * typeck2.c (digest_init, process_init_constructor): Treat vectors
        like arrays.
 
index 1ade13ce9e93202f71030abd89d9523e2f692709..48caade430cffbc378173e17166e99fb4fcd449b 100644 (file)
@@ -598,7 +598,7 @@ digest_init (type, init, tail)
          return process_init_constructor (type, 0, tail);
        }
 
-      if (CLASS_TYPE_P (type))
+      if (code != ARRAY_TYPE)
        {
          int flags = LOOKUP_NORMAL;
          /* Initialization from { } is copy-initialization.  */
This page took 0.07543 seconds and 5 git commands to generate.