This differential revision doesn't include a testcase.

================
Comment at: lib/Sema/SemaStmtAsm.cpp:257
@@ -256,2 +256,3 @@
     } else if (Info.requiresImmediateConstant() && !Info.allowsRegister()) {
       llvm::APSInt Result;
+      if (!InputExpr->isValueDependent()) {
----------------
Please move this variable declaration to the point at which `EvaluateAsInt` is 
called.

http://reviews.llvm.org/D10452

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to