This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: XFAIL c99-float-1.c for Irix


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]