blob: 52eef78f4a034a32fe56a0cd2a0510ba29c801e4 [file] [log] [blame]
Chris Lattnerb3cd2c12002-02-13 20:35:17 +00001/* This triggered a problem in reload, fixed by disabling most of the
2 * steps of compilation in GCC. Before this change, the code went through
3 * the entire backend of GCC, even though it was unneccesary for LLVM output
4 * now it is skipped entirely, and since reload doesn't run, it can't cause
5 * a problem.
6 */
7
8extern int tolower(int);
9
10const char *rangematch(const char *pattern, int test, int c) {
11
12 if ((c <= test) | (tolower(c) <= tolower((unsigned char)test)))
13 return 0;
14
15 return pattern;
16}