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
c++: Fix get_member_function_from_ptrfunc with -fsanitize=bounds [PR116449]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
fold-xor-1.c
blob
a7d05524cf6fde306003f7abf2c80499a712e9c0
1
/* { dg-do compile } */
2
/* { dg-options "-fdump-tree-gimple" } */
3
4
int
f
(
int
a
,
int
b
) {
5
return
~
a
^ ~
b
;
6
}
7
8
unsigned int
g
(
unsigned int
a
,
unsigned int
b
) {
9
return
~
a
^ ~
b
;
10
}
11
/* { dg-final { scan-tree-dump-times "a \\^ b" 2 "gimple" } } */