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 rtl-optimization/52139
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr36901.h
diff --git
a/gcc/testsuite/gcc.dg/pr36901.h
b/gcc/testsuite/gcc.dg/pr36901.h
index
aff2cb3
..
6022732
100644
(file)
--- a/
gcc/testsuite/gcc.dg/pr36901.h
+++ b/
gcc/testsuite/gcc.dg/pr36901.h
@@
-1,2
+1,6
@@
-#include <limits.h>
-static int sc = INT_MAX + 1;
+#if defined(AVR) /* flag_delete_null_pointer_checks = 0 */
+int sc = (&sc >= 0);
+#else
+int sc = (&sc > 0);
+#endif
+