Modula-2, testsuite: No 96 bit floating type on Darwin.
Commit Message
Tested on x86_64 and aarch64 Darwin,
OK for master?
thanks
Iain
--- 8< ---
The realbitscast.mod is currently failing on x86_64 and aarch64
Darwin since they do not have a 96b floating type. Disable the
type for all Darwin arches.
gcc/testsuite/ChangeLog:
* gm2/iso/pass/realbitscast.mod: Disable REAL96 on Darwin.
---
gcc/testsuite/gm2/iso/pass/realbitscast.mod | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Comments
Iain Sandoe <iains.gcc@gmail.com> writes:
> Tested on x86_64 and aarch64 Darwin,
> OK for master?
> thanks
> Iain
>
> --- 8< ---
>
> The realbitscast.mod is currently failing on x86_64 and aarch64
> Darwin since they do not have a 96b floating type. Disable the
> type for all Darwin arches.
>
> gcc/testsuite/ChangeLog:
>
> * gm2/iso/pass/realbitscast.mod: Disable REAL96 on Darwin.
> ---
> gcc/testsuite/gm2/iso/pass/realbitscast.mod | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/gcc/testsuite/gm2/iso/pass/realbitscast.mod b/gcc/testsuite/gm2/iso/pass/realbitscast.mod
> index 4da57777cee..c6b70eb032c 100644
> --- a/gcc/testsuite/gm2/iso/pass/realbitscast.mod
> +++ b/gcc/testsuite/gm2/iso/pass/realbitscast.mod
> @@ -28,11 +28,10 @@ FROM SYSTEM IMPORT CAST, WORD ;
> #elif defined(__ppc__)
> # undef HAVE_REAL96
> #elif defined(__ia64)
> -# undef HAVE_REAL69
> -#elif defined(__APPLE__) && defined(__i386__)
> # undef HAVE_REAL96
> #elif defined(__APPLE__)
> -# define HAVE_REAL96
> +(* No 96 bit floating type on Apple platforms *)
> +# undef HAVE_REAL96
> #endif
Hi Iain,
sure yes LGTM,
regards,
Gaius
@@ -28,11 +28,10 @@ FROM SYSTEM IMPORT CAST, WORD ;
#elif defined(__ppc__)
# undef HAVE_REAL96
#elif defined(__ia64)
-# undef HAVE_REAL69
-#elif defined(__APPLE__) && defined(__i386__)
# undef HAVE_REAL96
#elif defined(__APPLE__)
-# define HAVE_REAL96
+(* No 96 bit floating type on Apple platforms *)
+# undef HAVE_REAL96
#endif