Index: test/Analysis/nullptr.cpp
===================================================================
--- test/Analysis/nullptr.cpp	(revision 157176)
+++ test/Analysis/nullptr.cpp	(working copy)
@@ -55,7 +55,7 @@
   int **a = 0;
   int **b = 0;
   asm ("nop"
-      :"=a"(*a)
+      :"=r"(*a)
       :"0"(*b) // expected-warning{{Dereference of null pointer}}
       );
 }
Index: test/SemaTemplate/instantiate-expr-1.cpp
===================================================================
--- test/SemaTemplate/instantiate-expr-1.cpp	(revision 157176)
+++ test/SemaTemplate/instantiate-expr-1.cpp	(working copy)
@@ -127,7 +127,7 @@
 
 template<typename T>
 void test_asm(T t) {
-  asm ("nop" : "=a"(*t) : "r"(*t)); // expected-error {{indirection requires pointer operand ('int' invalid)}}
+  asm ("nop" : "=r"(*t) : "r"(*t)); // expected-error {{indirection requires pointer operand ('int' invalid)}}
 }
 
 void test_asm() {
