OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20031203-1.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
void make_file_symbol_completion_list (char *);
2
/* This tests to make sure PRE doesn't choose the wrong name when
3
   inserting phi nodes.  Otherwise, we get uses that aren't dominated
4
   by defs.
5
   PR 13177.  */
6
void location_completer (char *text)
7
{
8
        char *p, *symbol_start = text;
9
        for (p = text; *p != '\0'; ++p) {
10
                if (*p == '\\' && p[1] == '\'')
11
                        p++;
12
                else if (*p == ':')
13
                        symbol_start = p + 1;
14
                else
15
                        symbol_start = p + 1;
16
                make_file_symbol_completion_list(symbol_start);
17
        }
18
}
19
 
20
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.