2 /* { dg-options "-O1 -fno-inline" } */
3 /* { dg-require-effective-target int32plus } */
5 extern void abort (void);
9 static int * converterData
[2]={
10 &something
, &something
,
16 } const cnvNameType
[] = {
23 const int * getAlgorithmicTypeFromName(const char *realName
);
25 getAlgorithmicTypeFromName(const char *realName
)
27 unsigned mid
, start
, limit
;
31 limit
= sizeof(cnvNameType
)/sizeof(cnvNameType
[0]);
36 mid
= (start
+ limit
) / 2;
37 if (lastMid
== mid
) { /* Have we moved? */
38 break; /* We haven't moved, and it wasn't found. */
41 result
= __builtin_strcmp(realName
, cnvNameType
[mid
].name
);
45 } else if (result
> 0) {
48 return converterData
[cnvNameType
[mid
].type
];
57 if (!getAlgorithmicTypeFromName ("utf8"))