]> granicus.if.org Git - clang/commitdiff
Let's remember we want better codegen for these.
authorMike Stump <mrs@apple.com>
Thu, 6 Aug 2009 14:16:19 +0000 (14:16 +0000)
committerMike Stump <mrs@apple.com>
Thu, 6 Aug 2009 14:16:19 +0000 (14:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78310 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/virt.cpp

index 35548de04360e3d6a637f9ec310093a9baafe66d..d2f5e226d45a45648003ba93f47576f207687131 100644 (file)
@@ -42,6 +42,8 @@ void test2() {
   F f;
   static int sz = (char *)(&f.f) - (char *)(&f);
   j = sz;
+  // FIXME: These should result in a frontend constant a la fold, no run time
+  // initializer
   // CHECK-LP32: movl $4, __ZZ5test2vE2sz
   // CHECK-LP64: movl $8, __ZZ5test2vE2sz(%rip)
 }