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
2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr61599-2.c
blob
be031c05b1fa41c2f1caf9d96adffc62bc032b13
1
/* PR target/61599 */
2
/* { dg-do compile { target lp64 } } */
3
/* { dg-options "-mcmodel=medium -fdata-sections" } */
4
5
/* With -mcmodel=medium, all the arrays will be treated as large data. */
6
7
extern
char
a
[];
8
extern
char
b
[];
9
extern
char
c
[];
10
11
int
bar
()
12
{
13
return
a
[
2
] +
b
[
16
] +
c
[
256
];
14
}