mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Checking testcase for reload problem
llvm-svn: 1752
This commit is contained in:
parent
18b2ebd247
commit
3c0623935f
16
test/Regression/CFrontend/2002-02-13-ReloadProblem.c
Normal file
16
test/Regression/CFrontend/2002-02-13-ReloadProblem.c
Normal file
@ -0,0 +1,16 @@
|
||||
/* This triggered a problem in reload, fixed by disabling most of the
|
||||
* steps of compilation in GCC. Before this change, the code went through
|
||||
* the entire backend of GCC, even though it was unneccesary for LLVM output
|
||||
* now it is skipped entirely, and since reload doesn't run, it can't cause
|
||||
* a problem.
|
||||
*/
|
||||
|
||||
extern int tolower(int);
|
||||
|
||||
const char *rangematch(const char *pattern, int test, int c) {
|
||||
|
||||
if ((c <= test) | (tolower(c) <= tolower((unsigned char)test)))
|
||||
return 0;
|
||||
|
||||
return pattern;
|
||||
}
|
Loading…
Reference in New Issue
Block a user