repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git]
/
test
/
FrontendC++
/
alignstack.cpp
blob
4f993d669bfac8fcaab8f86a137a9551777b187f
1
// RUN: %llvmgxx %s -fasm-blocks -S -o - | FileCheck %s
2
// Complicated expression as jump target
3
// XFAIL: *
4
// XTARGET: x86,i386,i686,darwin
5
6
void
Method3
()
7
{
8
// CHECK: Method3
9
// CHECK-NOT: alignstack
10
asm
(
"foo:"
);
11
// CHECK: return
12
}
13
14
void
Method4
()
15
{
16
// CHECK: Method4
17
// CHECK: alignstack
18
asm
{
19
bar
:
20
}
21
// CHECK: return
22
}
23