Skip to content

Commit 6d0d1a6

Browse files
committed
Use "nop" to avoid size warnings.
1 parent 400ceda commit 6d0d1a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Analysis/uninit-asm-goto.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
int test1(int x) {
55
int y;
6-
asm goto("# %0 %1 %l2" : "=r"(y) : "r"(x) : : err);
6+
asm goto("nop" : "=r"(y) : "r"(x) : : err);
77
return y;
88
err:
99
return -1;

0 commit comments

Comments
 (0)