Skip to content

Commit

Permalink
Use "nop" to avoid size warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
isanbard committed Feb 25, 2020
1 parent 400ceda commit 6d0d1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/Analysis/uninit-asm-goto.cpp
Expand Up @@ -3,7 +3,7 @@

int test1(int x) {
int y;
asm goto("# %0 %1 %l2" : "=r"(y) : "r"(x) : : err);
asm goto("nop" : "=r"(y) : "r"(x) : : err);
return y;
err:
return -1;
Expand Down

0 comments on commit 6d0d1a6

Please sign in to comment.