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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
mpx
/
pointer-diff-1.c
blob
657991979f69adba0c8f9e315ec5ea12d89735fb
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mmpx -fcheck-pointer-bounds" } */
3
4
char
*
5
foo
(
char
*
p
,
char
*
q
)
6
{
7
return
(
char
*) (
p
-
q
);
/* { dg-bogus "pointer bounds were lost due to unexpected expression" } */
8
}