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
tree-optimization/116406 - ICE with int<->float punning prevention
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
BUG23.c
blob
2424286482ccd3060183c9452a0bd09ac59beaef
1
int
2
main
(
void
)
3
{
4
static char
static_char_array
[
1
];
5
static char
*
static_char_pointer
;
6
static char
static_char
;
7
char
char_array
[
1
];
8
char
*
char_pointer
;
9
char
character
;
10
11
char
*
cp
,
c
;
12
13
c
=
cp
-
static_char_array
;
/* error */
14
c
=
cp
-
static_char_pointer
;
15
c
=
cp
- &
static_char
;
/* error */
16
c
=
cp
-
char_array
;
17
c
=
cp
-
char_pointer
;
18
c
=
cp
- &
character
;
19
}