aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-08-30 13:10:59 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2010-08-30 06:10:59 -0700
commita95054c150f3afdf014474dd9cb5e51f563d445a (patch)
tree199b154e72cb2b72ba7223ccacd3064a7441bced
parentf024c89f6582485425c1d7a7abbc1e1fd8034626 (diff)
downloadgcc-a95054c150f3afdf014474dd9cb5e51f563d445a.zip
gcc-a95054c150f3afdf014474dd9cb5e51f563d445a.tar.gz
gcc-a95054c150f3afdf014474dd9cb5e51f563d445a.tar.bz2
Replace | with || in TARGET_HAS_SINCOS.
2010-08-30 H.J. Lu <hongjiu.lu@intel.com> * config/linux.h (TARGET_HAS_SINCOS): Replace | with ||. From-SVN: r163640
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/linux.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e4e5f4c..f0e5b25 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/linux.h b/gcc/config/linux.h
index e283a9a..7c0ca95 100644
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
@@ -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