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 on Solaris



Solaris doesn't define FLT_EVAL_METHOD or DECIMAL_DIG.  This test
failed with GCC 2.95.x as well, so this is not a regression.

Tested on sparc-sun-solaris2.8, applied on the branch.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

2001-05-14  Mark Mitchell  <mark@codesourcery.com>

	* gcc.dg/c99-float-1.c: XFAIL portions on Solaris.

Index: c99-float-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/c99-float-1.c,v
retrieving revision 1.3
diff -c -p -r1.3 c99-float-1.c
*** c99-float-1.c	2001/01/31 16:07:13	1.3
--- c99-float-1.c	2001/05/14 08:39:10
***************
*** 125,133 ****
  #endif
  
  #ifndef FLT_EVAL_METHOD
! #error "FLT_EVAL_METHOD undefined"
  #endif
  
  #ifndef DECIMAL_DIG
! #error "DECIMAL_DIG undefined"
  #endif
--- 125,133 ----
  #endif
  
  #ifndef FLT_EVAL_METHOD
! #error "FLT_EVAL_METHOD undefined" /* { dg-bogus "undefined" "undefined" { xfail sparc-sun-solaris2.* } } */
  #endif
  
  #ifndef DECIMAL_DIG
! #error "DECIMAL_DIG undefined" /* { dg-bogus "undefined" "undefined" { xfail sparc-sun-solaris2.* } } */
  #endif


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