This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SSE types and structures
- From: Bernd Schmidt <bernds at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Richard Henderson <rth at redhat dot com>, <gcc at gcc dot gnu dot org>,<gcc-bugs at gcc dot gnu dot org>, <jakub at redhat dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 18 Jun 2002 15:51:49 +0100 (BST)
- Subject: Re: SSE types and structures
On Tue, 18 Jun 2002, Jan Hubicka wrote:
> I was checking and it does not work for me:
> typedef int __v8qi __attribute__ ((__mode__ (__V8QI__)));
> __v8qi t;
> long long q;
> e()
> {
> t=q;
> }
> hubicka@atrey:~/egcs2/egcs/build/gcc$ ./xgcc -B ./ -O2 t.c -msse
> t.c: In function `e':
> t.c:6: error: incompatible types in assignment
Well, it does work if you make the cast explicit. It just won't do the
conversion automatically.
Bernd