]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix testcase to use optimization.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 8 Sep 2009 14:19:05 +0000 (14:19 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 8 Sep 2009 14:19:05 +0000 (14:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@19416 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index bd9aae2f17f8541c4f4d77400c2cb63491b3c675..6b33f7a29f59982a4cf064db52fbf6f8cec21254 100644 (file)
@@ -4489,7 +4489,7 @@ AC_DEFUN(DEAL_II_CHECK_BOOST_BIND_COMPILER_BUG, dnl
   if test "x$GXX" = "xyes" ; then
     AC_MSG_CHECKING(for boost::bind compiler internal error)
     AC_LANG(C++)
-    CXXFLAGS="$CXXFLAGSG -I./contrib/boost/include"
+    CXXFLAGS="$CXXFLAGSO -I./contrib/boost/include"
     AC_TRY_COMPILE(
       [
 #include <complex>
@@ -4503,10 +4503,6 @@ void bug_function (number test)
 }
       ],
       [
-  std::complex<double> double_val (1., 2.);
-  boost::bind(&bug_function<std::complex<double> >,
-             double_val)();
-
   std::complex<float> float_val (1., 2.);
   boost::bind(&bug_function<std::complex<float> >,
              float_val)();
index 3a241c776e39d2f1eb103d84391dba3d35c3a17f..e1e25e883b8e8b5f93130685baaeb2d8e582a731 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 19226 .
+# From configure.in Revision: 19414 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for deal.II 6.3.pre.
 #
@@ -8172,7 +8172,7 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    CXXFLAGS="$CXXFLAGSG -I./contrib/boost/include"
+    CXXFLAGS="$CXXFLAGSO -I./contrib/boost/include"
     cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -8194,10 +8194,6 @@ int
 main ()
 {
 
-  std::complex<double> double_val (1., 2.);
-  boost::bind(&bug_function<std::complex<double> >,
-             double_val)();
-
   std::complex<float> float_val (1., 2.);
   boost::bind(&bug_function<std::complex<float> >,
              float_val)();

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.