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
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
gcc-torture-execute-20190228-1.c
blob
d56c2c60c7ef281ad7e357cccaa532e905944e80
1
/*
2
20190228-1.c from the execute part of the gcc torture tests.
3
*/
4
5
#include <testfwk.h>
6
7
/* PR tree-optimization/89536 */
8
/* Testcase by Zhendong Su <su@cs.ucdavis.edu> */
9
10
int
a
=
1
;
11
12
void
13
testTortureExecute
(
void
)
14
{
15
a
= ~(
a
&&
1
);
16
if
(
a
< -
1
)
17
a
= ~
a
;
18
19
if
(!
a
)
20
ASSERT
(
0
);
21
22
return
;
23
}