[cfe-commits] r161172 - /cfe/trunk/test/CodeGen/nobuiltin.c

Nuno Lopes nunoplopes at sapo.pt
Thu Aug 2 05:12:26 PDT 2012


Author: nlopes
Date: Thu Aug  2 07:12:26 2012
New Revision: 161172

URL: http://llvm.org/viewvc/llvm-project?rev=161172&view=rev
Log:
add a comment to explain this test case

Modified:
    cfe/trunk/test/CodeGen/nobuiltin.c

Modified: cfe/trunk/test/CodeGen/nobuiltin.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/nobuiltin.c?rev=161172&r1=161171&r2=161172&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/nobuiltin.c (original)
+++ cfe/trunk/test/CodeGen/nobuiltin.c Thu Aug  2 07:12:26 2012
@@ -1,7 +1,8 @@
 // RUN: %clang_cc1 -fno-builtin -O1 -S -o - %s | FileCheck %s
 
-void fn() {
+void PR13497() {
   char content[2];
+  // make sure we don't optimize this call to strcpy()
   // CHECK: __strcpy_chk
   __builtin___strcpy_chk(content, "", 1);
 }





More information about the cfe-commits mailing list