20030218-1.c: New.
authorNick Clifton <nickc@redhat.com>
Wed, 19 Feb 2003 00:44:34 +0000 (00:44 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Wed, 19 Feb 2003 00:44:34 +0000 (00:44 +0000)
2003-02-18  Nick Clifton  <nickc@redhat.com>
            Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.dg/20030218-1.c: New.

        * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.

        * target-def.h (TARGET_INITIALIZER): Add
        TARGET_VECTOR_TYPES_COMPATIBLE.
        (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.

        * target.h (struct gcc_target): Add field vector_types_compatible.

        * c-typeck.c (comptypes): Take into account
        TARGET_VECTOR_TYPES_COMPATIBLE.
        (convert_for_assignment): Same.

        * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
        (rs6000_spe_vector_types_compatible): New.
        (TARGET_VECTOR_TYPES_COMPATIBLE): Define.

From-SVN: r63079

gcc/ChangeLog

index b03ad95b465b2930e6cabcd7b20e919951a8ba0d..cc6839a6fcfc9863fd384bbd877832abd74a4aca 100644 (file)
@@ -14,8 +14,6 @@
         * c-typeck.c (comptypes): Take into account
         TARGET_VECTOR_TYPES_COMPATIBLE.
         (convert_for_assignment): Same.
-        (really_start_incremental_init): Disallow initialization of
-        ev64_opaque types.
 
         * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
         (rs6000_spe_vector_types_compatible): New.