This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: XFAIL c99-float-1.c for Irix
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: XFAIL c99-float-1.c for Irix
- From: Jeffrey Oldham <oldham at codesourcery dot com>
- Date: Tue, 30 Jan 2001 18:22:05 -0800
- Cc: Jeffrey Oldham <oldham at codesourcery dot com>
- Organization: CodeSourcery LLC
This test case checks that the system header files are C99 compliant.
Irix6.5 system files are not compliant for FLT_EVAL_METHOD and
DECIMAL_DIG, but the operating system, not the compiler, is
responsible for compliance.
2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.dg/c99-float-1.c: XFAIL FLT_EVAL_METHOD and DECIMAL_DIG
cases for Irix.
Tested on mips-sgi-irix6.5.
Approved by Mark Mitchell (mark@codesourcery.com)
Thanks,
Jeffrey D. Oldham
oldham@codesourcery.com
Index: c99-float-1.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/gcc.dg/c99-float-1.c,v
retrieving revision 1.1
diff -c -p -r1.1 c99-float-1.c
*** c99-float-1.c 2001/01/15 18:22:31 1.1
--- c99-float-1.c 2001/01/29 21:58:20
***************
*** 125,133 ****
#endif
#ifndef FLT_EVAL_METHOD
! #error "FLT_EVAL_METHOD undefined"
#endif
#ifndef DECIMAL_DIG
! #error "DECIMAL_DIG undefined"
#endif
--- 125,134 ----
#endif
#ifndef FLT_EVAL_METHOD
! #error "FLT_EVAL_METHOD undefined" /* { dg-bogus "not c99 compliant" "FLT_EVAL_METHOD" { xfail *-*-irix* } } */
#endif
#ifndef DECIMAL_DIG
! #error "DECIMAL_DIG undefined" /* { dg-bogus "not c99 compliant" "DECIMAL_DIG" { xfail *-*-irix* } } */
!
#endif