pr36822.c: Avoid cast to pointer from integer of different size warning with -m31.

* gcc.target/s390/pr36822.c: Avoid cast to pointer from integer
	of different size warning with -m31.

From-SVN: r141462
This commit is contained in:
Jakub Jelinek 2008-10-30 13:51:03 +01:00 committed by Jakub Jelinek
parent 723a7cedae
commit 905cf57dab
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2008-10-30 Jakub Jelinek <jakub@redhat.com>
* gcc.target/s390/pr36822.c: Avoid cast to pointer from integer
of different size warning with -m31.
PR middle-end/37730
* gcc.dg/vect/pr37730.c: New test.

View file

@ -9,7 +9,7 @@ int boo()
{
struct {
unsigned char pad[4096];
unsigned long long bar;
unsigned long bar;
} *foo;
asm volatile( "" : "=m" (*(unsigned long long*)(foo->bar))
: "a" (&foo->bar));