diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-09 08:03:55 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-09 08:03:55 +0000 |
commit | 02b8280916dd8a31edfe281dfffe42d183c776bc (patch) | |
tree | 2f73e8bb9925c1576d82f445408def8aa32d4f6c /gcc/c-common.c | |
parent | 1ec4ef31e646fb3af1066d4b50be4d072ebb5d2f (diff) | |
download | gcc-02b8280916dd8a31edfe281dfffe42d183c776bc.tar.gz |
2009-01-09 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r143197
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@143199 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index d65b7927980..8c39779997b 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -6581,7 +6581,8 @@ handle_vector_size_attribute (tree *node, tree name, tree args, || (!SCALAR_FLOAT_MODE_P (orig_mode) && GET_MODE_CLASS (orig_mode) != MODE_INT && !ALL_SCALAR_FIXED_POINT_MODE_P (orig_mode)) - || !host_integerp (TYPE_SIZE_UNIT (type), 1)) + || !host_integerp (TYPE_SIZE_UNIT (type), 1) + || TREE_CODE (type) == BOOLEAN_TYPE) { error ("invalid vector type for attribute %qE", name); return NULL_TREE; |