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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
optimize2.C
blob
ade45317ac90997c3510ea6434035dfbff60c6eb
1
// Used to crash on the alpha with optimization.
2
// Special g++ Options: -w
3
4
extern "C" void abort (void);
5
6
struct Fix {
7
unsigned short l;
8
};
9
10
static inline void f (int len)
11
{
12
if (len > 65535)
13
abort ();
14
}
15
16
struct Fix a = { 33 };
17
18
main()
19
{
20
f (a.l);
21
}