[llvm-commits] [dragonegg] r104723 - /dragonegg/trunk/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Wed May 26 12:46:59 PDT 2010
Author: baldrick
Date: Wed May 26 14:46:59 2010
New Revision: 104723
URL: http://llvm.org/viewvc/llvm-project?rev=104723&view=rev
Log:
Turn off ODR linkage for C++ because it breaks the 32 bit
dragonegg self-host build. It looks like it causes LLVM
to be miscompiled, which then shows up as problems later
when the miscompiled LLVM is used to compile dragonegg.
Modified:
dragonegg/trunk/llvm-backend.cpp
Modified: dragonegg/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-backend.cpp?rev=104723&r1=104722&r2=104723&view=diff
==============================================================================
--- dragonegg/trunk/llvm-backend.cpp (original)
+++ dragonegg/trunk/llvm-backend.cpp Wed May 26 14:46:59 2010
@@ -542,7 +542,7 @@
} else if (LanguageName == "GNU C") {
flag_vararg_requires_arguments = true; // "T foo() {}" -> "T foo(void) {}"
} else if (LanguageName == "GNU C++") {
- flag_odr = true; // C++ obeys the one-definition-rule
+// flag_odr = true; // C++ obeys the one-definition-rule
} else if (LanguageName == "GNU Fortran") {
} else if (LanguageName == "GNU GIMPLE") { // LTO gold plugin
} else if (LanguageName == "GNU Java") {
More information about the llvm-commits
mailing list