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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20031203-1.c] - Blame information for rev 154

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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