(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
no-signed-zeros-1.c
       1  /* Test __NO_SIGNED_ZEROS__ is defined with -fno-signed-zeros.  */
       2  /* { dg-do compile } */
       3  /* { dg-options "-fno-signed-zeros" } */
       4  
       5  #ifndef __NO_SIGNED_ZEROS__
       6  #error "__NO_SIGNED_ZEROS__ not defined"
       7  #endif
       8  
       9  #pragma GCC optimize "-fsigned-zeros"
      10  #ifdef __NO_SIGNED_ZEROS__
      11  #error "__NO_SIGNED_ZEROS__ defined"
      12  #endif
      13  
      14  #pragma GCC optimize "-fno-signed-zeros"
      15  #ifndef __NO_SIGNED_ZEROS__
      16  #error "__NO_SIGNED_ZEROS__ not defined"
      17  #endif