repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git]
/
sdcc
/
support
/
valdiag
/
tests
/
bug-3043.c
blob
0f06fd5d9ac43854532aa82876ea62c87d323e25
1
/* bug-3043.c
2
3
stm8 and pdk code generator hang on shift by negative literal
4
*/
5
6
#ifdef TEST1
7
void
g
(
void
)
8
{
9
}
10
11
void
fr
(
int
x
)
12
{
13
if
(((
x
>> -
1
)))
/* WARNING */
14
g
();
/* IGNORE */
15
}
16
17
void
fl
(
int
x
)
18
{
19
if
(((
x
<< -
1
)))
/* WARNING */
20
g
();
/* IGNORE */
21
}
22
#endif
23