gcc doesn't like an empty colbber list


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31987 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp
index 89ed2ad..fa869db 100644
--- a/lib/Target/CBackend/Writer.cpp
+++ b/lib/Target/CBackend/Writer.cpp
@@ -2379,7 +2379,9 @@
     if (I + 1 != E)
       Out << ",";
   }
-  Out << "\n        :" << (Clobber.size() ? Clobber.substr(1) : "") << ")\n";
+  if (Clobber.size())
+    Out << "\n        :" << Clobber.substr(1);
+  Out << ")";
 }
 
 void CWriter::visitMallocInst(MallocInst &I) {