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
svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
char-compare.c
blob
f8b2fb968b0a0a508da2bb3d6ac6168cc1cd520a
1
/* PR rtl-optimization/23241 */
2
/* Origin: Josh Conner <jconner@apple.com> */
3
4
/* { dg-do run } */
5
/* { dg-options "-O2" } */
6
7
extern
void
abort
(
void
);
8
9
struct
fbs
{
10
unsigned char
uc
;
11
}
fbs1
= {
255
};
12
13
void
fn
(
struct
fbs
*
fbs_ptr
)
14
{
15
if
((
fbs_ptr
->
uc
!=
255
) && (
fbs_ptr
->
uc
!=
0
))
16
abort
();
17
}
18
19
int
main
(
void
)
20
{
21
fn
(&
fbs1
);
22
return
0
;
23
}