]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Replace | with || in TARGET_HAS_SINCOS.
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 30 Aug 2010 13:10:59 +0000 (13:10 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 30 Aug 2010 13:10:59 +0000 (06:10 -0700)
2010-08-30  H.J. Lu  <hongjiu.lu@intel.com>

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

From-SVN: r163640

gcc/ChangeLog
gcc/config/linux.h

index e4e5f4c298120aef5aa8f5cb0bcb65c78be5b875..f0e5b25a6e6cdab265b6886229d659e305273a22 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 e283a9a3305581e2ee7c98e6e62ee4df5e18a800..7c0ca95db42e0f047ec71b11e45dbe4f296223bb 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