[llvm-commits] [dragonegg] r106991 - /dragonegg/trunk/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Mon Jun 28 01:01:15 PDT 2010
Author: baldrick
Date: Mon Jun 28 03:01:15 2010
New Revision: 106991
URL: http://llvm.org/viewvc/llvm-project?rev=106991&view=rev
Log:
Check if turning on the ODR is still breaking 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=106991&r1=106990&r2=106991&view=diff
==============================================================================
--- dragonegg/trunk/llvm-backend.cpp (original)
+++ dragonegg/trunk/llvm-backend.cpp Mon Jun 28 03:01:15 2010
@@ -537,7 +537,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