diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-01-10 20:19:45 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-01-10 20:19:45 +0000 |
commit | 828beb132ddf5664cf9971329e8cdcb93dce43af (patch) | |
tree | f5ef78a87d896199d8b35b42ee0cb4917b9a3d15 /ports/sysdeps/hppa | |
parent | 034ed64b2cd0aeb4cccd40fb8e7e754e41f2d889 (diff) | |
download | glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar.gz glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar.bz2 glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.zip |
Use __extension__ with long long in installed headers.
Diffstat (limited to 'ports/sysdeps/hppa')
-rw-r--r-- | ports/sysdeps/hppa/fpu/fpu_control.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/sysdeps/hppa/fpu/fpu_control.h b/ports/sysdeps/hppa/fpu/fpu_control.h index 7aa16c9ddd..5cac3344d6 100644 --- a/ports/sysdeps/hppa/fpu/fpu_control.h +++ b/ports/sysdeps/hppa/fpu/fpu_control.h @@ -44,7 +44,7 @@ typedef unsigned int fpu_control_t; /* Macros for accessing the hardware control word. */ #define _FPU_GETCW(cw) \ ({ \ - union { unsigned long long __fpreg; unsigned int __halfreg[2]; } __fullfp; \ + union { __extension__ unsigned long long __fpreg; unsigned int __halfreg[2]; } __fullfp; \ /* Get the current status word. */ \ __asm__ ("fstd %%fr0,0(%1)\n\t" \ "fldd 0(%1),%%fr0\n\t" \ @@ -54,7 +54,7 @@ typedef unsigned int fpu_control_t; #define _FPU_SETCW(cw) \ ({ \ - union { unsigned long long __fpreg; unsigned int __halfreg[2]; } __fullfp; \ + union { __extension__ unsigned long long __fpreg; unsigned int __halfreg[2]; } __fullfp; \ __fullfp.__halfreg[0] = cw; \ __asm__ ("fldd 0(%1),%%fr0\n\t" \ : : "m" (__fullfp.__fpreg), "r" (__fullfp.__fpreg) : "%r0" ); \ |