repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Extend OpenACC 'serial' testing, compiler-side
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
m68k
/
pr36133.c
blob
25237a860502fcc943d02c6314c4fe76eb6e1a43
1
/* pr36133.c
2
3
This test ensures that conditional branches can use the condition codes
4
written by shift instructions, without the need for an extra TST. */
5
6
/* { dg-do compile } */
7
/* { dg-options "-O2" } */
8
/* { dg-final { scan-assembler-not "tst" } } */
9
10
void
11
f
(
unsigned int
a
)
12
{
13
if
(
a
>>
4
)
14
asm
volatile
(
"nop"
);
15
asm
volatile
(
"nop"
);
16
}