[llvm-commits] [dragonegg] r102904 - /dragonegg/trunk/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Mon May 3 07:11:22 PDT 2010
Author: baldrick
Date: Mon May 3 09:11:22 2010
New Revision: 102904
URL: http://llvm.org/viewvc/llvm-project?rev=102904&view=rev
Log:
Turn off flag_odr for C++ to see if it fixes the self-host build.
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=102904&r1=102903&r2=102904&view=diff
==============================================================================
--- dragonegg/trunk/llvm-backend.cpp (original)
+++ dragonegg/trunk/llvm-backend.cpp Mon May 3 09:11:22 2010
@@ -540,7 +540,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
+//FIXME 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