]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-common.c
* target-def.h (TARGET_SCALAR_MODE_SUPPORTED_P): New.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Aug 2004 00:24:37 +0000 (00:24 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Aug 2004 00:24:37 +0000 (00:24 +0000)
commitb2aef146490d4d5268f3611232ab495169864c13
tree16040afedbe7456a6d5be99edc239c4efcbd88c1
parent87e804868c98a5e30c86483d3b766928f2742c44
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86593 138bc75d-0d04-0410-961f-82ee72b054a4
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