From: Jakub Jelinek Date: Thu, 30 Oct 2008 12:51:03 +0000 (+0100) Subject: pr36822.c: Avoid cast to pointer from integer of different size warning with -m31. X-Git-Tag: releases/gcc-4.4.0~1890 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=905cf57dabb5e802aac481645fb3a4b0eb412514;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bd10cc9d9728..d910aa27eba3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2008-10-30 Jakub Jelinek + * 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. diff --git a/gcc/testsuite/gcc.target/s390/pr36822.c b/gcc/testsuite/gcc.target/s390/pr36822.c index a427d2e1eb18..fb021f21490a 100644 --- a/gcc/testsuite/gcc.target/s390/pr36822.c +++ b/gcc/testsuite/gcc.target/s390/pr36822.c @@ -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));