[llvm-commits] [gcc-plugin] r81625 - /gcc-plugin/trunk/llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Sat Sep 12 12:56:52 PDT 2009
Author: baldrick
Date: Sat Sep 12 14:56:52 2009
New Revision: 81625
URL: http://llvm.org/viewvc/llvm-project?rev=81625&view=rev
Log:
Note the gcc bug that stops us from testing TREE_STATIC here.
Modified:
gcc-plugin/trunk/llvm-convert.cpp
Modified: gcc-plugin/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-convert.cpp?rev=81625&r1=81624&r2=81625&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-convert.cpp (original)
+++ gcc-plugin/trunk/llvm-convert.cpp Sat Sep 12 14:56:52 2009
@@ -632,6 +632,7 @@
for (tree vars = DECL_STRUCT_FUNCTION(FnDecl)->local_decls; vars;
vars = TREE_CHAIN(vars))
// Skip static variables and local variables listed multiple times.
+// if (!TREE_STATIC(TREE_VALUE(vars))) // GCC PR41339
if (!DECL_LLVM_SET_P(TREE_VALUE(vars)))
EmitAutomaticVariableDecl(TREE_VALUE(vars));
More information about the llvm-commits
mailing list