[llvm-commits] [gcc-plugin] r75348 - /gcc-plugin/trunk/llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Fri Jul 10 21:10:20 PDT 2009
Author: baldrick
Date: Fri Jul 10 23:10:19 2009
New Revision: 75348
URL: http://llvm.org/viewvc/llvm-project?rev=75348&view=rev
Log:
Delay a decision on DECL_GIMPLE_FORMAL_TEMP_P.
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=75348&r1=75347&r2=75348&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-convert.cpp (original)
+++ gcc-plugin/trunk/llvm-convert.cpp Fri Jul 10 23:10:19 2009
@@ -2163,7 +2163,8 @@
// its definition, which is what has happened here. This happens rarely
// in practice, so there's no point in trying to do anything clever: just
// demote to an ordinary variable and create an alloca to hold its value.
- DECL_GIMPLE_FORMAL_TEMP_P(exp) = 0;
+abort(); //FIXME
+//FIXME DECL_GIMPLE_FORMAL_TEMP_P(exp) = 0;
EmitAutomaticVariableDecl(exp);
// Fall through.
} else if (TREE_CODE(exp) == VAR_DECL && DECL_REGISTER(exp) &&
@@ -2823,7 +2824,8 @@
U.getUse().set(new LoadInst(NewTmp, "mtmp", cast<Instruction>(*U)));
// Finally, This is no longer a GCC temporary.
- DECL_GIMPLE_FORMAL_TEMP_P(Var) = 0;
+abort(); //FIXME
+//FIXME DECL_GIMPLE_FORMAL_TEMP_P(Var) = 0;
}
/// EmitMODIFY_EXPR - Note that MODIFY_EXPRs are rvalues only!
More information about the llvm-commits
mailing list