#At file:///MySQL/REPO/V50/push-5.0/ based on revid:joerg@stripped
2780 Joerg Bruehe 2009-07-30 [merge]
Merge the fix for bug#42213 into 5.0-build.
modified:
config/ac-macros/misc.m4
=== modified file 'config/ac-macros/misc.m4'
--- a/config/ac-macros/misc.m4 2009-03-11 15:46:21 +0000
+++ b/config/ac-macros/misc.m4 2009-07-30 14:12:26 +0000
@@ -583,6 +583,10 @@ fi
AC_DEFUN([MYSQL_STACK_DIRECTION],
[AC_CACHE_CHECK(stack direction for C alloca, ac_cv_c_stack_direction,
[AC_TRY_RUN([#include <stdlib.h>
+ /* Prevent compiler optimization by HP's compiler, see bug#42213 */
+#if defined(__HP_cc) || defined (__HP_aCC) || defined (__hpux)
+#pragma noinline
+#endif
int find_stack_direction ()
{
static char *addr = 0;
Attachment: [text/bzr-bundle] bzr/joerg@mysql.com-20090730150354-h0c0cob2212sjs30.bundle
| Thread |
|---|
| • bzr commit into mysql-5.0 branch (joerg:2780) Bug#42213 | Joerg Bruehe | 30 Jul |