blob: 865a29f686311e9e9b8267e069d8552b0a69123d [file] [log] [blame]
/* Test __NO_SIGNED_ZEROS__ is not defined with -fsigned-zeros. */
/* { dg-do compile } */
/* { dg-options "-fsigned-zeros" } */
#ifdef __NO_SIGNED_ZEROS__
#error "__NO_SIGNED_ZEROS__ defined"
#endif
#pragma GCC optimize "-fno-signed-zeros"
#ifndef __NO_SIGNED_ZEROS__
#error "__NO_SIGNED_ZEROS__ not defined"
#endif
#pragma GCC optimize "-fsigned-zeros"
#ifdef __NO_SIGNED_ZEROS__
#error "__NO_SIGNED_ZEROS__ defined"
#endif