[cfe-commits] r147565 - /cfe/trunk/test/CodeGenCXX/const-init.cpp
Eli Friedman
eli.friedman at gmail.com
Wed Jan 4 15:41:09 PST 2012
Author: efriedma
Date: Wed Jan 4 17:41:09 2012
New Revision: 147565
URL: http://llvm.org/viewvc/llvm-project?rev=147565&view=rev
Log:
Fix test on Release builds.
Modified:
cfe/trunk/test/CodeGenCXX/const-init.cpp
Modified: cfe/trunk/test/CodeGenCXX/const-init.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/const-init.cpp?rev=147565&r1=147564&r2=147565&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/const-init.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/const-init.cpp Wed Jan 4 17:41:09 2012
@@ -67,5 +67,5 @@
void UnfoldableAddrLabelDiff() { static __int128_t x = (long)&&a-(long)&&b; a:b:return;}
// But make sure we do fold this.
-// CHECK: @_ZZ21FoldableAddrLabelDiffvE1x = internal global i64 sub (i64 ptrtoint (i8* blockaddress(@_Z21FoldableAddrLabelDiffv, %a)
+// CHECK: @_ZZ21FoldableAddrLabelDiffvE1x = internal global i64 sub (i64 ptrtoint (i8* blockaddress(@_Z21FoldableAddrLabelDiffv
void FoldableAddrLabelDiff() { static long x = (long)&&a-(long)&&b; a:b:return;}
More information about the cfe-commits
mailing list