aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2005-06-15 10:33:51 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2005-06-15 10:33:51 +0000
commit5bed876a0279849a661718d5a63c741652a4ecae (patch)
treecddc58e82c86c8f543c8c9fe3f96bcc986824672 /gcc/c-common.h
parentd7f88d86489c2d9868994347173c0b9d5f7ef285 (diff)
downloadgcc-5bed876a0279849a661718d5a63c741652a4ecae.zip
gcc-5bed876a0279849a661718d5a63c741652a4ecae.tar.gz
gcc-5bed876a0279849a661718d5a63c741652a4ecae.tar.bz2
c-common.h (same_scalar_type_ignoring_signedness): Protoize.
* c-common.h (same_scalar_type_ignoring_signedness): Protoize. * c-common.c (same_scalar_type_ignoring_signedness): New. * c-typeck.c (build_binary_op): Check compatability of vector types. Move error report after switch. Do not clobber code[01] on *_DIV_EXPR case. * testsuite/gcc.dg/simd-1.c: Update error messages. * testsuite/gcc.dg/simd-1b.c: Re-enable tests. Update error messages. * testsuite/gcc.dg/simd-2.c: Update error messages. * testsuite/gcc.dg/simd-4.c: New. From-SVN: r100976
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 04b4346..2c59460 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -657,6 +657,7 @@ extern tree convert_and_check (tree, tree);
extern void overflow_warning (tree);
extern void unsigned_conversion_warning (tree, tree);
extern bool c_determine_visibility (tree);
+extern bool same_scalar_type_ignoring_signedness (tree, tree);
#define c_sizeof(T) c_sizeof_or_alignof_type (T, true, 1)
#define c_alignof(T) c_sizeof_or_alignof_type (T, false, 1)