summaryrefslogtreecommitdiff
path: root/gcc/f/com.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f/com.c')
-rw-r--r--gcc/f/com.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/f/com.c b/gcc/f/com.c
index b14b875a24b..cc3af7ef481 100644
--- a/gcc/f/com.c
+++ b/gcc/f/com.c
@@ -11124,7 +11124,7 @@ ffecom_init_0 ()
name = bsearch ("foo", &names[0], ARRAY_SIZE (names), sizeof (names[0]),
(int (*)(const void *, const void *)) strcmp);
- if (name != &names[0][2])
+ if (name != &names[2][0])
{
assert ("bsearch doesn't work, #define FFEPROJ_BSEARCH 0 in proj.h"
== NULL);