]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pr36822.c: Avoid cast to pointer from integer of different size warning with -m31.
authorJakub Jelinek <jakub@redhat.com>
Thu, 30 Oct 2008 12:51:03 +0000 (13:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 30 Oct 2008 12:51:03 +0000 (13:51 +0100)
* gcc.target/s390/pr36822.c: Avoid cast to pointer from integer
of different size warning with -m31.

From-SVN: r141462

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/pr36822.c

index bd10cc9d97282bb4ac76339c61de0caf90d46caf..d910aa27eba38e50f8aebfba4b89360ff8389bc5 100644 (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.
 
index a427d2e1eb18734cd2654c66a0ab69e4147a25c9..fb021f21490ae86ee0f07bd73bb379dde3503714 100644 (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));