]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Enable -fno-elide-constructors for coverage test
authorMatthias Maier <tamiko@kyomu.43-1.org>
Fri, 18 Oct 2013 11:12:26 +0000 (11:12 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Fri, 18 Oct 2013 11:12:26 +0000 (11:12 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31298 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_compiler_flags_gnu.cmake

index 16dc992969a65fad0ebb4376aed06766b4f40499..177473121ce227482d10cc305ef76b9ec15f0c7c 100644 (file)
@@ -133,7 +133,6 @@ IF (CMAKE_BUILD_TYPE MATCHES "Release")
   ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-funroll-loops")
   ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-funroll-all-loops")
   ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-fstrict-aliasing")
-  ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-felide-constructors")
 
   ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-Wno-unused")
 ENDIF()
@@ -172,6 +171,7 @@ IF (CMAKE_BUILD_TYPE MATCHES "Debug")
     #
     # Enable test coverage
     #
+    ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-fno-elide-constructors")
     ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_DEBUG "-ftest-coverage -fprofile-arcs")
     ENABLE_IF_SUPPORTED(DEAL_II_LINKER_FLAGS_DEBUG "-ftest-coverage -fprofile-arcs")
   ENDIF()

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.