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:
parent
723a7cedae
commit
905cf57dab
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue