2 /* { dg-options "-O1 -fno-inline" } */
3 extern void abort (void);
7 static int * converterData
[2]={
8 &something
, &something
,
14 } const cnvNameType
[] = {
21 const int * getAlgorithmicTypeFromName(const char *realName
);
23 getAlgorithmicTypeFromName(const char *realName
)
25 unsigned mid
, start
, limit
;
29 limit
= sizeof(cnvNameType
)/sizeof(cnvNameType
[0]);
34 mid
= (start
+ limit
) / 2;
35 if (lastMid
== mid
) { /* Have we moved? */
36 break; /* We haven't moved, and it wasn't found. */
39 result
= __builtin_strcmp(realName
, cnvNameType
[mid
].name
);
43 } else if (result
> 0) {
46 return converterData
[cnvNameType
[mid
].type
];
55 if (!getAlgorithmicTypeFromName ("utf8"))