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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tm/] [20100615-2.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm -O" } */
3
 
4
__attribute__((transaction_safe))
5
void Info_RemoveKey (char *s)
6
{
7
        char    *o = 0;
8
        while (1)
9
        {
10
                s++;
11
                while (*s)
12
                {
13
                        if (!*s)
14
                                return;
15
                        *o++ = *s++;
16
                }
17
                *o = 0;
18
        }
19
}

powered by: WebSVN 2.1.0

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