OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR tree-optimization/52019
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
compare8.c
diff --git
a/gcc/testsuite/gcc.dg/compare8.c
b/gcc/testsuite/gcc.dg/compare8.c
index
6d04085
..
d723c45
100644
(file)
--- a/
gcc/testsuite/gcc.dg/compare8.c
+++ b/
gcc/testsuite/gcc.dg/compare8.c
@@
-13,3
+13,9
@@
g(unsigned short a1, unsigned short a2, unsigned int b)
return ((a1+a2)&5) > b ? 2 : 3; /* { dg-bogus "signed and unsigned" } */
}
+int
+h(unsigned short a1, unsigned short a2, unsigned int b)
+{
+ return ((a1+a2)^5) > b ? 2 : 3; /* { dg-bogus "signed and unsigned" } */
+}
+