Replace | with || in TARGET_HAS_SINCOS.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Aug 2010 13:10:59 +0000 (13:10 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Aug 2010 13:10:59 +0000 (13:10 +0000)
2010-08-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/linux.h (TARGET_HAS_SINCOS): Replace | with ||.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163640 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/linux.h

index e4e5f4c..f0e5b25 100644 (file)
@@ -1,3 +1,7 @@
+2010-08-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/linux.h (TARGET_HAS_SINCOS): Replace | with ||.
+
 2010-08-30  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/45449
index e283a9a..7c0ca95 100644 (file)
@@ -160,6 +160,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
 
 /* Whether we have sincos that follows the GNU extension.  */
-#define TARGET_HAS_SINCOS (OPTION_GLIBC | OPTION_BIONIC)
+#define TARGET_HAS_SINCOS (OPTION_GLIBC || OPTION_BIONIC)
 
 #define TARGET_POSIX_IO