target-def.h (TARGET_SCALAR_MODE_SUPPORTED_P): New.
authorRichard Henderson <rth@redhat.com>
Thu, 26 Aug 2004 00:24:37 +0000 (17:24 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 26 Aug 2004 00:24:37 +0000 (17:24 -0700)
commit6dd53648e913ea6ad55131ed0c8cc2709e9a3316
tree16040afedbe7456a6d5be99edc239c4efcbd88c1
parent9950712b1dd1615314417b98f8a26cfe5c6b2f32
target-def.h (TARGET_SCALAR_MODE_SUPPORTED_P): New.

        * target-def.h (TARGET_SCALAR_MODE_SUPPORTED_P): New.
        * target.h (struct gcc_target): Add scalar_mode_supported_p.
        * targhooks.c (default_scalar_mode_supported_p): New.
        * targhooks.h (default_scalar_mode_supported_p): Declare.
        * doc/tm.texi (TARGET_SCALAR_MODE_SUPPORTED_P): Document.

        * c-common.c (handle_mode_attribute): Query scalar_mode_supported_p
        before attempting to create types.  Tidy.
        * expr.c (vector_mode_valid_p): Use scalar_mode_supported_p.

        * config/alpha/alpha.c (alpha_scalar_mode_supported_p): New.
        (TARGET_SCALAR_MODE_SUPPORTED_P): New.

From-SVN: r86593
gcc/ChangeLog
gcc/c-common.c
gcc/config/alpha/alpha.c
gcc/doc/tm.texi
gcc/expr.c
gcc/target-def.h
gcc/target.h
gcc/targhooks.c
gcc/targhooks.h